Skip to content

Commit 5e22cb3

Browse files
committed
remove linux platform handling (2)
1 parent 09d03cc commit 5e22cb3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/actions/build-ocp-addons/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ runs:
130130
if [[ "$RUNNER_OS" == "Linux" ]]; then
131131
132132
${{ inputs.sed-i }} 's/\(extra_compile_args=\["-O3"\)\(.*\)/\1, "-D_GLIBCXX_USE_CXX11_ABI=0", "-std=c++17"\2/' setup.py
133-
${{ inputs.sed-i }} '/if platform.system() == "Linux":/,/os.environ\["CXX"\] = archprefix \+ "-conda-linux-gnu-g\+\+"/d' setup.py
133+
${{ inputs.sed-i }} '/^if platform\.system/,+8d' setup.py
134134
135135
elif [[ "$RUNNER_OS" == "macOS" ]]; then
136136

0 commit comments

Comments
 (0)