Skip to content

Commit

Permalink
fix build.sbt
Browse files Browse the repository at this point in the history
  • Loading branch information
Dolu1990 committed Sep 19, 2024
1 parent 6a8a6b6 commit 8abcd9b
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions build.sbt
Original file line number Diff line number Diff line change
@@ -1,12 +1,6 @@
val spinalVersion = "dev"
val spinalHdlFromSource = sys.env.getOrElse("SPINALHDL_FROM_SOURCE", "1") == "1"
val spinalHdlPath = new File(sys.env.getOrElse("SPINALHDL_PATH", {
if (new File("..").getCanonicalFile.getName == "ext" && new File("../SpinalHDL").exists()) {
"../SpinalHDL"
} else {
"ext/SpinalHDL"
}
})).getAbsolutePath
val spinalHdlPath = new File(sys.env.getOrElse("SPINALHDL_PATH", "ext/SpinalHDL")).getAbsolutePath

def rootGen() = {
var ret = (project in file(".")).settings(
Expand All @@ -33,7 +27,7 @@ def rootGen() = {
name := "VexiiRiscv"
)
if(spinalHdlFromSource){
ret = ret.dependsOn(spinalHdlIdslPlugin, spinalHdlSim,spinalHdlCore,spinalHdlLib)
ret = ret.dependsOn(spinalHdlIdslPlugin, spinalHdlSim, spinalHdlCore, spinalHdlLib)
}
ret
}
Expand Down

0 comments on commit 8abcd9b

Please sign in to comment.