Skip to content

Commit 4d8686e

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

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/reusable-ubuntu.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,14 @@ 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+
sudo apt-get update
83+
sudo apt-get install ca-certificates
84+
sudo update-ca-certificates
85+
sudo bash -c "$(wget -O - https://apt.llvm.org/llvm.sh)" ./llvm.sh 19
86+
echo PATH="$(llvm-config-19 --bindir):$PATH" >> $GITHUB_ENV
7987
- name: Configure CPython out-of-tree
8088
working-directory: ${{ env.CPYTHON_BUILDDIR }}
8189
run: >-

0 commit comments

Comments
 (0)