Skip to content
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

cmake/LLVM.cmake: bump the default CUSTOM_LLVM_HOME #270

Merged
merged 1 commit into from
Nov 29, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion cmake/LLVM.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,11 @@ if(NOT CMAKE_TOOLCHAIN_FILE)
# Prefer the homebrew version because xcode clang doesn't have detect_leaks
# Note: CMAKE_SYSTEM_NAME is not available yet.
if(NOT DEFINED CUSTOM_LLVM_HOME)
set(CUSTOM_LLVM_HOME /usr/local/opt/llvm@13)
# Note: The recent macOS SDKs (eg. math.h from macOS SDK 15) assume that
# _Float16 is available. In case of x86, it's only available for the
# recent versions of the ABI. In case of LLVM, the support has been added
# for LLVM>=15.
set(CUSTOM_LLVM_HOME /usr/local/opt/llvm@15)
endif()
endif()

Expand Down
Loading