a
This commit is contained in:
1 parent
6ca328f185
commit
2fffe1b6a0
2 files changed
+6
-2
No files matched your search
+5
-1
@@ -23,9 +23,13 @@ FetchContent_Declare(
|
||||
FetchContent_MakeAvailable(httplib)
|
||||
|
||||
set(CMAKE_BUILD_TYPE Release)
|
||||
set(CMAKE_CXX_FLAGS_RELEASE "-O3 -mno-avx512f")
|
||||
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
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
#!/bin/sh
|
||||
set -e
|
||||
|
||||
version=1.0.4
|
||||
version=1.0.5
|
||||
image_name="suspiciousactivity/fasttext-lid-server"
|
||||
|
||||
# Check git status
|
||||
|
||||
Reference in new issue
Block a user