Zheng, Qi
953e67b564
[tools] Do init-ra build according to TEE type
2023-06-19 17:57:50 +08:00
Zheng, Qi
86539bf98e
[toolchain] Do cargo fmt for the dcap lib
2023-06-08 09:55:00 +08:00
Zheng, Qi
198515ab90
[dcap] Do not panic in dcap library
2023-05-31 16:11:27 +08:00
Zheng, Qi
4cbf728910
[toolchain] Add get key to buffer API for grpc_ratls
2023-04-26 09:53:15 +08:00
Zheng, Qi
13b8b0dca5
[toolchain] Add AECS client libaries build and install in toolchain
2023-04-26 09:53:15 +08:00
Zheng, Qi
bfa204c295
[ra_tls] improve error handle
2023-04-26 09:53:15 +08:00
Zheng, Qi
fa5dfc690d
[toolchains] Add grpc ra_tls into toolchains
2023-04-26 09:53:15 +08:00
Zheng, Qi
7809658233
[toolchains] Do strip to reduce dcap library size
2023-04-26 09:53:15 +08:00
Zheng, Qi
046ee73756
[toolchain] Speed up glibc build
2023-03-17 16:44:59 +08:00
Zheng, Qi
e30a8a63e2
[glibc] No need build libcrypt from glibc
2023-03-08 09:51:23 +08:00
Zheng, Qi
a5cdcc8045
[toolchain] Make occlum-go support gcc/glibc option
...
In default, occlum-go uses musl-gcc. Users can configure
occlum-go to use gcc like below.
" CC=gcc occlum-go build "
2022-12-07 22:14:03 +08:00
Zheng, Qi
37d1f58281
[toolchain] Use Occlum go repo
2022-11-01 15:21:52 +08:00
Zheng, Qi
d5c84facf4
[toolchain] Update java 11 (musl) toolchain
2022-10-31 15:09:26 +08:00
volcano0dr
69b35e6429
[deps/rust-sgx-sdk] Upgrade rust-sgx-sdk to 1.1.5
2022-09-14 20:05:04 +08:00
Lan Yun
fbff05bddb
Update the Golang version to 1.18.4 and use it as the default one.
...
Signed-off-by: Lan Yun <yun.lan@intel.com>
2022-08-08 12:18:33 +08:00
zongmin.gu
122cf2a7bc
Update glibc to 2.31
2022-02-22 16:05:36 +08:00
Zheng, Qi
477ae99880
Set SONAME for Occlum DCAP library
2022-02-11 11:10:02 +08:00
Zheng, Qi
637dc73b1b
Add dcap library into Occlum prebuilt toolchains
2022-02-09 10:27:44 +08:00
Zheng, Qi
e24a9944e3
Make sure bash is built as PIE
...
Signed-off-by: Zheng, Qi <huaiqing.zq@antgroup.com>
2021-11-03 08:12:42 +08:00
Zheng, Qi
a825499d47
Update busybox to support new glibc (>2.31)
...
Signed-off-by: Zheng, Qi <huaiqing.zq@antgroup.com>
2021-10-22 17:16:52 +08:00
Zheng, Qi
2d351c9d31
Add occlum busybox prebuild script into toolchain
...
Signed-off-by: Zheng, Qi <huaiqing.zq@antgroup.com>
2021-10-17 16:48:48 +08:00
Zheng, Qi
6a8815706d
Add bash build script for both occlum-gcc and gcc
...
Signed-off-by: Zheng, Qi <huaiqing.zq@antgroup.com>
2021-09-23 19:33:36 +08:00
jianfengjiang
9a85361e35
Modify demos to enable autodep without creating softlinks
2021-09-23 15:42:15 +08:00
jiangjianfeng
da4669b8c4
Modify java demo with copy_bom
2021-09-17 15:50:15 +08:00
jiangjianfeng
f8abcd9a1f
Modify hello_cc demo with copy_bom
2021-09-17 15:50:15 +08:00
Zheng, Qi
69d3d3fca2
Fix the error when building glibc with gcc 9
...
Signed-off-by: Zheng, Qi <huaiqing.zq@antgroup.com>
2021-09-16 16:32:51 +08:00
Hui, Chunyang
04c3f485dc
Add aliyunlinux 3 docker image support
2021-07-09 16:00:16 +08:00
zongmin.gu
b2c0f5e647
Update golang version to 1.16.3
2021-04-16 09:34:26 +08:00
LI Qing
22b02850a3
Add Glibc as an optional libc and fix test cases
2020-12-16 19:21:22 +08:00
LI Qing
a151198d11
Fix the golang demo's failure to run
2020-08-26 10:45:04 +08:00
Hui, Chunyang
89c292e2df
Fix some dependency errors when running on CentOS 8
2020-08-19 10:40:04 +00:00
Hui, Chunyang
9435b1a196
Add RPM installer for Occlum and C/C++ toolchains
2020-08-15 19:12:40 +08:00
LI Qing
cd5cc0cb5c
Update Java toolchains
...
1. Replace the OpenJDK with an unmodified OpenJDK from Alpine Linux
2. Add Alibaba Dragonwell as the default JDK for the Java demos
2020-08-15 19:12:39 +08:00
Tate, Hongliang Tian
5e8f997d4d
Make PIE the default mode for Go toolchain
...
Occlum-compatible executable binaries must be Position-Independent
Executable (PIE). Previously, to build such binaries, the users need to
explicitly give `-buildmode=pie` flag to `occlum-go`. Apparently, this
is error-prone. This commit sets `-buildmode=pie` by default for `occlum-go`.
In addition, this commit upgrades the Go version to 1.13.7.
2020-08-11 05:35:43 +00:00
LI Qing
1f30d75713
Add Java demo
2020-07-17 17:35:24 +00:00
LI Qing
81eb364c5b
Install zlib in occlum-gcc toolchians
2020-07-17 17:31:41 +00:00
LI Qing
9b611e5f00
Update musl to v1.1.24
2020-06-02 05:39:29 +00:00
Hui, Chunyang
c1911e6585
Add demo for shell (FISH) script
2020-05-28 19:55:09 +08:00
He Sun
b29aa1d6d0
Add the Occlum-compatible Rust toolchains and a demo
2020-05-22 14:36:11 +08:00
LI Qing
6d72e10fc1
Add Golang toolchain and the demo
...
This commit provides a modified Go runtime in Docker image.
Now we can build a Go program using `occlum-go`, then run it
in SGX enclaves by Occlum.
The Golang demo demonstrates how to build and run a web server
program written in Go.
2020-05-15 03:02:42 +00:00
He Sun
ebc158fe6c
Add Dockerfile for CentOS 7.2
2020-01-23 04:40:54 +00:00
LI Qing
1304f5388d
Improve Occlum GCC toolchain with new wrappers for binaries
...
This commit makes the toolchain easier to use in two folds:
1. When compiling C/C++ source files, no need to add "-fPIC -pie" flags manually;
2. When running executables generated by the Occlum toolchain on Linux, no
need to set the `LD_LIBRARY_PATH` manually.
2019-11-29 11:20:00 +00:00
Tate, Hongliang Tian
00949d9741
Introduce GCC-base toolchain and use it by default
2019-09-06 13:02:45 +00:00