Skip to content

Commit c3afdc4

Browse files
committed
use sysroot, llvm-ar
1 parent 8f3d4d0 commit c3afdc4

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/create_release.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,9 +125,14 @@ jobs:
125125
- name: install python dev dependencies
126126
run: pip3 install -r requirements-dev.txt
127127

128+
- name: download sysroot
129+
run: |
130+
wget https://wasm.storage.googleapis.com/sysroot_debian_stretch_amd64_v2.tar.xz
131+
tar xaf sysroot_debian_stretch_amd64_v2.tar.xz
132+
128133
- name: cmake
129134
run: |
130-
cmake . -G Ninja -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_C_COMPILER=clang -DCMAKE_BUILD_TYPE=Release -DBUILD_STATIC_LIB=ON -DCMAKE_INSTALL_PREFIX=install -DBYN_ENABLE_LTO=ON
135+
cmake . -G Ninja -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_C_COMPILER=clang -DCMAKE_AR=llvm-ar -DCMAKE_SYSROOT=$(pwd)/sysroot_debian_stretch_amd64_v2 -DCMAKE_BUILD_TYPE=Release -DBUILD_STATIC_LIB=ON -DCMAKE_INSTALL_PREFIX=install -DBYN_ENABLE_LTO=ON
131136
132137
- name: build
133138
run: |

0 commit comments

Comments
 (0)