Set native compiler to gcc
This commit is contained in:
parent
b4f6c8d773
commit
a6cc4ca210
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
@ -235,6 +235,8 @@ jobs:
|
||||
-DCMAKE_CXX_COMPILER_LAUNCHER=ccache \
|
||||
-DCMAKE_OBJC_COMPILER_LAUNCHER=ccache \
|
||||
-DCMAKE_OBJCXX_COMPILER_LAUNCHER=ccache \
|
||||
-DNATIVE_CMAKE_C_COMPILER="$(brew --prefix gcc@12)/bin/gcc-12" \
|
||||
-DNATIVE_CMAKE_CXX_COMPILER="$(brew --prefix gcc@12)/bin/g++-12" \
|
||||
-DIMHEX_PATTERNS_PULL_MASTER=ON \
|
||||
-DIMHEX_COMMIT_HASH_SHORT="${GITHUB_SHA::7}" \
|
||||
-DIMHEX_COMMIT_HASH_LONG="${GITHUB_SHA}" \
|
||||
|
5
dist/macOS/macos_arm_toolchain.cmake
vendored
5
dist/macOS/macos_arm_toolchain.cmake
vendored
@ -2,8 +2,3 @@ set(CMAKE_SYSTEM_NAME Darwin)
|
||||
set(CMAKE_SYSTEM_PROCESSOR arm64)
|
||||
set(CMAKE_OSX_ARCHITECTURES arm64 CACHE INTERNAL "" FORCE)
|
||||
SET(CMAKE_OSX_SYSROOT macosx CACHE INTERNAL "" FORCE)
|
||||
|
||||
set(NATIVE_CMAKE_C_COMPILER ${CMAKE_C_COMPILER})
|
||||
set(NATIVE_CMAKE_CXX_COMPILER ${CMAKE_CXX_COMPILER})
|
||||
set(NATIVE_CMAKE_C_FLAGS "-target x86_64-apple-macos12.7")
|
||||
set(NATIVE_CMAKE_CXX_FLAGS "-target x86_64-apple-macos12.7")
|
||||
|
Loading…
Reference in New Issue
Block a user