@@ -59,7 +59,7 @@ object JniCrossPackage extends AutoPlugin {
59
59
import JniNative .autoImport ._
60
60
61
61
lazy val settings : Seq [Setting [_]] = Seq (
62
- nativePlatforms := Set (LINUX , WINDOWS_CPU , WINDOWS_GPU , DARWIN ),
62
+ nativePlatforms := Set (LINUX , WINDOWS , WINDOWS_CPU , DARWIN ),
63
63
target := (target in Compile ).value / " native" ,
64
64
nativeLibPath := {
65
65
val targetDir = (target in nativeCrossCompile).value
@@ -106,7 +106,7 @@ object JniCrossPackage extends AutoPlugin {
106
106
// TODO: Figure out the right cross-compilation story.
107
107
// For Windows, we expect the binaries to have already been built and placed in the `bin` and the `lib`
108
108
// subdirectories, because we currently have no way to cross-compile.
109
- case WINDOWS_CPU | WINDOWS_GPU =>
109
+ case WINDOWS | WINDOWS_CPU =>
110
110
if (! (platformTargetDir / " bin" ).exists()) {
111
111
throw new IllegalStateException (" The Windows binaries must have already been prebuilt." )
112
112
}
@@ -255,15 +255,15 @@ object JniCrossPackage extends AutoPlugin {
255
255
256
256
object LINUX extends Platform {
257
257
override val name : String = " linux"
258
- override val dockerImage : String = " eaplatanios/tensorflow_scala:linux-cpu-x86_64-0.5.3 "
258
+ override val dockerImage : String = " eaplatanios/tensorflow_scala:linux-cpu-x86_64-0.6.0 "
259
259
}
260
260
261
- object WINDOWS_CPU extends Platform {
262
- override val name : String = " windows-cpu "
261
+ object WINDOWS extends Platform {
262
+ override val name : String = " windows"
263
263
}
264
264
265
- object WINDOWS_GPU extends Platform {
266
- override val name : String = " windows-gpu "
265
+ object WINDOWS_CPU extends Platform {
266
+ override val name : String = " windows-cpu "
267
267
}
268
268
269
269
object DARWIN extends Platform {
0 commit comments