Skip to content
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

Yosys, nextpnr, Z3, etc updates #53671

merged 10 commits into from Jan 9, 2019


Copy link

commented Jan 8, 2019

Motivation for this change

Various updates to core EDA tools, and some SMT touchups as well.

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Determined the impact on package closure size (by running nix path-info -S before and after)
  • Assured whether relevant documentation is up to date
  • Fits

yosys: 2018.10.17 -> 2019.01.08
Signed-off-by: Austin Seipp <>
symbiyosys: 2018.09.12 -> 2018.12.09
Signed-off-by: Austin Seipp <>
icestorm: 2018.09.04 -> 2018.12.31
Signed-off-by: Austin Seipp <>
nextnpr: 2018.12.29 -> 2019.01.08
Signed-off-by: Austin Seipp <>
z3: 4.8.3 -> 4.8.4
Signed-off-by: Austin Seipp <>
yices: s/fetchurl/fetchFromGitHub/
Signed-off-by: Austin Seipp <>

@thoughtpolice thoughtpolice self-assigned this Jan 8, 2019


This comment has been minimized.

Copy link
Member Author

commented Jan 8, 2019

@GrahamcOfBorg build yosys symbiyosys icestorm nextpnr z3 yices

nextpnr: disable broken GUI build for now
This didn't work remotely (on a server with Nvidia drivers) _or_ on a
local Intel machine with integrated graphics. I presumably messed
something up (a missing dependency), but I'm not sure where. We can fix
it later.

In the mean time, just disable this by hiding it behind a minimal flag.
As a bonus this reduces the closure size by about half, although it's
still surprisingly large (~300MB or so). Part of that is probably
Python, though.

When the GUI is reintroduced in a working manner, we can expose two
nextpnr attributes for the minimal non-GUI build, and the GUI build.
(Note that I have no plans of making Python optional, since it's
extremely valuable in general and much more lightweight than qtbase.)

Signed-off-by: Austin Seipp <>
nextpnr: fix version string output
Signed-off-by: Austin Seipp <>
trellis: 2018.08.01 -> 2018.12.20, update, cleanup
Signed-off-by: Austin Seipp <>
nextpnr: enable ECP5 P&R with Project Trellis
This requires an absurd, disgustingly gross hack in order to share the
build artifacts necessary for nextpnr to use trellis.

Signed-off-by: Austin Seipp <>

@thoughtpolice thoughtpolice merged commit beaf69c into NixOS:master Jan 9, 2019

12 of 13 checks passed

nix-build -A icestorm -A nextpnr -A symbiyosys -A trellis -A yices -A yosys -A z3 --argstr system x86_64-linux Build Results
grahamcofborg-eval ^.^!
grahamcofborg-eval-check-maintainers matching changed paths to changed attrs...
grahamcofborg-eval-check-meta config.nix: checkMeta = true
grahamcofborg-eval-nixos-manual nix-instantiate --arg nixpkgs { outPath=./.; revCount=999999; shortRev="ofborg"; } ./nixos/release.nix -A manual
grahamcofborg-eval-nixos-options nix-instantiate --arg nixpkgs { outPath=./.; revCount=999999; shortRev="ofborg"; } ./nixos/release.nix -A options
grahamcofborg-eval-nixpkgs-manual nix-instantiate --arg nixpkgs { outPath=./.; revCount=999999; shortRev="ofborg"; } ./pkgs/top-level/release.nix -A manual
grahamcofborg-eval-nixpkgs-tarball nix-instantiate --arg nixpkgs { outPath=./.; revCount=999999; shortRev="ofborg"; } ./pkgs/top-level/release.nix -A tarball
grahamcofborg-eval-nixpkgs-unstable-jobset nix-instantiate --arg nixpkgs { outPath=./.; revCount=999999; shortRev="ofborg"; } ./pkgs/top-level/release.nix -A unstable
grahamcofborg-eval-package-list nix-env -qa --json --file .
grahamcofborg-eval-package-list-no-aliases nix-env -qa --json --file . --arg config { allowAliases = false; }
nix-build -A icestorm -A nextpnr -A symbiyosys -A trellis -A yices -A yosys -A z3 --argstr system aarch64-linux Build Results
nix-build -A icestorm -A nextpnr -A symbiyosys -A trellis -A yices -A yosys -A z3 --argstr system x86_64-darwin Build Results

@thoughtpolice thoughtpolice deleted the thoughtpolice:nixpkgs/yosys-updates branch Jan 9, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
2 participants
You can’t perform that action at this time.