-
-
Notifications
You must be signed in to change notification settings - Fork 107
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CI: Adjust presets for new M1 runner
macos-latest now maps to macos-14, which is an M1 mac. Adjust the aarch64 file to not enable CMake cross-compiling mode, and add a toolchain file for x86_64 apple.
- Loading branch information
Showing
3 changed files
with
9 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
set(CMAKE_C_COMPILER "clang") | ||
set(CMAKE_CXX_COMPILER "clang++") | ||
set(CMAKE_C_COMPILER_TARGET "x86_64-apple-darwin") | ||
set(CMAKE_CXX_COMPILER_TARGET "x86_64-apple-darwin") | ||
set(CMAKE_SYSTEM_NAME "Darwin") | ||
set(CMAKE_SYSTEM_VERSION ${CMAKE_HOST_SYSTEM_VERSION}) | ||
set(CMAKE_OSX_ARCHITECTURES "x86_64" CACHE STRING "") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters