Skip to content

Commit d8c3be7

Browse files
committed
Install Clang
Copied from the JIT workflow
1 parent 254b553 commit d8c3be7

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/reusable-ubuntu.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,13 @@ jobs:
7676
with:
7777
path: ${{ env.CPYTHON_BUILDDIR }}/config.cache
7878
key: ${{ github.job }}-${{ runner.os }}-${{ env.IMAGE_VERSION }}-${{ inputs.config_hash }}
79+
- name: Install Clang
80+
if: ${{ fromJSON(inputs.bolt-optimizations) }}
81+
run: |
82+
wget https://apt.llvm.org/llvm.sh
83+
chmod +x llvm.sh
84+
sudo ./llvm.sh 19
85+
echo PATH="$(llvm-config-19 --bindir):$PATH" >> $GITHUB_ENV
7986
- name: Configure CPython out-of-tree
8087
working-directory: ${{ env.CPYTHON_BUILDDIR }}
8188
run: >-

0 commit comments

Comments
 (0)