Skip to content

Commit

Permalink
Install Clang
Browse files Browse the repository at this point in the history
Copied from the JIT workflow
  • Loading branch information
zanieb committed Jan 14, 2025
1 parent 254b553 commit 4d8686e
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/reusable-ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,14 @@ jobs:
with:
path: ${{ env.CPYTHON_BUILDDIR }}/config.cache
key: ${{ github.job }}-${{ runner.os }}-${{ env.IMAGE_VERSION }}-${{ inputs.config_hash }}
- name: Install Clang
if: ${{ fromJSON(inputs.bolt-optimizations) }}
run: |
sudo apt-get update
sudo apt-get install ca-certificates
sudo update-ca-certificates
sudo bash -c "$(wget -O - https://apt.llvm.org/llvm.sh)" ./llvm.sh 19
echo PATH="$(llvm-config-19 --bindir):$PATH" >> $GITHUB_ENV
- name: Configure CPython out-of-tree
working-directory: ${{ env.CPYTHON_BUILDDIR }}
run: >-
Expand Down

0 comments on commit 4d8686e

Please sign in to comment.