1
0
mirror of synced 2024-11-12 02:00:52 +01:00

Set native compiler to gcc

This commit is contained in:
WerWolv 2023-11-04 15:02:39 +01:00
parent b4f6c8d773
commit a6cc4ca210
2 changed files with 2 additions and 5 deletions

View File

@ -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}" \

View File

@ -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")