Skip to content

Update docker build to use LLVM 16#316

Merged
abrown merged 1 commit intoWebAssembly:mainfrom
anuraaga:wasi-sdk-llvm16
Mar 25, 2023
Merged

Update docker build to use LLVM 16#316
abrown merged 1 commit intoWebAssembly:mainfrom
anuraaga:wasi-sdk-llvm16

Conversation

@anuraaga
Copy link
Copy Markdown
Contributor

As LLVM 16 was released, it seems like a good idea to update. Notably, this will allow the docker build to provide a threads-enabled build as well - I may be missing it but AFAICT, threads hasn't been wired into GitHub CI but when it is it would be easy to publish the docker image too

Comment thread docker/Dockerfile
# content, we symlink after extracting using a bash glob to resolve the patch version
ADD dist/libclang_rt.builtins-wasm32-wasi-*.*.tar.gz /wasi-sysroot-clang_rt
RUN ln -s /wasi-sysroot-clang_rt/lib/wasi/ $(echo /usr/lib/llvm-${LLVM_VERSION}/lib/clang/${LLVM_VERSION}.*)/lib/wasi
COPY --from=dist /wasi-sysroot-clang_rt/lib/wasi /usr/lib/llvm-${LLVM_VERSION}/lib/clang/${LLVM_VERSION}/lib/wasi
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It seems that the problematic patch version in path for this isn't there anymore

@abrown abrown merged commit 15a18dc into WebAssembly:main Mar 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants