From 7bce7949e56069167aff5987f92aa69731f3094f Mon Sep 17 00:00:00 2001 From: JingZhuangzhuang <75348594+JZZ-NOTE@users.noreply.github.com> Date: Mon, 19 Sep 2022 19:14:24 +0800 Subject: [PATCH] modify windows build script (#46098) --- paddle/scripts/paddle_build.bat | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/paddle/scripts/paddle_build.bat b/paddle/scripts/paddle_build.bat index 4bd9bfb670f..9f4c4fd15ef 100644 --- a/paddle/scripts/paddle_build.bat +++ b/paddle/scripts/paddle_build.bat @@ -231,7 +231,7 @@ set WITH_MKL=ON set WITH_GPU=ON set WITH_AVX=ON set MSVC_STATIC_CRT=OFF -set ON_INFER=OFF +set ON_INFER=ON set WITH_TENSORRT=ON set WITH_INFERENCE_API_TEST=OFF if not defined CUDA_ARCH_NAME set CUDA_ARCH_NAME=Auto @@ -248,7 +248,7 @@ set WITH_MKL=OFF set WITH_GPU=OFF set WITH_AVX=OFF set MSVC_STATIC_CRT=ON -set ON_INFER=OFF +set ON_INFER=ON if not defined CUDA_ARCH_NAME set CUDA_ARCH_NAME=Auto call :cmake || goto cmake_error @@ -281,7 +281,7 @@ goto:success rem ------Build windows avx whl package------ :CASE_build_avx_whl set WITH_AVX=ON -set ON_INFER=OFF +set ON_INFER=ON if not defined CUDA_ARCH_NAME set CUDA_ARCH_NAME=All call :cmake || goto cmake_error @@ -292,7 +292,7 @@ goto:success rem ------Build windows no-avx whl package------ :CASE_build_no_avx_whl set WITH_AVX=OFF -set ON_INFER=OFF +set ON_INFER=ON if not defined CUDA_ARCH_NAME set CUDA_ARCH_NAME=All call :cmake || goto cmake_error -- GitLab