mirror of
https://github.com/nomic-ai/gpt4all
synced 2024-11-02 09:40:42 +00:00
Don't build test_hw on apple silicon
This commit is contained in:
parent
3e7cf346d6
commit
116f740fb5
@ -84,7 +84,11 @@ target_link_libraries(chat
|
|||||||
target_link_libraries(chat
|
target_link_libraries(chat
|
||||||
PRIVATE llama)
|
PRIVATE llama)
|
||||||
|
|
||||||
add_executable(test_hw test_hw.cpp)
|
if(NOT CMAKE_HOST_SYSTEM_NAME STREQUAL "Darwin")
|
||||||
|
if(NOT CMAKE_HOST_SYSTEM_PROCESSOR STREQUAL "arm64")
|
||||||
|
add_executable(test_hw test_hw.cpp)
|
||||||
|
endif()
|
||||||
|
endif()
|
||||||
|
|
||||||
set(COMPONENT_NAME_MAIN ${PROJECT_NAME})
|
set(COMPONENT_NAME_MAIN ${PROJECT_NAME})
|
||||||
set(CMAKE_INSTALL_PREFIX ${CMAKE_BINARY_DIR}/install)
|
set(CMAKE_INSTALL_PREFIX ${CMAKE_BINARY_DIR}/install)
|
||||||
|
Loading…
Reference in New Issue
Block a user