-
-
Notifications
You must be signed in to change notification settings - Fork 13.8k
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
kdevelop: 5.2.4 -> 5.3.1, bump llvm version used from 3.8 to 7 #55015
Conversation
This pull request has been mentioned on Nix community. There might be relevant details there: |
After some digging and discussion I found the issue and it wasn't related to NixOS or my build at all. This PR is ready to merge. |
This pull request has been mentioned on Nix community. There might be relevant details there: https://discourse.nixos.org/t/prs-ready-for-review-january/2002/4 |
@@ -17857,7 +17857,7 @@ in | |||
kdevelop-pg-qt = libsForQt5.callPackage ../applications/editors/kdevelop5/kdevelop-pg-qt.nix {}; | |||
|
|||
kdevelop = libsForQt5.callPackage ../applications/editors/kdevelop5/kdevelop.nix { | |||
llvmPackages = llvmPackages_38; | |||
llvmPackages = llvmPackages_7; |
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.
Any particular reason not to use llvmPackages_latest
? Is this likely to break with updates?
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.
The llvm package provides the c++ parsing and analysis for kdevelop and different versions of llvm can dramatically impact how the application behaves. The decision to move from one version of llvm to another might not break compilation, but it could break functionality, so a person should specifically test any llvm bumps to avoid breaking behavior in the application.
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.
Alright. Do you think this PR needs more testing? I don't use kdevelop personally.
At this point I've done enough testing I feel the PR is fine for merge. Thanks! |
Great, I'll take your word for it then :) Thank you! |
Motivation for this change
There have been some changes in kdevelop which prevented a simple version bump from compiling on NixOS. I've bumped the version and provided a fix so it will compile. I tested a brand new project with kdevelop and everything is working fine. Testing an existing project I had with kdevelop is not properly working.
I would appreciate anyone else who uses kdevelop to test this if possible and provide feedback. I'll try to follow up with kdevelop devs on troubleshooting to see what the issue might be and if it is specific to my project, or a problem with kdevelop 5.3.1 on NixOS (ie. this PR).
Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)nix path-info -S
before and after)