-
-
Notifications
You must be signed in to change notification settings - Fork 14.9k
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
verilog: cleanup & test #97613
verilog: cleanup & test #97613
Conversation
292b7b2
to
475ee02
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.
Diff LGTM. Maybe this should be 2 commits, though: verilog: cleanup
, and verilog: add tests
or something.
Result of nixpkgs-review pr 97613
1
4 packages failed to build:
- bluespec
- python27Packages.cocotb
- python37Packages.cocotb
- python38Packages.cocotb
13 packages built:
- glasgow (python38Packages.glasgow)
- mcy
- python37Packages.glasgow
- python37Packages.nmigen
- python37Packages.nmigen-boards
- python37Packages.nmigen-soc
- python38Packages.nmigen
- python38Packages.nmigen-boards
- python38Packages.nmigen-soc
- symbiyosys
- verilog
- vhd2vl
- yosys
Fair. That's what I'd originally had but decided to squash it. Oh well. Will do |
475ee02
to
4f57fc9
Compare
Looks like build is failing on |
@GrahamcOfBorg build verilog |
a109560
to
1f89941
Compare
@GrahamcOfBorg build verilog |
Failing on OfBorg due to OfBorg not evaluating due to not having #97807. Once OfBorg has that, I can track down the |
You could try asking for access to https://github.com/nix-community/aarch64-build-box (instructions in the README) -- unfortunately, ofborg deployment has been broken for a while, |
1f89941
to
c8c8afe
Compare
Ok, my workaround is to disable the failing tests on aarch64. We'll see if OfBorg passes, but then we should be good to merge. |
Meta attributes were out of date or not in current style, and some attributes of derivation were redundant.
Run recommended self-tests from iverilog's CI. Tests add about a minute to the build time on local machine (2 -> 3 mins).
@GrahamcOfBorg build verilog |
c8c8afe
to
ba886f7
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.
LGTM
@veprbl are you saying you want me to backport these tests to the |
@drewrisinger I thought we would want to run tests on |
Motivation for this change
Independently from #97513, I was working on cleaning up the package for ZHF, and didn't see that PR before merging.
This cleans up the derivation and adds self-tests along the lines of what is done in CI. https://github.com/steveicarus/iverilog/blob/07bbf4ce0f1aeb6dcfbabe239514c55822779fd9/.travis.yml
Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)nix path-info -S
before and after)