1.0.5, remove avx512
This commit is contained in:
1 parent
6f670860a9
commit
da8a4903a7
2 files changed
+5
-1
No files matched your search
@@ -24,8 +24,12 @@ FetchContent_MakeAvailable(httplib)
|
||||
|
||||
set(CMAKE_BUILD_TYPE Release)
|
||||
set(CMAKE_CXX_FLAGS_RELEASE "-O3")
|
||||
target_compile_options(fasttext-static PRIVATE
|
||||
-march=x86-64 -mno-avx512f)
|
||||
|
||||
add_executable(fasttext_lid_server main.cpp)
|
||||
target_compile_options(fasttext_lid_server PRIVATE
|
||||
-march=x86-64 -mno-avx512f)
|
||||
target_include_directories(fasttext_lid_server PRIVATE ${fasttext_SOURCE_DIR}/src)
|
||||
|
||||
target_link_libraries(fasttext_lid_server
|
||||
|
||||
Reference in new issue
Block a user