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

bluespec: unstable-2020.02.09 -> unstable-2020.04.03 #84142

Closed
wants to merge 3 commits into from

Conversation

flokli
Copy link
Contributor

@flokli flokli commented Apr 2, 2020

This bumps bluespec to the latest version, which now doesn't use the
bundled tcl anymore (so we use the nixpkgs-provided one).

STP can also be easily stubbed away, by setting STP_STUB=1.

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
  • 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 nixpkgs-review --run "nixpkgs-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)
  • Ensured that relevant documentation is up to date
  • Fits CONTRIBUTING.md.

This bumps bluespec to the latest version, which now doesn't use the
bundled tcl anymore (so we use the nixpkgs-provided one).

STP can also be easily stubbed away, by setting STP_STUB=1.
@flokli flokli force-pushed the bluespec-unstable-2020.04.03 branch from e9bdc54 to 6118098 Compare April 3, 2020 01:21
@flokli
Copy link
Contributor Author

flokli commented Apr 3, 2020

This currently still fails in the smoketest:

Comparing result of Bluespec Simulation
Some simulator specific difference expected
./mkFibOne.bexe > smoke_test_bluesim.out
Unable to start itcl -- Can't find a usable itcl.tcl in the following directories:
    /nix/store/049inb6w0w1pmm8sa2addwqvg10p75jc-tcl-8.6.9/lib/itcl4.2.0 ./library /build/source/inst/bin/core/../lib/itcl4.2.0 /build/source/inst/bin/core/../library /build/source/inst/bin/core/../../library /build/source/inst/bin/core/../../itcl/library /build/source/inst/bin/core/../../../itcl/library /build/source/inst/bin/core/../../itcl-ng/itcl/library /nix/store/049inb6w0w1pmm8sa2addwqvg10p75jc-tcl-8.6.9/lib /nix/store/049inb6w0w1pmm8sa2addwqvg10p75jc-tcl-8.6.9/lib/itcl4.2.0
This probably means that Itcl/Tcl weren't installed properly.
If you know where the Itcl library directory was installed,
you can set the environment variable ITCL_LIBRARY to point
to the library directory.

./mkFibOne.bexe: exec: line 12: /tcllib/bluespec/bluesim.tcl: not found
make[1]: *** [Makefile:103: smoke_test_bluesim] Error 127
make[1]: *** Waiting for unfinished jobs....
diff mkFibOne.out.expected smoke_test_verilog.out

Bluespec installation looks OK
make[1]: Leaving directory '/build/source/examples/smoke_test'
make: *** [Makefile:34: check] Error 2
builder for '/nix/store/70zx65r4lbmicbabxngybmfmqmrvjas4-bluespec-unstable-2020.04.03.drv' failed with exit code 2

@flokli
Copy link
Contributor Author

flokli commented May 4, 2020

@thoughtpolice will you be able to take a look at this?

@thoughtpolice
Copy link
Member

@flokli Yes, very sorry about my latency recently. I've still got some patches I need to submit upstream to Julie before we can move forward here, sorry! I'll try to do that later today.

@flokli
Copy link
Contributor Author

flokli commented May 18, 2020

@thoughtpolice no worries, do whenever you have the time for it.

Also, let me know when you need someone reviewing some of these patches :-)

Copy link
Contributor

@bhipple bhipple left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Waiting for @thoughtpolice as mentioned above.

@flokli
Copy link
Contributor Author

flokli commented Nov 11, 2020

I won't be able to pick this up any time soon, and just opened #103487.

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

4 participants