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

ci(tablegen): check src dir clean after build

GitOrigin-RevId: d49a919a76093ed11b451a205e525961c5004503
上级 813628e2
...@@ -7,12 +7,8 @@ endif() ...@@ -7,12 +7,8 @@ endif()
if("${CUDA_ROOT_DIR}" STREQUAL "" AND NOT "$ENV{CUDA_BIN_PATH}" STREQUAL "") if("${CUDA_ROOT_DIR}" STREQUAL "" AND NOT "$ENV{CUDA_BIN_PATH}" STREQUAL "")
set(CUDA_ROOT_DIR $ENV{CUDA_BIN_PATH}) set(CUDA_ROOT_DIR $ENV{CUDA_BIN_PATH})
endif() endif()
if("${CUDA_ROOT_DIR}" STREQUAL "") # ${CUDA_ROOT_DIR} check removed here because users may not always keep env variable
message(
FATAL_ERROR
"Can not find CUDA, please export cuda sdk path to CUDA_ROOT_DIR or CUDA_PATH or CUDA_BIN_PATH"
)
endif()
# TODO: find_library(CUDA_ROOT_DIR) in cmake/cuda.cmake # TODO: find_library(CUDA_ROOT_DIR) in cmake/cuda.cmake
set(MGE_CUPTI_USE_STATIC ${MGE_CUDA_USE_STATIC}) set(MGE_CUPTI_USE_STATIC ${MGE_CUDA_USE_STATIC})
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册