File tree Expand file tree Collapse file tree 3 files changed +8
-8
lines changed Expand file tree Collapse file tree 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(
133133) -> Vec < ( PathBuf , DependencyType ) > {
134134 let mut target_deps = vec ! [ ] ;
135135
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+
136143 if builder. config . sanitizers && compiler. stage != 0 {
137144 // The sanitizers are only copied in stage1 or above,
138145 // 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
7373RUN ln -s /usr/bin/x86_64-fortanix-unknown-sgx-clang-11 /usr/bin/x86_64-fortanix-unknown-sgx-clang++-11
7474# We pass the commit id of the port of LLVM's libunwind to the build script.
7575# 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
7777
7878COPY dist-various-2/build-wasi-toolchain.sh /tmp/
7979RUN /tmp/build-wasi-toolchain.sh
Original file line number Diff line number Diff line change 33set -eu
44source shared.sh
55
6- if [ -z " $1 " ]; then
7- echo " Usage: ${0} <commit_id>"
8- exit -1
9- fi
10-
116target=" x86_64-fortanix-unknown-sgx"
12- url=" https://github.com/fortanix/llvm-project/archive/${1} .tar.gz"
13- repo_name=" llvm-project"
147
158install_prereq () {
169 curl https://apt.llvm.org/llvm-snapshot.gpg.key| apt-key add -
You can’t perform that action at this time.
0 commit comments