File tree 3 files changed +8
-8
lines changed
3 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -133,6 +133,13 @@ fn copy_third_party_objects(
133
133
) -> Vec < ( PathBuf , DependencyType ) > {
134
134
let mut target_deps = vec ! [ ] ;
135
135
136
+ // FIXME: remove this in 2021
137
+ if target == "x86_64-fortanix-unknown-sgx" {
138
+ if env:: var_os ( "X86_FORTANIX_SGX_LIBS" ) . is_some ( ) {
139
+ builder. info ( "Warning: X86_FORTANIX_SGX_LIBS environment variable is ignored, libunwind is now compiled as part of rustbuild" ) ;
140
+ }
141
+ }
142
+
136
143
if builder. config . sanitizers && compiler. stage != 0 {
137
144
// The sanitizers are only copied in stage1 or above,
138
145
// to avoid creating dependency on LLVM.
Original file line number Diff line number Diff line change @@ -73,7 +73,7 @@ COPY dist-various-2/x86_64-fortanix-unknown-sgx-clang-wrap.sh /usr/bin/x86_64-fo
73
73
RUN ln -s /usr/bin/x86_64-fortanix-unknown-sgx-clang-11 /usr/bin/x86_64-fortanix-unknown-sgx-clang++-11
74
74
# We pass the commit id of the port of LLVM's libunwind to the build script.
75
75
# Any update to the commit id here, should cause the container image to be re-built from this point on.
76
- RUN /tmp/build-x86_64-fortanix-unknown-sgx-toolchain.sh "800f95131fe6acd20b96b6f4723ca3c820f3d379"
76
+ RUN /tmp/build-x86_64-fortanix-unknown-sgx-toolchain.sh
77
77
78
78
COPY dist-various-2/build-wasi-toolchain.sh /tmp/
79
79
RUN /tmp/build-wasi-toolchain.sh
Original file line number Diff line number Diff line change 3
3
set -eu
4
4
source shared.sh
5
5
6
- if [ -z " $1 " ]; then
7
- echo " Usage: ${0} <commit_id>"
8
- exit -1
9
- fi
10
-
11
6
target=" x86_64-fortanix-unknown-sgx"
12
- url=" https://github.com/fortanix/llvm-project/archive/${1} .tar.gz"
13
- repo_name=" llvm-project"
14
7
15
8
install_prereq () {
16
9
curl https://apt.llvm.org/llvm-snapshot.gpg.key| apt-key add -
You can’t perform that action at this time.
0 commit comments