File tree 1 file changed +7
-2
lines changed
src/ci/docker/host-x86_64/dist-various-2
1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -5,13 +5,18 @@ set -ex
5
5
# Originally from https://github.com/llvm/llvm-project/releases/download/llvmorg-14.0.0/clang+llvm-14.0.0-x86_64-linux-gnu-ubuntu-18.04.tar.xz
6
6
curl https://ci-mirrors.rust-lang.org/rustc/2022-05-10-clang%2Bllvm-14.0.0-x86_64-linux-gnu-ubuntu-18.04.tar.xz | \
7
7
tar xJf -
8
- export PATH= ` pwd ` /clang+llvm-14.0.0-x86_64-linux-gnu-ubuntu-18.04/bin: $PATH
8
+ bin= " $PWD /clang+llvm-14.0.0-x86_64-linux-gnu-ubuntu-18.04/bin"
9
9
10
10
git clone https://github.com/WebAssembly/wasi-libc
11
11
12
12
cd wasi-libc
13
13
git reset --hard 9886d3d6200fcc3726329966860fc058707406cd
14
- make -j$( nproc) INSTALL_DIR=/wasm32-wasi install
14
+ make -j$( nproc) \
15
+ CC=" $bin /clang" \
16
+ NM=" $bin /llvm-nm" \
17
+ AR=" $bin /llvm-ar" \
18
+ INSTALL_DIR=/wasm32-wasi \
19
+ install
15
20
16
21
cd ..
17
22
rm -rf wasi-libc
You can’t perform that action at this time.
0 commit comments