Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
alexcrichton committed Jun 17, 2024
1 parent 05ead0e commit 39b77c0
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ on:
push:
branches:
- main
- llvm-dynamic
pull_request:
workflow_dispatch:

Expand Down
7 changes: 7 additions & 0 deletions cmake/wasi-sdk-toolchain.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,13 @@ set(tools
list(TRANSFORM tools PREPEND --target= OUTPUT_VARIABLE build_targets)
list(TRANSFORM tools PREPEND --target=install- OUTPUT_VARIABLE install_targets)

if(NOT WIN32)
list(APPEND tools LLVM)
list(APPEND tools clang-cpp)
list(APPEND default_cmake_args -DLLVM_LINK_LLVM_DYLIB=ON)
list(APPEND default_cmake_args -DLLVM_VERSION_SUFFIX=-wasi-sdk-${wasi_sdk_version})
endif()

ExternalProject_Add(llvm-build
SOURCE_DIR "${llvm_proj_dir}/llvm"
CMAKE_ARGS
Expand Down

0 comments on commit 39b77c0

Please sign in to comment.