Skip to content

Commit d1ecb51

Browse files
committed
Bump ORT version; format
1 parent e2965bd commit d1ecb51

File tree

2 files changed

+13
-11
lines changed

2 files changed

+13
-11
lines changed

backends/.js/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@
99
"preview": "vite preview"
1010
},
1111
"dependencies": {
12-
"onnxruntime-common": "1.21.1",
13-
"onnxruntime-node": "1.21.1",
14-
"onnxruntime-web": "1.21.1",
12+
"onnxruntime-common": "1.22.0",
13+
"onnxruntime-node": "1.22.0",
14+
"onnxruntime-web": "1.22.0",
1515
"typescript": "5.8.3"
1616
},
1717
"devDependencies": {

build.sbt

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,12 @@ scalaVersion := dottyVersion
1111

1212
inThisBuild(
1313
List(
14-
scalaVersion := "3.7.1-RC1",
15-
semanticdbEnabled := true,
16-
semanticdbVersion := scalafixSemanticdb.revision
17-
)
14+
scalaVersion := "3.7.1-RC1",
15+
semanticdbEnabled := true,
16+
semanticdbVersion := scalafixSemanticdb.revision
17+
)
1818
)
1919

20-
2120
lazy val commonSettings = Seq(
2221
organization := "org.emergentorder.onnx",
2322
version := "0.18.0",
@@ -37,7 +36,7 @@ lazy val commonSettings = Seq(
3736
// "-Xfatal-warnings",
3837
"-unchecked",
3938
"-deprecation",
40-
// "-release:21",
39+
// "-release:24",
4140
"-rewrite",
4241
"-source:3.7-migration",
4342
"-Wunused:all"
@@ -92,8 +91,8 @@ lazy val backends = (crossProject(JSPlatform, JVMPlatform)
9291
name := "onnx-scala-backends",
9392
mimaPreviousArtifacts := Set("org.emergent-order" %%% "onnx-scala-backends" % "0.17.0"),
9493
libraryDependencies ++= Seq(
95-
"com.microsoft.onnxruntime" % "onnxruntime" % "1.21.1",
96-
"com.microsoft.onnxruntime" % "onnxruntime-extensions" % "0.13.0"
94+
"com.microsoft.onnxruntime" % "onnxruntime" % "1.22.0"
95+
// "com.microsoft.onnxruntime" % "onnxruntime-extensions" % "0.13.0"
9796
),
9897
libraryDependencies += ("org.scalatest" %%% "scalatest" % scalaTestVersion) % Test,
9998
crossScalaVersions := Seq(dottyVersion)
@@ -217,6 +216,9 @@ lazy val backends = (crossProject(JSPlatform, JVMPlatform)
217216
// which slows down the build (particularly the doc build, for publishing) considerably
218217
// TODO: minimize to reduce build time and size of js output
219218
.jsConfigure { project => project.enablePlugins(ScalablyTypedConverterExternalNpmPlugin) }
219+
.jvmConfigure { project =>
220+
project.enablePlugins(JavaAppPackaging, GraalVMNativeImagePlugin)
221+
} //GraalVMNativeImagePlugin) }
220222
//ScalablyTypedConverterExternalNpmPlugin) }
221223

222224
lazy val core = (crossProject(JSPlatform, JVMPlatform, NativePlatform)

0 commit comments

Comments
 (0)