Skip to content

Commit 5cda49b

Browse files
committed
remove unnecessary sedinplace since microsoft/onnxruntime#28309 is merged for 1.26.0
1 parent 575d140 commit 5cda49b

1 file changed

Lines changed: 0 additions & 8 deletions

File tree

onnxruntime/cppbuild.sh

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -133,14 +133,6 @@ sedinplace 's/-fvisibility=hidden//g' cmake/CMakeLists.txt cmake/adjust_global_c
133133
sedinplace 's:/Yucuda_pch.h /FIcuda_pch.h::g' cmake/onnxruntime_providers_cuda.cmake cmake/onnxruntime_providers.cmake
134134
sedinplace 's/${PROJECT_SOURCE_DIR}\/external\/cub//g' cmake/onnxruntime_providers_cuda.cmake cmake/onnxruntime_providers.cmake
135135
sedinplace 's/-Xcompiler \/Zc:__cplusplus/-Xcompiler \/Zc:__cplusplus -Xcompiler \/Zc:preprocessor/g' cmake/onnxruntime_providers_cuda.cmake cmake/onnxruntime_providers_cuda_plugin.cmake
136-
# CUDA 13 on Windows needs the ORT CUB wrapper to undefine MSVC SAL macros: https://github.com/microsoft/onnxruntime/pull/28309
137-
sedinplace 's|#include <cub/cub.cuh>|#include "core/providers/cuda/cu_inc/cub.cuh"|g' onnxruntime/contrib_ops/cuda/bert/gqa_unfused_attention.cu
138-
grep -Fq '#include "core/providers/cuda/cu_inc/cub.cuh"' onnxruntime/contrib_ops/cuda/bert/gqa_unfused_attention.cu || {
139-
echo "Failed to apply ORT CUB wrapper include workaround to gqa_unfused_attention.cu"
140-
exit 1
141-
}
142-
# CUDA 13.2 can still reach tcgen05_ld.h through the following CUDA fp headers,
143-
# after the ORT CUB wrapper has restored MSVC's __out SAL macro.
144136
sedinplace '/#include "core\/providers\/cuda\/cu_inc\/cub.cuh"/i\
145137
#if defined(_MSC_VER)\
146138
#pragma push_macro("__out")\

0 commit comments

Comments
 (0)