Skip to content

Commit

Permalink
Set cmake option to compile marian library only
Browse files Browse the repository at this point in the history
 - Set COMPILE_LIBRARY_ONLY to ON for marian library
  • Loading branch information
abhi-agg committed Feb 11, 2021
1 parent 9747d9b commit b73d4f4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ option(USE_MKL "Compile with MKL support" OFF)
option(COMPILE_DECODER_ONLY "Compile marian-decoder only" ON)
option(COMPILE_WITH_PTHREADS "Compile with pthreads support" OFF)
option(USE_WASM_COMPATIBLE_BLAS "Compile with a WASM compatible blas for decoder only builds" ON)
SET(COMPILE_LIBRARY_ONLY ON CACHE BOOL "Build only the Marian library and exclude all executables.")

execute_process(COMMAND git submodule update --init --recursive --no-fetch
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR})
Expand Down

0 comments on commit b73d4f4

Please sign in to comment.