Skip to content

Commit

Permalink
[mac] Try to revert to older macos versions
Browse files Browse the repository at this point in the history
  • Loading branch information
jcelerier committed Oct 30, 2023
1 parent 70110e4 commit 32fc264
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .cninja/macos-release.cmake
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
cninja_require(compiler=xcode)
cninja_require(static-release)
cninja_require(linker-warnings=no)
cninja_require(era=11.0)
cninja_require(era=10.15)

execute_process(
COMMAND xcode-select --print-path
Expand All @@ -11,10 +11,10 @@ execute_process(
)
set_cache(CMAKE_OSX_SYSROOT "${XCODE_PATH}/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk")

string(APPEND CMAKE_C_FLAGS_INIT " -march=haswell -mtune=cannonlake ")
string(APPEND CMAKE_CXX_FLAGS_INIT " -march=haswell -mtune=cannonlake ")
string(APPEND CMAKE_C_FLAGS_INIT " -march=core2 -mtune=cannonlake -msse4.1 -msse4.2 ")
string(APPEND CMAKE_CXX_FLAGS_INIT " -march=core2 -mtune=cannonlake -msse4.1 -msse4.2 ")

set_cache(KFR_ARCH avx)
set_cache(KFR_ARCH sse42)
set_cache(BUILD_SHARED_LIBS OFF)
set_cache(CMAKE_INSTALL_MESSAGE NEVER)

Expand Down

0 comments on commit 32fc264

Please sign in to comment.