Permalink
Browse files

[BUILD] Minor bug fixes in the build files.

  • Loading branch information...
eaplatanios committed Sep 12, 2018
1 parent 157ca35 commit a0243827fa7975e0aac51f0b68d481bb506313d4
Showing with 5 additions and 6 deletions.
  1. +0 −1 .jvmopts
  2. +4 −4 project/TensorFlowNativePackage.scala
  3. +1 −1 project/build.properties
View
@@ -1,7 +1,6 @@
-Dfile.encoding=UTF8
-Xms1G
-Xmx4G
-Xms4G
-Xss2M
-XX:ReservedCodeCacheSize=256M
-XX:MaxDirectMemorySize=16384M
@@ -94,7 +94,7 @@ object TensorFlowNativePackage extends AutoPlugin {
override lazy val projectSettings: Seq[Def.Setting[_]] = inConfig(JniCross)(settings)
val tfLibUrlPrefix : String = "https://storage.googleapis.com/tensorflow/libtensorflow"
val tfLibNightlyUrlPrefix: String = "http://ci.tensorflow.org/view/Nightly/job/nightly-libtensorflow"
val tfLibNightlyUrlPrefix: String = "https://storage.googleapis.com/tensorflow-nightly/github/tensorflow/lib_package"
def tfLibFilename(platform: Platform): String = platform match {
case LINUX_x86_64 => s"libtensorflow-cpu-${platform.name}.tar.gz"
@@ -109,9 +109,9 @@ object TensorFlowNativePackage extends AutoPlugin {
}
def tfLibUrl(platform: Platform, version: String): String = (platform, version) match {
case (LINUX_x86_64, "nightly") => s"$tfLibNightlyUrlPrefix/TYPE=cpu-slave/lastSuccessfulBuild/artifact/lib_package/${tfLibFilename(platform)}"
case (LINUX_GPU_x86_64, "nightly") => s"$tfLibNightlyUrlPrefix/TYPE=gpu-linux/lastSuccessfulBuild/artifact/lib_package/${tfLibFilename(platform)}"
case (DARWIN_x86_64, "nightly") => s"$tfLibNightlyUrlPrefix/TYPE=mac-slave/lastSuccessfulBuild/artifact/lib_package/${tfLibFilename(platform)}"
case (LINUX_x86_64, "nightly") => s"$tfLibNightlyUrlPrefix/${tfLibFilename(platform)}"
case (LINUX_GPU_x86_64, "nightly") => s"$tfLibNightlyUrlPrefix/${tfLibFilename(platform)}"
case (DARWIN_x86_64, "nightly") => s"$tfLibNightlyUrlPrefix/${tfLibFilename(platform)}"
case (LINUX_x86_64, v) => s"$tfLibUrlPrefix/libtensorflow-cpu-${platform.name}-$v.tar.gz"
case (LINUX_GPU_x86_64, v) => s"$tfLibUrlPrefix/libtensorflow-gpu-${LINUX_x86_64.name}-$v.tar.gz"
case (DARWIN_x86_64, v) => s"$tfLibUrlPrefix/libtensorflow-cpu-${platform.name}-$v.tar.gz"
View
@@ -1 +1 @@
sbt.version=1.1.6
sbt.version=1.2.1

0 comments on commit a024382

Please sign in to comment.