-
-
Notifications
You must be signed in to change notification settings - Fork 14k
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
ghdl: use gnat11 to unbreak build #184352
Conversation
ghdl-1.0.0 does not build with gnat12. The fixes appear to be upstream, but are spread across several patches. I tried cherry-picking the following: https://github.com/ghdl/ghdl/pull/2057/commits/4c3825daf54f81433e5de46cc25fdfac7189ffab.patch https://github.com/ghdl/ghdl/pull/2057/commits/8c5689b93e68ac34cdf7dd089a3990ae22f0049c.patch https://github.com/ghdl/ghdl/commit/f8b87697e8b893b6293ebbfc34670c32bfb49397.patch https://github.com/ghdl/ghdl/commit/54a18dda071449e80982da9e31be4685da30f0ed.patch ... but eventually ran up against a failure in a file which had been deleted from upstream prior to their "fix gnat12" push, so there is no simple cherry-pick. Let's fall back to gnat11 until we can update to a newer ghdl.
Is there a reason we can't update to a newer ghdl right now? I see version 2.0.0 has been released a few months ago. |
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 tried it for a bit, but updating to ghdl 2.0.0 does not seem trivial so this seems like a fine solution.
Or actually, updating to ghdl 2.0.0 is trivial but still needs gnat11. |
Yeah that was my conclusion as well. Also I encountered some breakage in packages downstream of ghdl after the upgrade ( |
If you do bump the version please consider hanging on to |
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
Description of changes
Our ghdl is currently broken because ghdl-1.0.0 does not build with gnat12. The fixes appear to be upstream, but are spread across several patches. I tried cherry-picking the following:
... but eventually ran up against a failure in a file which had been deleted from upstream prior to their "fix gnat12" push, so there is no simple cherry-pick.
Let's fall back to gnat11 until we can update to a newer ghdl.
Things done
nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)