-
Notifications
You must be signed in to change notification settings - Fork 202
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CI: Include
libc_so
in the build check
- Loading branch information
1 parent
6926302
commit 45991a2
Showing
1 changed file
with
11 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,11 +23,13 @@ jobs: | |
- os: ubuntu-latest | ||
clang_version: 16.0.0 | ||
llvm_asset_suffix: x86_64-linux-gnu-ubuntu-18.04 | ||
enable_pic: true | ||
- os: macos-latest | ||
clang_version: 15.0.7 | ||
llvm_asset_suffix: x86_64-apple-darwin21.0 | ||
- os: windows-latest | ||
clang_version: 16.0.0 | ||
enable_pic: true | ||
steps: | ||
- uses: actions/[email protected] | ||
with: | ||
|
@@ -88,12 +90,18 @@ jobs: | |
echo "BUILD_LIBSETJMP=no" >> $GITHUB_ENV | ||
if: matrix.clang_version == '10.0.0' | ||
|
||
- name: Enable PIC build for new LLVM | ||
shell: bash | ||
run: | | ||
echo "MAKE_TARGETS=default libc_so" >> $GITHUB_ENV | ||
if: matrix.enable_pic | ||
|
||
- name: Build libc | ||
shell: bash | ||
run: | | ||
make -j4 TARGET_TRIPLE=wasm32-wasi | ||
make -j4 TARGET_TRIPLE=wasm32-wasip1 | ||
make -j4 TARGET_TRIPLE=wasm32-wasip2 WASI_SNAPSHOT=p2 | ||
make -j4 TARGET_TRIPLE=wasm32-wasi $MAKE_TARGETS | ||
make -j4 TARGET_TRIPLE=wasm32-wasip1 $MAKE_TARGETS | ||
make -j4 TARGET_TRIPLE=wasm32-wasip2 $MAKE_TARGETS | ||
- name: Build libc + threads | ||
# Only build the thread-capable wasi-libc in the latest supported Clang | ||
|