1 Star 0 Fork 0

谯晨 / freedom

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
build.sbt 989 Bytes
一键复制 编辑 原始数据 按行查看 历史
SiFive 提交于 2016-11-29 05:23 . Initial commit.
// See LICENSE for license details.
organization := "com.sifive"
name := "freedom"
version := "0.1.0"
lazy val commonSettings = Seq(
scalaVersion := "2.11.7", // This needs to match rocket-chip's scalaVersion
scalacOptions ++= Seq(
"-deprecation",
"-feature",
"-unchecked",
"-Xfatal-warnings",
"-language:reflectiveCalls"
)
)
// A RootProject (not well-documented) tells sbt to treat the target directory
// as its own root project, reading its build settings. If we instead used the
// normal `project in file()` declaration, sbt would ignore all of rocket-chip's
// build settings, and therefore not understand that it has its own dependencies
// on chisel, etc.
lazy val rocketChip = RootProject(file("rocket-chip"))
lazy val sifiveBlocks = (project in file("sifive-blocks")).
dependsOn(rocketChip).
settings(commonSettings: _*)
lazy val freedomPlatforms = (project in file(".")).
dependsOn(rocketChip, sifiveBlocks).
settings(commonSettings: _*)
1
https://gitee.com/wangyaobsz/freedom.git
git@gitee.com:wangyaobsz/freedom.git
wangyaobsz
freedom
freedom
master

搜索帮助