-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.sbt
35 lines (29 loc) · 1.19 KB
/
build.sbt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
import sbt.Keys.unmanagedJars
import sbt.file
ThisBuild / version := "1.0"
ThisBuild / scalaVersion := "2.11.12"
ThisBuild / organization := "org.FireFlyv2"
ThisBuild / scalacOptions += "-target:jvm-1.8"
// SpinalHDL
//val spinalVersion = "1.8.0b"
val spinalVersion = "1.9.0"
val spinalCore = "com.github.spinalhdl" %% "spinalhdl-core" % spinalVersion
val spinalLib = "com.github.spinalhdl" %% "spinalhdl-lib" % spinalVersion
val spinalIdslPlugin = compilerPlugin(
"com.github.spinalhdl" %% "spinalhdl-idsl-plugin" % spinalVersion
)
// djl for AI & array manipulation
val djlCore = "ai.djl" % "api" % "0.20.0"
val djlBackend = "ai.djl.pytorch" % "pytorch-engine" % "0.20.0"
val snakeYaml = "org.yaml" % "snakeyaml" % "1.33"
lazy val FireFlyv2 = (project in file("."))
.settings(
name := "FireFlyv2",
libraryDependencies ++= Seq(spinalCore, spinalLib, spinalIdslPlugin),
libraryDependencies += "org.scalanlp" %% "breeze" % "1.0", // for numeric & matrix operations
libraryDependencies += "org.scalatest" %% "scalatest" % "3.2.9", // for scala test
libraryDependencies += djlCore,
libraryDependencies += djlBackend,
libraryDependencies += snakeYaml
)
fork := true