mirror of
https://github.com/browsermt/bergamot-translator.git
synced 2024-10-26 05:43:59 +03:00
Enable building marian executables for vanilla marian builds
- COMPILE_LIBRARY_ONLY is set to ON only for wasm compatible marian builds
This commit is contained in:
parent
c0efc21c6e
commit
4369a56f90
@ -22,9 +22,9 @@ SET(PACKAGE_DIR "" CACHE STRING "Directory including all the files to be package
|
||||
SET(COMPILE_CUDA OFF CACHE BOOL "Compile GPU version")
|
||||
SET(USE_SENTENCEPIECE ON CACHE BOOL "Download and compile SentencePiece")
|
||||
SET(USE_STATIC_LIBS ON CACHE BOOL "Link statically against non-system libs")
|
||||
SET(COMPILE_LIBRARY_ONLY ON CACHE BOOL "Build only the Marian library and exclude all executables.")
|
||||
if (USE_WASM_COMPATIBLE_MARIAN)
|
||||
# If using wasm compatible marian then set following flags
|
||||
SET(COMPILE_LIBRARY_ONLY ON CACHE BOOL "Build only the Marian library and exclude all executables.")
|
||||
SET(USE_MKL OFF CACHE BOOL "Compile with MKL support")
|
||||
SET(COMPILE_DECODER_ONLY ON CACHE BOOL "Compile marian-decoder only")
|
||||
SET(COMPILE_WITH_PTHREADS OFF CACHE BOOL "Compile with pthreads support")
|
||||
|
Loading…
Reference in New Issue
Block a user