Skip to content

Commit 80320b8

Browse files
committed
ENH: Add clang to Ubuntu
Include cpuid Use easy way to install clang-20
1 parent e90c909 commit 80320b8

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

ci/azure/azure_template_posix.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,11 @@ jobs:
4646
BUILD_FLAGS: '-Csetup-args=-Dcython-coverage=true'
4747
cython.coverage: true
4848
PYTEST_PATTERN: "(not slow)"
49-
python313_latest_coverage:
49+
python313_clang:
50+
python.version: '3.13'
51+
CC: clang-20
52+
use.clang: true
53+
python313_latest:
5054
python.version: '3.13'
5155
python314_latest:
5256
python.version: '3.14'
@@ -107,6 +111,12 @@ jobs:
107111
displayName: 'List Configuration (PyPI)'
108112
condition: ne(variables['use.conda'], 'true')
109113
114+
- script: |
115+
sudo apt update
116+
sudo apt install clang-20 lldb-20 clangd-20
117+
displayName: 'Install Clang'
118+
condition: eq(variables['use.clang'], 'true')
119+
110120
- script: |
111121
python -m pip install pip --upgrade
112122
python -c "import platform;print(platform.uname())"

0 commit comments

Comments
 (0)