FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

gh-119292: Add job to `jit.yml` to build and test with `--disable-gil` by savannahostrowski · Pull Request #119293 · python/cpython · GitHub

/ cpython Public

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

Merged
brandtbucher merged 10 commits into
python:mainfrom
savannahostrowski:jit-no-gil-ci
May 21, 2024
Merged

gh-119292: Add job to jit.yml to build and test with --disable-gil#119293
brandtbucher merged 10 commits into
python:mainfrom
savannahostrowski:jit-no-gil-ci

Conversation

savannahostrowski commented May 21, 2024
edited
Loading

Copy link
Copy Markdown
Member

Alrighty, so I added a very basic job to test that we don't regress things as the JIT and free threading work evolves. I split the build and test into separate steps, so we have a little finer granularity on failures (it's just slightly prettier!). I also opted not to use strategy/matrix to pass in the LLVM version since we only support 18 today. I can add that in if folks feel strongly if we want to keep things very consistent with the other job, but I was going for simple 😄

savannahostrowski commented May 21, 2024
edited
Loading

Copy link
Copy Markdown
Member Author

I also think I messed up the issue tagging bot by adding my PR comment after opening the PR...not sure how to fix that? Copy paste saves the day?

Comment thread .github/workflows/jit.yml Outdated
Comment thread .github/workflows/jit.yml Outdated
savannahostrowski and others added 2 commits May 20, 2024 21:36
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>

Copy link
Copy Markdown
Member Author

I suppose this could also be implemented as a matrix entry using include. For now, I feel like a new job is probably simpler because we're only testing a single platform, but if we ever want to expand the tested platforms, we could consider moving in that direction to avoid a ton of duplication.

Comment thread .github/workflows/jit.yml
- name: Build with JIT enabled and GIL disabled
run: |
sudo bash -c "$(wget -O - https://apt.llvm.org/llvm.sh)" ./llvm.sh 18
export PATH="$(llvm-config-18 --bindir):$PATH"

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Opinions: should we add --with-pydebug? Maybe test both modes?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

I think it's fine to leave this as-is (just one --with-pydebug build).

brandtbucher left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Great idea.

One suggestion:

Comment thread .github/workflows/jit.yml
Co-authored-by: Brandt Bucher <brandtbucher@gmail.com>
brandtbucher merged commit c4722cd into python:main May 21, 2024
brandtbucher self-assigned this May 21, 2024
brandtbucher added tests Tests in the Lib/test dir awaiting merge needs backport to 3.13 bugs and security fixes labels May 21, 2024

Copy link
Copy Markdown

Thanks @savannahostrowski for the PR, and @brandtbucher for merging it 🌮🎉.. I'm working now to backport this PR to: 3.13.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request May 21, 2024
…il (pythonGH-119293)

(cherry picked from commit c4722cd)

Co-authored-by: Savannah Ostrowski <savannahostrowski@gmail.com>
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>

bedevere-app Bot commented May 21, 2024

Copy link
Copy Markdown

GH-119314 is a backport of this pull request to the 3.13 branch.

bedevere-app Bot removed the needs backport to 3.13 bugs and security fixes label May 21, 2024
estyxx pushed a commit to estyxx/cpython that referenced this pull request Jul 17, 2024
…il (pythonGH-119293)

Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
savannahostrowski deleted the jit-no-gil-ci branch September 27, 2024 16:55
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants


Back | FazBrowse Home | New Git URL