Skip to content

Commit 76675cb

Browse files
committed
linux-release-pgo
1 parent c60000d commit 76675cb

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/release-binaries.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,11 @@ jobs:
122122
123123
# Detect necessary CMake flags
124124
target="${{ runner.os }}-${{ runner.arch }}"
125-
echo "enable-pgo=false" >> $GITHUB_OUTPUT
125+
if [ "${{ runner.os }}" = "Linux" ]; then
126+
echo "enable-pgo=true" >> $GITHUB_OUTPUT
127+
else
128+
echo "enable-pgo=false" >> $GITHUB_OUTPUT
129+
fi
126130
target_cmake_flags="-DLLVM_RELEASE_ENABLE_PGO=OFF"
127131
# The macOS builds try to cross compile some libraries so we need to
128132
# add extra CMake args to disable them.

0 commit comments

Comments
 (0)