-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #138 from ZerataX/PaketeBewegen
make yacx sbt compatible
- Loading branch information
Showing
55 changed files
with
506 additions
and
251 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
|
||
ThisBuild / scalaVersion := "2.12.10" | ||
|
||
lazy val buildExecutor = taskKey[Unit]("Builds C executor library") | ||
|
||
buildExecutor := { | ||
import scala.language.postfixOps | ||
import scala.sys.process._ | ||
//noinspection PostfixMethodCall | ||
"echo y" #| (baseDirectory.value + "/yacx.sh --buildj") ! | ||
} | ||
|
||
lazy val CUexecutor = (project in file(".")) | ||
.settings( | ||
name := "CUDA executor", | ||
version := "0.4.1", | ||
libraryDependencies += "junit" % "junit" % "4.11", | ||
|
||
compileOrder := CompileOrder.JavaThenScala, | ||
|
||
compile := ((compile in Compile) dependsOn buildExecutor).value, | ||
test := ((test in Test) dependsOn buildExecutor).value | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.