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
Update FOSS EDA tools again #67022
Update FOSS EDA tools again #67022
Conversation
d5be0b1
to
c55d7b0
Compare
c55d7b0
to
787367f
Compare
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.
Thank you for very much for this! Running a build on my machine (which should finish soon), but these all look good to me. I'm glad to see the Trellis hack (which required a 'double build' due to the overridden postInstall
) is gone, and very happy to see the NextPNR GUI finally enabled!
@GrahamcOfBorg build icestorm trellis (This is to check |
Trellis builds just fine on Darwin, but I'm afraid |
nextpnr = libsForQt5.callPackage ../development/compilers/nextpnr { | ||
# QT 5.12 has a weird regression involving the floorplanning window having | ||
# a 'blank' or 'transparent' background, so fall back to 5.11 for now. | ||
qtbase = qt511.qtbase; |
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.
note: The proper way to have done that would have been to use libsForQt511.callPackage
Hopefully it should build on Darwin now; I unfortunately don't have a machine to hand to test with so we'll have to see what borg thinks again. |
@GrahamcOfBorg build icestorm |
It looks like we'll also need to make https://logs.nix.ci/?key=nixos/nixpkgs.67022&attempt_id=033bb25f-0eea-40c3-a82d-f483ee994a31
see: https://github.com/nblock/libftdi/blob/d0fc6f3f412090025bf8d4a07dec0f55466f457a/configure.in#L37 and https://github.com/nblock/libftdi/blob/d0fc6f3f412090025bf8d4a07dec0f55466f457a/src/ftdi.c#L39 A simple |
(Also note: we can also just revert the changes to the platforms settings for now, if you'd like me to merge this sooner instead of us playing whack-a-mole with borg, and we can add darwin support for |
dcbd283
to
eb197f8
Compare
I'm okay doing whack-a-mole to get the packages more broadly supported; all my local stuff has pinned versions currently anyway. Hopefully the asynchronous mode isn't required by icestorm... |
a6a7b2d
to
9deb786
Compare
@GrahamcOfBorg build icestorm |
Good news: looks like We might just want to change the icestorm pypy conditional for now to be |
Note: the previous sha256 was incorrect.
9deb786
to
ccaa1a4
Compare
Switched over the icestorm conditional to the more specific |
ccaa1a4
to
5ef0de2
Compare
@GrahamcOfBorg build icestorm |
yay! |
@emilazy Merged, and thanks so much for these updates and contributing! |
Motivation for this change
nextpnr was broken due to the SHA-256 of an incorrect commit being used, oops; so I took the opportunity to bump versions again, fix a few issues, and add myself to maintainers. (It was working without errors for me locally because of
fetchFromGitHub
using a fixed-output derivation and having the other commit cached; is there any way to proactively debug these issues?)I also extended the platforms to
platforms.all
because all of these tools should work fine on Darwin/macOS as far as I know (in fact, they all run on Windows). Let me know if this is incorrect.Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nix-review --run "nix-review wip"
./result/bin/
)nix path-info -S
before and after)Notify maintainers
cc @thoughtpolice; I'm pretty sure the reason the nextpnr GUI was broken was overriding
qtbase
rather than usinglibsForQt511
, but I can't reproduce the issue with Qt 5.12 locally anyway so I bumped it back. It looks like it might be related to YosysHQ/nextpnr#240 / YosysHQ/nextpnr#278; YosysHQ/nextpnr#169 might have fixed it?cc @worldofpeace for the Qt nixpkgs infra changes in 993c02afd472de0741cb5defa9e81440438c76c1