8000 gh-119292: Add job to `jit.yml` to build and test with `--disable-gil` by savannahostrowski · Pull Request #119293 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-119292: Add job to jit.yml to build and test with --disable-gil #119293

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 10 commits into from
May 21, 2024
Next Next commit
add jit and no gil ci job
  • Loading branch information
savannahostrowski committed May 21, 2024
commit 18349bfd37b42107e162185ffeed77e28aae3f88
27 changes: 26 additions & 1 deletion .github/workflows/jit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.11'
python-version: '3.11'

- name: Native Windows
if: runner.os == 'Windows' && matrix.architecture != 'ARM64'
Expand Down Expand Up @@ -144,3 +144,28 @@ jobs:
./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
make all --jobs 4
./python -m test --ignorefile=Tools/jit/ignore-tests-emulated-linux.txt --multiprocess 0 --timeout 4500 --verbose2 --verbose3
jit-with-no-gil:
runs-on: x86_64-unknown-linux-gnu/gcc
strategy:
fail-fast: false
matrix:
llvm:
- 18
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Build with JIT and No GIL
run: |
sudo bash -c "$(wget -O - https://apt.llvm.org/llvm.sh)" ./llvm.sh ${{ matrix.llvm }}
export PATH="$(llvm-config-${{ matrix.llvm }} --bindir):$PATH"
./configure --enable-experimental-jit --with-pydebug --disable-gil
make all --jobs 4
- name: Run Test Suite
run: |
./python -m test --multiprocess 0 --timeout 4500 --verbose2 --verbose3




0