-
Notifications
You must be signed in to change notification settings - Fork 678
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
Error with sbt thin client: Invalid build URI #833
Comments
Generally, the SBT thin client is really brittle. With that being said, this works on my end. Running:
With the only variables set as:
Maybe this is a difference in Java versions? I'm running: As a side note, you might notice in the future that the thin client doesn't exit properly on a build fail. This is because we aren't using the specific SBT launch script (instead we are launching from the jar file): sbt/sbt#6196. Figured this should be mentioned in text somewhere. This means there has to be more work on cleanly running SBT and the thin client. |
I got the same two errors of @tymcauley and @shi27feng in #555. I did what @tymcauley wrote and now I can run However, if I launch
Moreover, if I try, inside the folder
I am simply trying to see how the bitstream is generated for the board above. I am new to Chipyard. I'm currently on the master branch (latest release), running on an Ubuntu 20.04 machine. Thank you very much in advance. |
Resolved by #880 |
Impact: other
Tell us about your environment:
Chipyard Version: dev, hash
262c5c8
OS:
Linux 3.10.0-957.27.2.el7.x86_64 #1 SMP Mon Jul 29 17:46:05 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Linux 5.4.0-67-generic #75-Ubuntu SMP Fri Feb 19 18:03:38 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
Other:
What is the current behavior?
When I try to start up the
sbt
thin client (ENABLE_SBT_THIN_CLIENT=1 make -C sims/vcs start-sbt-server
), I get an error related to thesbt.workspace
variable from thesbt
server process.What is the expected behavior?
The
sbt
server should start up.Other information
This seems related to some of the issues I ran into with setting the
sbt.workspace
variable at the bottom of #555. When I try to start up thesbt
server, I get this:So, it's looking in my home directory for
chisel3
, rather than in/path/to/chipyard/tools
. If I had to guess, that's because while thesbt
thin client gets-Dsbt.workspace
set at the command-line, thesbt
server instance doesn't get that option (or any of the other options). However, if I create a.sbtopts
file that looks like this:... then that
start-sbt-server
command succeeds, and I can runENABLE_SBT_THIN_CLIENT=1 make -C sims/vcs verilog
, which interacts with thesbt
server.Should we be using a
.sbtopts
file rather than passing those arguments around theSBT_OPTS
variable invariables.mk
? Or is there some way to pass arguments to thesbt
server process? I'm actually also running into a bunch of Java garbage collection performance issues with thesbt
server, which makes me think it's also not getting the-Xmx8G -Xss8M -XX:MaxPermSize=256M
settings.The text was updated successfully, but these errors were encountered: