Skip to content

Commit

Permalink
restrict architectures on osx/win; no need for risc-v
Browse files Browse the repository at this point in the history
  • Loading branch information
h-vetinari committed Jul 24, 2024
1 parent 879a3c5 commit 127e5c6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions recipe/bld.bat
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ cmake -G "Ninja" ^
-DLLVM_INCLUDE_TESTS=ON ^
-DLLVM_INCLUDE_UTILS=ON ^
-DLLVM_INSTALL_UTILS=ON ^
-DLLVM_TARGETS_TO_BUILD="X86;AArch64" ^
-DLLVM_USE_SYMLINKS=OFF ^
-DLLVM_UTILS_INSTALL_DIR=libexec\llvm ^
-DLLVM_BUILD_LLVM_C_DYLIB=ON ^
Expand Down
2 changes: 1 addition & 1 deletion recipe/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ elif [[ "$target_platform" == osx-* ]]; then
# https://github.com/llvm/llvm-project/blob/llvmorg-16.0.6/llvm/tools/llvm-shlib/CMakeLists.txt#L82-L85
# currently off though, because it doesn't build yet
# CMAKE_ARGS="${CMAKE_ARGS} -DLLVM_BUILD_LLVM_C_DYLIB=ON"
true
CMAKE_ARGS="${CMAKE_ARGS} -DLLVM_TARGETS_TO_BUILD=\"X86;AArch64\""
fi

if [[ "$CC_FOR_BUILD" != "" && "$CC_FOR_BUILD" != "$CC" ]]; then
Expand Down

0 comments on commit 127e5c6

Please sign in to comment.