From b41205d9a6b71f26694c2cdb979555c261548629 Mon Sep 17 00:00:00 2001 From: Yu Yang Date: Wed, 7 Feb 2018 02:57:13 -0500 Subject: [PATCH] Disable BUILD_TESTS for warpctc (#8210) * It will sightly faster compile and make warpctc compile well on CUDA 9 and GCC 5.5 --- cmake/external/warpctc.cmake | 1 + 1 file changed, 1 insertion(+) diff --git a/cmake/external/warpctc.cmake b/cmake/external/warpctc.cmake index 7cb4efa7bf..5fa60df7b3 100644 --- a/cmake/external/warpctc.cmake +++ b/cmake/external/warpctc.cmake @@ -52,6 +52,7 @@ ExternalProject_Add( -DWITH_TORCH=OFF -DCMAKE_DISABLE_FIND_PACKAGE_Torch=ON -DBUILD_SHARED=ON + -DBUILD_TESTS=OFF -DCMAKE_POSITION_INDEPENDENT_CODE=ON -DCMAKE_BUILD_TYPE=${THIRD_PARTY_BUILD_TYPE} ${EXTERNAL_OPTIONAL_ARGS} -- GitLab