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

trellis: init 2018.08.01 #44328

Merged
merged 3 commits into from Aug 2, 2018
Merged

trellis: init 2018.08.01 #44328

merged 3 commits into from Aug 2, 2018

Conversation

q3k
Copy link
Member

@q3k q3k commented Aug 1, 2018

Motivation for this change

This adds a package for Project Trellis, a prerequisite for the open-source verilog-to-bistream flow for Lattice ECP5 FPGAs.

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)
  • Fits CONTRIBUTING.md.

@q3k q3k changed the title trellis: init 2018.08.01 [WIP] trellis: init 2018.08.01 Aug 1, 2018
@q3k q3k changed the title [WIP] trellis: init 2018.08.01 trellis: init 2018.08.01 Aug 1, 2018
@q3k
Copy link
Member Author

q3k commented Aug 1, 2018

Ready for review.

@q3k
Copy link
Member Author

q3k commented Aug 1, 2018

Okay, now ready for review, sorry :)

@xeji
Copy link
Contributor

xeji commented Aug 2, 2018

@GrahamcOfBorg build trellis

@GrahamcOfBorg
Copy link

No attempt on x86_64-darwin (full log)

The following builds were skipped because they don't evaluate on x86_64-darwin: trellis

Partial log (click to expand)


a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowUnsupportedSystem = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowUnsupportedSystem = true; }
to ~/.config/nixpkgs/config.nix.


@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Attempted: trellis

Partial log (click to expand)

-- Installing: /nix/store/d18l2zywkqix21ncn5q5fwg68mg0yrsr-trellis-2018.08.01/share/trellis/database/.gitignore
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/d18l2zywkqix21ncn5q5fwg68mg0yrsr-trellis-2018.08.01
shrinking /nix/store/d18l2zywkqix21ncn5q5fwg68mg0yrsr-trellis-2018.08.01/bin/ecpunpack
shrinking /nix/store/d18l2zywkqix21ncn5q5fwg68mg0yrsr-trellis-2018.08.01/bin/ecppack
shrinking /nix/store/d18l2zywkqix21ncn5q5fwg68mg0yrsr-trellis-2018.08.01/lib/libtrellis.so
strip is /nix/store/zrs21zqcchgyabjf4xfimncdq16njizc-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/d18l2zywkqix21ncn5q5fwg68mg0yrsr-trellis-2018.08.01/lib  /nix/store/d18l2zywkqix21ncn5q5fwg68mg0yrsr-trellis-2018.08.01/bin
patching script interpreter paths in /nix/store/d18l2zywkqix21ncn5q5fwg68mg0yrsr-trellis-2018.08.01
checking for references to /build in /nix/store/d18l2zywkqix21ncn5q5fwg68mg0yrsr-trellis-2018.08.01...

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: trellis

Partial log (click to expand)

-- Installing: /nix/store/hv8cqb4qnqkwigk6mwx4c946j2x0wc98-trellis-2018.08.01/share/trellis/database/COPYING
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/hv8cqb4qnqkwigk6mwx4c946j2x0wc98-trellis-2018.08.01
shrinking /nix/store/hv8cqb4qnqkwigk6mwx4c946j2x0wc98-trellis-2018.08.01/lib/libtrellis.so
shrinking /nix/store/hv8cqb4qnqkwigk6mwx4c946j2x0wc98-trellis-2018.08.01/bin/ecpunpack
shrinking /nix/store/hv8cqb4qnqkwigk6mwx4c946j2x0wc98-trellis-2018.08.01/bin/ecppack
strip is /nix/store/1hi76hr87bd1y1q1qjk0lv8nmcjip1c8-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/hv8cqb4qnqkwigk6mwx4c946j2x0wc98-trellis-2018.08.01/lib  /nix/store/hv8cqb4qnqkwigk6mwx4c946j2x0wc98-trellis-2018.08.01/bin
patching script interpreter paths in /nix/store/hv8cqb4qnqkwigk6mwx4c946j2x0wc98-trellis-2018.08.01
checking for references to /build in /nix/store/hv8cqb4qnqkwigk6mwx4c946j2x0wc98-trellis-2018.08.01...

@xeji xeji merged commit 742a50d into NixOS:master Aug 2, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants