fix and speed up compilaton
unicode-data.cpp takes very long to compile on x86_64 macos with clang 17.0.6 and aarch64 linux GNU 12.2.0 goes OOM on 1GB RAM SBC
This commit is contained in:
parent
a8db2a9ce6
commit
244811d856
1 changed files with 2 additions and 0 deletions
|
@ -28,3 +28,5 @@ if (BUILD_SHARED_LIBS)
|
|||
set_target_properties(llama PROPERTIES POSITION_INDEPENDENT_CODE ON)
|
||||
target_compile_definitions(llama PRIVATE LLAMA_SHARED LLAMA_BUILD)
|
||||
endif()
|
||||
|
||||
set_source_files_properties(unicode-data.cpp PROPERTIES COMPILE_FLAGS -O1)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue