-
-
Notifications
You must be signed in to change notification settings - Fork 14.4k
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
llvmPackages_git.compiler-rt: fix build #217844
llvmPackages_git.compiler-rt: fix build #217844
Conversation
Use the same patch as compiler-rt 15.
Copied from LLVM 15.
@ofborg build llvmPackages_git.compiler-rt |
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.
I've been meaning to redo llvmPackages_git
starting from llvmPackages_15
once some of the remaining llvmPackages_15
PRs go through (llvmPackages_git
is missing a fair number of patches at this point I think) but merging this fix in the interim certainly doesn't hurt!
I'm a little unsure whether it makes sense to share the armv7l compiler-rt
patch between llvmPackages_15
and _git
(it seems like the two files it touches see a fair bit of churn and I imagine _git
will end up needing it's own version of the patch again once we update it) but this doesn't hurt either; at worst 15's version of the patch just ends up living in common
.
Yeah I wasn't sure either, but I decided it's best to avoid having two copies of the patch just in case one has to change later. |
I might beat you to it. :) I'm trying to copy all the changes that were made to llvmPackages_15 over to _git — I didn't want to end up with a single blob of changes that were difficult to understand. In future, it would probably make things easier to always make sure changes are added to _git at the same time as the latest LLVM. (And in the further future, to have a common builder function…) |
Sounds good! 🙂 Locally I've got
Definitely; I kind of gave up on it in the Please let me know if I can help in any way! Between the changes in #194634 and all the other PRs listed there I think there's lots that |
Thanks! Are you on Matrix? (I checked maintainer-list.nix and didn't see a Matrix ID for you.) It'd be great to have you in the Compilers Team channel, if you're not there already. |
Thanks! I just joined the channel |
Description of changes
Things done
sandbox = true
set innix.conf
? (See Nix manual)nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)