global def sifiveBlocksRoot = here
publish ivyDepLocations = sifiveBlocksRoot, Nil

def scalacOpts =
  "-deprecation",
  "-feature",
  "-unchecked",
  "-language:reflectiveCalls",
  "-Xsource:2.11",
  Nil

global def sifiveBlocksScalaModule =
  makeScalaModuleFromJSON here "sifiveBlocks"
  | setScalaModuleDeps (rocketchipScalaModule, Nil)
  | setScalaModuleScalacOptions scalacOpts
  | addMacrosParadiseCompilerPlugin
