File tree 1 file changed +2
-1
lines changed
1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ case $PLATFORM in
48
48
;;
49
49
windows-* )
50
50
if [[ -n " ${CUDA_PATH:- } " ]]; then
51
- export CUDACXX=" $CUDA_PATH /bin/nvcc"
51
+ export CUDACXX=" $CUDA_PATH /bin/nvcc.exe "
52
52
export CUDA_HOME=" $CUDA_PATH "
53
53
export CUDNN_HOME=" $CUDA_PATH "
54
54
fi
@@ -87,6 +87,7 @@ sedinplace 's/MLAS_CPUIDINFO::GetCPUIDInfo().HasArmNeon_I8MM()/false/g' onnxrunt
87
87
patch -p1 < ../../../onnxruntime.patch
88
88
# patch -p1 < ../../../onnxruntime-windows.patch # https://github.com/microsoft/onnxruntime/pull/7883
89
89
sedinplace ' /--Werror/d' cmake/CMakeLists.txt
90
+ sedinplace ' /-DCMAKE_CUDA_COMPILER=/d' tools/ci_build/build.py
90
91
sedinplace " s/return 'ON'/return 'OFF'/g" tools/ci_build/build.py
91
92
sedinplace " s/Visual Studio 1. 20../Ninja/g" tools/ci_build/build.py
92
93
sedinplace ' s/Darwin|iOS/iOS/g' cmake/onnxruntime_providers_cpu.cmake cmake/onnxruntime_providers.cmake
You can’t perform that action at this time.
0 commit comments