4141 - true
4242 - false
4343 llvm :
44- - 16
44+ - 18
4545 include :
4646 - target : i686-pc-windows-msvc/msvc
4747 architecture : Win32
@@ -76,13 +76,13 @@ jobs:
7676 runner : ubuntu-latest
7777 compiler : gcc
7878 # These fail because of emulation, not because of the JIT:
79- exclude : test_unix_events test_init test_process_pool test_shutdown test_multiprocessing_fork test_cmd_line test_faulthandler test_os test_perf_profiler test_posix test_signal test_socket test_subprocess test_threading test_venv test_external_inspection
79+ exclude : test_pathlib test_posixpath test_unix_events test_init test_process_pool test_shutdown test_multiprocessing_fork test_cmd_line test_faulthandler test_os test_perf_profiler test_posix test_signal test_socket test_subprocess test_threading test_venv test_external_inspection
8080 - target : aarch64-unknown-linux-gnu/clang
8181 architecture : aarch64
8282 runner : ubuntu-latest
8383 compiler : clang
8484 # These fail because of emulation, not because of the JIT:
85- exclude : test_unix_events test_init test_process_pool test_shutdown test_multiprocessing_fork test_cmd_line test_faulthandler test_os test_perf_profiler test_posix test_signal test_socket test_subprocess test_threading test_venv test_external_inspection
85+ exclude : test_pathlib test_posixpath test_unix_events test_init test_process_pool test_shutdown test_multiprocessing_fork test_cmd_line test_faulthandler test_os test_perf_profiler test_posix test_signal test_socket test_subprocess test_threading test_venv test_external_inspection
8686 env :
8787 CC : ${{ matrix.compiler }}
8888 steps :
9494 - name : Native Windows
9595 if : runner.os == 'Windows' && matrix.architecture != 'ARM64'
9696 run : |
97+ choco upgrade llvm -y
9798 choco install llvm --allow-downgrade --no-progress --version ${{ matrix.llvm }}
9899 ./PCbuild/build.bat --experimental-jit ${{ matrix.debug && '-d' || '--pgo' }} -p ${{ matrix.architecture }}
99100 ./PCbuild/rt.bat ${{ matrix.debug && '-d' }} -p ${{ matrix.architecture }} -q --exclude ${{ matrix.exclude }} --multiprocess 0 --timeout 4500 --verbose2 --verbose3
@@ -102,27 +103,31 @@ jobs:
102103 - name : Emulated Windows
103104 if : runner.os == 'Windows' && matrix.architecture == 'ARM64'
104105 run : |
106+ choco upgrade llvm -y
105107 choco install llvm --allow-downgrade --no-progress --version ${{ matrix.llvm }}
106108 ./PCbuild/build.bat --experimental-jit ${{ matrix.debug && '-d' || '' }} -p ${{ matrix.architecture }}
107109
108110 - name : Native macOS
109111 if : runner.os == 'macOS'
110112 run : |
113+ brew update
111114 brew install llvm@${{ matrix.llvm }}
112115 SDKROOT="$(xcrun --show-sdk-path)" \
113116 ./configure --enable-experimental-jit ${{ matrix.debug && '--with-pydebug' || '--enable-optimizations --with-lto' }}
114117 make all --jobs 4
115118 ./python.exe -m test --exclude ${{ matrix.exclude }} --multiprocess 0 --timeout 4500 --verbose2 --verbose3
116119
120+ # --with-lto has been removed temporarily as a result of an open issue in LLVM 18 (see https://github.com/llvm/llvm-project/issues/87553)
117121 - name : Native Linux
118122 if : runner.os == 'Linux' && matrix.architecture == 'x86_64'
119123 run : |
120124 sudo bash -c "$(wget -O - https://apt.llvm.org/llvm.sh)" ./llvm.sh ${{ matrix.llvm }}
121125 export PATH="$(llvm-config-${{ matrix.llvm }} --bindir):$PATH"
122- ./configure --enable-experimental-jit ${{ matrix.debug && '--with-pydebug' || '--enable-optimizations --with-lto ' }}
126+ ./configure --enable-experimental-jit ${{ matrix.debug && '--with-pydebug' || '--enable-optimizations' }}
123127 make all --jobs 4
124128 ./python -m test --exclude ${{ matrix.exclude }} --multiprocess 0 --timeout 4500 --verbose2 --verbose3
125129
130+ # --with-lto has been removed temporarily as a result of an open issue in LLVM 18 (see https://github.com/llvm/llvm-project/issues/87553)
126131 - name : Emulated Linux
127132 if : runner.os == 'Linux' && matrix.architecture != 'x86_64'
128133 run : |
@@ -139,6 +144,6 @@ jobs:
139144 CC="${{ matrix.compiler == 'clang' && 'clang --target=$HOST' || '$HOST-gcc' }}" \
140145 CPP="$CC --preprocess" \
141146 HOSTRUNNER=qemu-${{ matrix.architecture }} \
142- ./configure --enable-experimental-jit ${{ matrix.debug && '--with-pydebug' || '--enable-optimizations --with-lto ' }} --build=x86_64-linux-gnu --host="$HOST" --with-build-python=../build/bin/python3 --with-pkg-config=no ac_cv_buggy_getaddrinfo=no ac_cv_file__dev_ptc=no ac_cv_file__dev_ptmx=yes
147+ ./configure --enable-experimental-jit ${{ matrix.debug && '--with-pydebug' || '--enable-optimizations ' }} --build=x86_64-linux-gnu --host="$HOST" --with-build-python=../build/bin/python3 --with-pkg-config=no ac_cv_buggy_getaddrinfo=no ac_cv_file__dev_ptc=no ac_cv_file__dev_ptmx=yes
143148 make all --jobs 4
144149 ./python -m test --exclude ${{ matrix.exclude }} --multiprocess 0 --timeout 4500 --verbose2 --verbose3
0 commit comments