-
Notifications
You must be signed in to change notification settings - Fork 231
Fix fts build for shared library #544
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| 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/checkout@v4.1.7 | ||||
| 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 WASI_SNAPSHOT=p2 $MAKE_TARGETS | ||||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Do we need to be passing these
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It seems like Line 844 in a05277a
|
||||
|
|
||||
| - name: Build libc + threads | ||||
| # Only build the thread-capable wasi-libc in the latest supported Clang | ||||
|
|
||||
Uh oh!
There was an error while loading. Please reload this page.