Skip to content

Commit a9fafee

Browse files
committed
Fix Linux clang environment
1 parent 6203457 commit a9fafee

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

bench_runner/templates/_benchmark.src.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,9 @@ jobs:
204204
- name: Build with clang
205205
if: ${{ inputs.clang }}
206206
run: |
207-
echo "CC=clang-19" >> $GITHUB_ENV
207+
echo "CC=`which clang-19`" >> $GITHUB_ENV
208+
echo "LLVM_AR=`which llvm-ar-19`" >> $GITHUB_ENV
209+
echo "LLVM_PROFDATA=`which llvm-profdata-19`" >> $GITHUB_ENV
208210
- name: Build Python
209211
if: ${{ steps.should_run.outputs.should_run != 'false' }}
210212
run: |

0 commit comments

Comments
 (0)