-
-
Notifications
You must be signed in to change notification settings - Fork 31.8k
JIT README: How to install LLVM on Fedora Linux #118983
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
Conversation
As a side note, I've also inquired about having LLVM 18 available in Fedora Linux 39. |
Miro, is this really should target 3.13 branch? I guess you have chose this one accidentally. |
No worries! Bad things happens sometimes with Github UI/UX :). I've dismissed requests for review from everyone except Brandt. |
However, I'm wondering why changing README.md triggers our CI/CD actions (I mean actions that build the interpreter and run the test suite). This obviously should not happen for this kind of changes. This could be easily fixed by changing the diff --git a/.github/workflows/jit.yml b/.github/workflows/jit.yml
index 7152cde8f4..1ac2829f0a 100644
--- a/.github/workflows/jit.yml
+++ b/.github/workflows/jit.yml
@@ -1,6 +1,8 @@
name: JIT
on:
pull_request:
+ paths-ignore:
+ - 'Tools/jit/README.md'
paths:
- '**jit**'
- 'Python/bytecodes.c' Perhaps it's not worth the effort because README is rarely changed. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM - thanks for adding this!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
That makes sense to me. @brandtbucher, what do you think? |
Could also ignore |
Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
Install LLVM 18 on Fedora Linux 40 or newer: | ||
|
||
```sh | ||
sudo dnf install 'clang(major) = 18' 'llvm(major) = 18' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for this! Just double-checking, is the separate Clang install necessary (it's not bundled with the LLVM install)?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Correct. Installing just LLVM does not install clang. Neither the other way around.
Also, if somebody wants to open a PR to ignore JIT CI on the following files, go ahead:
|
Happy to do that! @brandtbucher |
Thanks @hroncok for the PR, and @brandtbucher for merging it 🌮🎉.. I'm working now to backport this PR to: 3.13. |
(cherry picked from commit ab73bcd) Co-authored-by: Miro Hrončok <miro@hroncok.cz> Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
GH-119100 is a backport of this pull request to the 3.13 branch. |
Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
cc @brandtbucher