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