Skip to content

Commit

Permalink
Merge branch 'cmake' into metal-coreml
Browse files Browse the repository at this point in the history
  • Loading branch information
ChinChangYang committed Nov 25, 2023
2 parents 367d2c2 + 7ebbec5 commit ecb5f8a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cpp/CMakeLists.txt-macos
Original file line number Diff line number Diff line change
Expand Up @@ -287,3 +287,7 @@ message(STATUS "Enabling AppleClang-specific build options.")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wnull-dereference -Wdangling-else")

target_include_directories(katago PUBLIC ${CMAKE_CURRENT_BINARY_DIR})

if("${CMAKE_SYSTEM_PROCESSOR}" STREQUAL "x86_64")
message(WARNING "You are currently running cmake on an Intel-based processor. It is known that running KataGo in this configuration may encounter performance issues. It is recommended to switch to a cmake version designed for ARM64 architecture for optimal performance.")
endif()

0 comments on commit ecb5f8a

Please sign in to comment.