Commit 99268e4c authored by Jack Koenig's avatar Jack Koenig Committed by Mergify
Browse files

Switch to firtool-resolver (#3458)

Whereas in the past, the user was expected to provide the firtool binary
on the PATH, Chisel will now manage the firtool binary automatically.
Chisel users the following 3-step process for determining which binary
to use:

1. If environment variable FIRTOOL_PATH is set, it will check for
   firtool in that directory
2. It will check the classpath for firtool provided by
   chipsalliance/llvm-firtool
3. It will download a default version of chipsalliance/llvm-firtool

Both (2) and (3) will store the firtool binary in a sensible location
depending on the user's operating system. See dirs-dev/directories-jvm
for more information. The user can override this location by setting the
FIRTOOL_CACHE environment variable.

(cherry picked from commit 3938a465)

# Conflicts:
#	.github/workflows/build-scala-cli-template.yml
#	.github/workflows/ci.yml
#	.github/workflows/test.yml
#	build.sbt
#	build.sc
#	common.sc
#	project/plugins.sbt
#	src/main/scala/circt/stage/phases/CIRCT.scala
#	src/test/scala/chiselTests/LoadMemoryFromFileSpec.scala
#	src/test/scala/circtTests/stage/ChiselStageSpec.scala
parent d752cae0
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment