diff options
author | Ulrich Germann <ugermann@inf.ed.ac.uk> | 2019-11-11 12:33:13 +0300 |
---|---|---|
committer | Roman Grundkiewicz <rgrundki@exseed.ed.ac.uk> | 2019-11-11 12:33:13 +0300 |
commit | 66b95a5afa581a6ded6dae680cfe8b6f133d88af (patch) | |
tree | 28894788f27614da651d3cd736503728e6afdfa7 /CMakeLists.txt | |
parent | 13e61820fd5457a722b07da152565d1b762c84f7 (diff) |
Sort custom cmake options alphabetically (#547)
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index d0761665..09246d46 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -11,21 +11,19 @@ set(CMAKE_CXX_STANDARD_REQUIRED ON) set(BUILD_ARCH native CACHE STRING "Compile for this CPU architecture.") # Custom CMake options -option(USE_SENTENCEPIECE "Download and compile SentencePiece" OFF) -option(USE_FBGEMM "Use FBGEMM" OFF) -option(USE_NCCL "Use NCCL library" ON) -option(USE_MPI "Use MPI library" OFF) -option(USE_CUDNN "Use CUDNN library" OFF) - option(COMPILE_CPU "Compile CPU version" ON) option(COMPILE_CUDA "Compile GPU version" ON) -option(USE_STATIC_LIBS "Link statically against non-system libs" OFF) option(COMPILE_EXAMPLES "Compile examples" OFF) -option(COMPILE_TESTS "Compile tests" OFF) option(COMPILE_SERVER "Compile marian-server" OFF) - -option(USE_DOXYGEN "Build documentation with Doxygen" ON) +option(COMPILE_TESTS "Compile tests" OFF) option(USE_CCACHE "Use ccache compiler cache (https://ccache.dev)" OFF) +option(USE_CUDNN "Use CUDNN library" OFF) +option(USE_DOXYGEN "Build documentation with Doxygen" ON) +option(USE_FBGEMM "Use FBGEMM" OFF) +option(USE_MPI "Use MPI library" OFF) +option(USE_NCCL "Use NCCL library" ON) +option(USE_SENTENCEPIECE "Download and compile SentencePiece" OFF) +option(USE_STATIC_LIBS "Link statically against non-system libs" OFF) # use ccache (https://ccache.dev) for faster compilation if requested and available if(USE_CCACHE) |