ENH Remove CMake -S and -B options from emsdk/Makefile (#1711)

This commit is contained in:
Gyeongjae Choi 2021-07-13 00:09:43 +09:00 committed by GitHub
parent 7760ce7ab8
commit cc78bced5b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@ emsdk/.complete: ../Makefile.envs $(wildcard patches/*.patch)
cd emsdk/binaryen && git checkout $(PYODIDE_BINARYEN_VERSION) cd emsdk/binaryen && git checkout $(PYODIDE_BINARYEN_VERSION)
cat patches/*.patch | patch -p1 cat patches/*.patch | patch -p1
cd emsdk && ./emsdk activate --embedded --build=Release $(PYODIDE_EMSCRIPTEN_VERSION) cd emsdk && ./emsdk activate --embedded --build=Release $(PYODIDE_EMSCRIPTEN_VERSION)
cmake -S emsdk/binaryen -B emsdk/binaryen -DBUILD_STATIC_LIB=ON -DCMAKE_CXX_COMPILER_LAUNCHER=ccache cd emsdk/binaryen && cmake -DBUILD_STATIC_LIB=ON -DCMAKE_CXX_COMPILER_LAUNCHER=ccache
make -C emsdk/binaryen -j5 wasm-opt make -C emsdk/binaryen -j5 wasm-opt
cp emsdk/binaryen/bin/wasm-opt emsdk/upstream/bin/ cp emsdk/binaryen/bin/wasm-opt emsdk/upstream/bin/
touch emsdk/.complete touch emsdk/.complete