45
45
- aarch64-unknown-linux-gnu/gcc
46
46
- free-threading
47
47
llvm :
48
- - 19
48
+ - 20
49
49
include :
50
50
# - target: i686-pc-windows-msvc/msvc
51
51
# architecture: Win32
83
83
if : runner.os == 'Windows' && matrix.architecture != 'ARM64'
84
84
shell : cmd
85
85
run : |
86
- choco install llvm --allow-downgrade --no-progress --version ${{ matrix.llvm }}.1.5
86
+ choco install llvm --allow-downgrade --no-progress --version ${{ matrix.llvm }}.1.0
87
87
set PlatformToolset=clangcl
88
- set LLVMToolsVersion=${{ matrix.llvm }}.1.5
88
+ set LLVMToolsVersion=${{ matrix.llvm }}.1.0
89
89
set LLVMInstallDir=C:\Program Files\LLVM
90
90
call ./PCbuild/build.bat --tail-call-interp -d -p ${{ matrix.architecture }}
91
91
call ./PCbuild/rt.bat -d -p ${{ matrix.architecture }} -q --multiprocess 0 --timeout 4500 --verbose2 --verbose3
@@ -95,26 +95,28 @@ jobs:
95
95
if : runner.os == 'Windows' && matrix.architecture == 'ARM64'
96
96
shell : cmd
97
97
run : |
98
- choco install llvm --allow-downgrade --no-progress --version ${{ matrix.llvm }}.1.5
98
+ choco install llvm --allow-downgrade --no-progress --version ${{ matrix.llvm }}.1.0
99
99
set PlatformToolset=clangcl
100
- set LLVMToolsVersion=${{ matrix.llvm }}.1.5
100
+ set LLVMToolsVersion=${{ matrix.llvm }}.1.0
101
101
set LLVMInstallDir=C:\Program Files\LLVM
102
102
./PCbuild/build.bat --tail-call-interp -p ${{ matrix.architecture }}
103
103
104
104
# The `find` line is required as a result of https://github.com/actions/runner-images/issues/9966.
105
105
# This is a bug in the macOS runner image where the pre-installed Python is installed in the same
106
106
# directory as the Homebrew Python, which causes the build to fail for macos-13. This line removes
107
107
# the symlink to the pre-installed Python so that the Homebrew Python is used instead.
108
+ # Note: when a new LLVM is released, the homebrew installation directory changes, so the builds will fail.
109
+ # We either need to upgrade LLVM or change the directory being pointed to.
108
110
- name : Native macOS (release)
109
111
if : runner.os == 'macOS'
110
112
run : |
111
113
brew update
112
114
find /usr/local/bin -lname '*/Library/Frameworks/Python.framework/*' -delete
113
115
brew install llvm@${{ matrix.llvm }}
114
116
export SDKROOT="$(xcrun --show-sdk-path)"
115
- export PATH="/opt/homebrew /opt/llvm@${{ matrix.llvm }} /bin:$PATH"
116
- export PATH="/usr/local /opt/llvm@${{ matrix.llvm }} /bin:$PATH"
117
- CC=clang-19 ./configure --with-tail-call-interp
117
+ export PATH="/usr/local /opt/llvm/bin:$PATH"
118
+ export PATH="/opt/homebrew /opt/llvm/bin:$PATH"
119
+ CC=clang-20 ./configure --with-tail-call-interp
118
120
make all --jobs 4
119
121
./python.exe -m test --multiprocess 0 --timeout 4500 --verbose2 --verbose3
120
122
@@ -123,7 +125,7 @@ jobs:
123
125
run : |
124
126
sudo bash -c "$(wget -O - https://apt.llvm.org/llvm.sh)" ./llvm.sh ${{ matrix.llvm }}
125
127
export PATH="$(llvm-config-${{ matrix.llvm }} --bindir):$PATH"
126
- CC=clang-19 ./configure --with-tail-call-interp --with-pydebug
128
+ CC=clang-20 ./configure --with-tail-call-interp --with-pydebug
127
129
make all --jobs 4
128
130
./python -m test --multiprocess 0 --timeout 4500 --verbose2 --verbose3
129
131
@@ -132,7 +134,7 @@ jobs:
132
134
run : |
133
135
sudo bash -c "$(wget -O - https://apt.llvm.org/llvm.sh)" ./llvm.sh ${{ matrix.llvm }}
134
136
export PATH="$(llvm-config-${{ matrix.llvm }} --bindir):$PATH"
135
- CC=clang-19 ./configure --with-tail-call-interp --disable-gil
137
+ CC=clang-20 ./configure --with-tail-call-interp --disable-gil
136
138
make all --jobs 4
137
139
./python -m test --multiprocess 0 --timeout 4500 --verbose2 --verbose3
138
140
0 commit comments