tidy up arm args

This commit is contained in:
James Ravenscroft 2023-08-04 22:18:30 +01:00
parent 00ec442860
commit 7dee51782d
2 changed files with 5 additions and 3 deletions

View File

@ -11,7 +11,6 @@ if (${CMAKE_SYSTEM_PROCESSOR} MATCHES "arm" OR ${CMAKE_SYSTEM_PROCESSOR} MATCHES
# TODO: arm msvc? # TODO: arm msvc?
message(STATUS "ARM+MSVC= :( ") message(STATUS "ARM+MSVC= :( ")
else() else()
add_compile_options(())
if (${CMAKE_SYSTEM_PROCESSOR} MATCHES "armv6") if (${CMAKE_SYSTEM_PROCESSOR} MATCHES "armv6")
# Raspberry Pi 1, Zero # Raspberry Pi 1, Zero
add_compile_options(-mfpu=neon-fp-armv8 -mfp16-format=ieee -mno-unaligned-access) add_compile_options(-mfpu=neon-fp-armv8 -mfp16-format=ieee -mno-unaligned-access)
@ -30,7 +29,7 @@ endif()
add_subdirectory(extern/ggml) add_subdirectory(extern/ggml)
add_subdirectory(extern/argparse) add_subdirectory(extern/argparse)
add_subdirectory(extern/spdlog) #add_subdirectory(extern/spdlog)
add_subdirectory(extern/crow) add_subdirectory(extern/crow)
add_subdirectory(src) add_subdirectory(src)

View File

@ -25,3 +25,6 @@ target_include_directories(${TURBOPILOT_TARGET} PRIVATE
target_link_libraries(${TURBOPILOT_TARGET} PRIVATE ggml argparse) target_link_libraries(${TURBOPILOT_TARGET} PRIVATE ggml argparse)
target_link_libraries(${TURBOPILOT_TARGET} PUBLIC Crow::Crow) target_link_libraries(${TURBOPILOT_TARGET} PUBLIC Crow::Crow)
#target_link_libraries(${TURBOPILOT_TARGET} PRIVATE spdlog::spdlog_header_only)