File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -121,6 +121,7 @@ jobs:
121121 echo "release-binary-basename=$release_binary_basename" >> $GITHUB_OUTPUT
122122 echo "release-binary-filename=$release_binary_basename.tar.xz" >> $GITHUB_OUTPUT
123123
124+ target="$RUNNER_OS-$RUNNER_ARCH"
124125 # The hendrikmuhs/ccache-action action does not support installing sccache
125126 # on arm64 Linux.
126127 if [ "$target" = "Linux-ARM64" ]; then
@@ -129,7 +130,7 @@ jobs:
129130 echo ccache=sccache >> $GITHUB_OUTPUT
130131 fi
131132
132- target="$RUNNER_OS-$RUNNER_ARCH"
133+ # Detect necessary CMake flags
133134 echo "enable-pgo=false" >> $GITHUB_OUTPUT
134135 target_cmake_flags="-DLLVM_RELEASE_ENABLE_PGO=OFF"
135136 # The macOS builds try to cross compile some libraries so we need to
@@ -155,7 +156,7 @@ jobs:
155156 echo "target-cmake-flags=$target_cmake_flags" >> $GITHUB_OUTPUT
156157 echo "build-flang=$build_flang" >> $GITHUB_OUTPUT
157158 case "${{ inputs.runs-on }}" in
158- ubuntu-22.04)
159+ ubuntu-22.04* )
159160 build_runs_on="depot-${{ inputs.runs-on }}-16"
160161 test_runs_on=$build_runs_on
161162 ;;
You can’t perform that action at this time.
0 commit comments