File tree Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -23,22 +23,19 @@ RUN chmod +x /usr/local/bin/rust-wasm.sh \
23
23
&& cd llvm \
24
24
&& mkdir working \
25
25
&& cd working \
26
- && cmake -DCMAKE_BUILD_TYPE=Release -DLLVM_EXPERIMENTAL_TARGETS_TO_BUILD=WebAssembly .. \
26
+ && cmake -DCMAKE_INSTALL_PREFIX=/rust-wasm-bin/llvm - DCMAKE_BUILD_TYPE=Release -DLLVM_EXPERIMENTAL_TARGETS_TO_BUILD=WebAssembly .. \
27
27
&& make -j8 \
28
- && cd .. \
29
- && cp -r working /rust-wasm-bin/llvm \
28
+ && make install \
30
29
# binaryen
31
30
&& cd /rust-wasm \
32
31
&& git clone --single-branch --depth=1 https://github.com/WebAssembly/binaryen.git \
33
32
&& cd binaryen \
34
33
&& mkdir working \
35
34
&& cd working \
36
- && cmake .. \
35
+ && cmake -DCMAKE_INSTALL_PREFIX=/rust-wasm-bin/binaryen .. \
37
36
&& make -j8 \
38
- && cd .. \
39
- && cp -r working /rust-wasm-bin/binaryen \
37
+ && make install \
40
38
# rustup
41
- && cd /rust-wasm \
42
39
&& curl https://sh.rustup.rs -sSf | sh -s -- -y \
43
40
# clean
44
41
&& apt-get autoclean \
You can’t perform that action at this time.
0 commit comments