File tree 2 files changed +1373
-1
lines changed
2 files changed +1373
-1
lines changed Original file line number Diff line number Diff line change @@ -84,6 +84,7 @@ sedinplace 's/MLAS_CPUIDINFO::GetCPUIDInfo().HasArmNeon_I8MM()/false/g' onnxrunt
84
84
85
85
# work around toolchain issues on Mac and Windows
86
86
patch -p1 < ../../../onnxruntime.patch
87
+ patch -p1 < ../../../onnxruntime-cuda.patch # https://github.com/microsoft/onnxruntime/pull/22316
87
88
# patch -p1 < ../../../onnxruntime-windows.patch # https://github.com/microsoft/onnxruntime/pull/7883
88
89
sedinplace ' /--Werror/d' cmake/CMakeLists.txt
89
90
sedinplace ' /-DCMAKE_CUDA_COMPILER=/d' tools/ci_build/build.py
@@ -167,7 +168,7 @@ sedinplace 's/UTFChars(javaNameStrings/UTFChars((jstring)javaNameStrings/g' java
167
168
sedinplace ' s/initializers = allocarray/initializers = (const OrtValue**)allocarray/g' java/src/main/native/ai_onnxruntime_OrtSession_SessionOptions.cpp
168
169
169
170
which ctest3 & > /dev/null && CTEST=" ctest3" || CTEST=" ctest"
170
- " $PYTHON_BIN_PATH " tools/ci_build/build.py --build_dir ../build --config Release --cmake_path " $CMAKE " --ctest_path " $CTEST " --build_shared_lib $ARCH_FLAGS $DNNL_FLAGS $OPENMP_FLAGS $GPU_FLAGS
171
+ " $PYTHON_BIN_PATH " tools/ci_build/build.py --build_dir ../build --config Release --parallel $MAKEJ -- cmake_path " $CMAKE " --ctest_path " $CTEST " --build_shared_lib $ARCH_FLAGS $DNNL_FLAGS $OPENMP_FLAGS $GPU_FLAGS
171
172
172
173
# install headers and libraries in standard directories
173
174
cp -r include/* ../include
You can’t perform that action at this time.
0 commit comments