Skip to content

Commit

Permalink
Revert gen-buildsys.sh cmake command echo (#112929)
Browse files Browse the repository at this point in the history
Suspect it broke the wasi official build somehow.
  • Loading branch information
steveisok authored Feb 25, 2025
1 parent b5936a9 commit 80b0e17
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions eng/native/gen-buildsys.sh
Original file line number Diff line number Diff line change
Expand Up @@ -106,9 +106,15 @@ if [[ "$host_arch" == "wasm" ]]; then
fi
fi

buildsys_command="$cmake_command --no-warn-unused-cli -G \"$generator\" \"-DCMAKE_BUILD_TYPE=$buildtype\" \"-DCMAKE_INSTALL_PREFIX=$__CMakeBinDir\" $cmake_extra_defines $__UnprocessedCMakeArgs \"${cmake_extra_defines_wasm[@]}\" -S \"$1\" -B \"$2\""
buildsys_command=$(echo $buildsys_command | sed 's/""//g')
echo $buildsys_command
eval $buildsys_command
$cmake_command \
--no-warn-unused-cli \
-G "$generator" \
"-DCMAKE_BUILD_TYPE=$buildtype" \
"-DCMAKE_INSTALL_PREFIX=$__CMakeBinDir" \
$cmake_extra_defines \
$__UnprocessedCMakeArgs \
"${cmake_extra_defines_wasm[@]}" \
-S "$1" \
-B "$2"

# don't add anything after this line so the cmake exit code gets propagated correctly

0 comments on commit 80b0e17

Please sign in to comment.