mirror of
https://github.com/marian-nmt/marian.git
synced 2024-09-11 06:15:56 +03:00
clang: Disable unused-function warnings for 3rd-party NCCL library
This commit is contained in:
parent
64a67d5fc8
commit
a2a567c538
2
src/3rd_party/CMakeLists.txt
vendored
2
src/3rd_party/CMakeLists.txt
vendored
@ -95,7 +95,7 @@ if(CUDA_FOUND)
|
||||
BUILD_COMMAND
|
||||
$(MAKE) -f ${CMAKE_CURRENT_SOURCE_DIR}/nccl/Makefile src.build
|
||||
BUILDDIR=${CMAKE_BINARY_DIR}/local CUDA_HOME=${CUDA_TOOLKIT_ROOT_DIR}
|
||||
CUDA8_GENCODE=${GENCODE} CXX=${CMAKE_CXX_COMPILER}
|
||||
CUDA8_GENCODE=${GENCODE} CXX=${CMAKE_CXX_COMPILER} CXXFLAGS=-Wno-unused-function
|
||||
INSTALL_COMMAND "")
|
||||
|
||||
set_target_properties(nccl PROPERTIES IMPORTED_LOCATION ${CMAKE_BINARY_DIR}/local/lib/libnccl_static.a)
|
||||
|
Loading…
Reference in New Issue
Block a user