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

Switch to firtool-resolver (backport #3458) #3687

Open
wants to merge 1 commit into
base: 3.6.x
Choose a base branch
from

Commits on Dec 14, 2023

  1. 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 3938a46)
    
    # 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
    jackkoenig authored and mergify[bot] committed Dec 14, 2023
    Configuration menu
    Copy the full SHA
    99268e4 View commit details
    Browse the repository at this point in the history