Skip to content

Commit 343a921

Browse files
committed
Fix comments
1 parent f3b1582 commit 343a921

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

src/bootstrap/compile.rs

+7
Original file line numberDiff line numberDiff 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.

src/ci/docker/dist-various-2/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ COPY dist-various-2/x86_64-fortanix-unknown-sgx-clang-wrap.sh /usr/bin/x86_64-fo
7373
RUN 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

7878
COPY dist-various-2/build-wasi-toolchain.sh /tmp/
7979
RUN /tmp/build-wasi-toolchain.sh

src/ci/docker/dist-various-2/build-x86_64-fortanix-unknown-sgx-toolchain.sh

-7
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,7 @@
33
set -eu
44
source shared.sh
55

6-
if [ -z "$1" ]; then
7-
echo "Usage: ${0} <commit_id>"
8-
exit -1
9-
fi
10-
116
target="x86_64-fortanix-unknown-sgx"
12-
url="https://github.com/fortanix/llvm-project/archive/${1}.tar.gz"
13-
repo_name="llvm-project"
147

158
install_prereq() {
169
curl https://apt.llvm.org/llvm-snapshot.gpg.key|apt-key add -

0 commit comments

Comments
 (0)