未验证 提交 2c2cd79b 编写于 作者: J JingZhuangzhuang 提交者: GitHub

modify windows build script (#46099)

上级 4e09e402
...@@ -231,7 +231,7 @@ set WITH_MKL=ON ...@@ -231,7 +231,7 @@ set WITH_MKL=ON
set WITH_GPU=ON set WITH_GPU=ON
set WITH_AVX=ON set WITH_AVX=ON
set MSVC_STATIC_CRT=OFF set MSVC_STATIC_CRT=OFF
set ON_INFER=OFF set ON_INFER=ON
set WITH_TENSORRT=ON set WITH_TENSORRT=ON
set WITH_INFERENCE_API_TEST=OFF set WITH_INFERENCE_API_TEST=OFF
if not defined CUDA_ARCH_NAME set CUDA_ARCH_NAME=Auto if not defined CUDA_ARCH_NAME set CUDA_ARCH_NAME=Auto
...@@ -248,7 +248,7 @@ set WITH_MKL=OFF ...@@ -248,7 +248,7 @@ set WITH_MKL=OFF
set WITH_GPU=OFF set WITH_GPU=OFF
set WITH_AVX=OFF set WITH_AVX=OFF
set MSVC_STATIC_CRT=ON set MSVC_STATIC_CRT=ON
set ON_INFER=OFF set ON_INFER=ON
if not defined CUDA_ARCH_NAME set CUDA_ARCH_NAME=Auto if not defined CUDA_ARCH_NAME set CUDA_ARCH_NAME=Auto
call :cmake || goto cmake_error call :cmake || goto cmake_error
...@@ -281,7 +281,7 @@ goto:success ...@@ -281,7 +281,7 @@ goto:success
rem ------Build windows avx whl package------ rem ------Build windows avx whl package------
:CASE_build_avx_whl :CASE_build_avx_whl
set WITH_AVX=ON set WITH_AVX=ON
set ON_INFER=OFF set ON_INFER=ON
if not defined CUDA_ARCH_NAME set CUDA_ARCH_NAME=All if not defined CUDA_ARCH_NAME set CUDA_ARCH_NAME=All
call :cmake || goto cmake_error call :cmake || goto cmake_error
...@@ -292,7 +292,7 @@ goto:success ...@@ -292,7 +292,7 @@ goto:success
rem ------Build windows no-avx whl package------ rem ------Build windows no-avx whl package------
:CASE_build_no_avx_whl :CASE_build_no_avx_whl
set WITH_AVX=OFF set WITH_AVX=OFF
set ON_INFER=OFF set ON_INFER=ON
if not defined CUDA_ARCH_NAME set CUDA_ARCH_NAME=All if not defined CUDA_ARCH_NAME set CUDA_ARCH_NAME=All
call :cmake || goto cmake_error call :cmake || goto cmake_error
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册