提交 b6f247d3 编写于 作者: M Megvii Engine Team 提交者: chenjinsong

fix(build): disable cupti temporarily

GitOrigin-RevId: d53cac6c1ecd68bf2a6a17de20536891b704709e
上级 5d9af3ec
...@@ -105,7 +105,7 @@ if(MGE_PROFILE_COMPILE_TIME) ...@@ -105,7 +105,7 @@ if(MGE_PROFILE_COMPILE_TIME)
endif() endif()
# TODO: add windows support # TODO: add windows support
cmake_dependent_option(MGE_WITH_CUPTI "Build with CUPTI" ON cmake_dependent_option(MGE_WITH_CUPTI "Build with CUPTI" OFF
"MGE_WITH_CUDA;MGE_BUILD_IMPERATIVE_RT;NOT MSVC;NOT WIN32" OFF) "MGE_WITH_CUDA;MGE_BUILD_IMPERATIVE_RT;NOT MSVC;NOT WIN32" OFF)
set(MGB_CUPTI ${MGE_WITH_CUPTI}) set(MGB_CUPTI ${MGE_WITH_CUPTI})
......
...@@ -60,7 +60,8 @@ fi ...@@ -60,7 +60,8 @@ fi
echo "Build with ${SDK_NAME}" echo "Build with ${SDK_NAME}"
if [ $SDK_NAME == "cu101" ];then if [ $SDK_NAME == "cu101" ];then
CUDA_COPY_LIB_LIST="${CUDA_LIB_DIR}/libnvrtc.so.10.1" CUDA_COPY_LIB_LIST="\
${CUDA_LIB_DIR}/libnvrtc.so.10.1"
EXTRA_CMAKE_FLAG=" -DMGE_WITH_CUDNN_SHARED=OFF -DMGE_WITH_CUBLAS_SHARED=OFF" EXTRA_CMAKE_FLAG=" -DMGE_WITH_CUDNN_SHARED=OFF -DMGE_WITH_CUBLAS_SHARED=OFF"
BUILD_GCC8="ON" BUILD_GCC8="ON"
REQUIR_CUDA_VERSION="10010" REQUIR_CUDA_VERSION="10010"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册