Skip to content
Merged
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 8 additions & 9 deletions project/GraalVM.scala
Original file line number Diff line number Diff line change
Expand Up @@ -94,26 +94,25 @@ object GraalVM {
windowsX64Release
} else if (Platform.isLinux) {
linuxX64Release
} else if (Platform.isMacOS && Platform.isAmd64) {
macX64Release
} else if (Platform.isMacOS && Platform.isArm64) {
macARM64Release
} else {
throw new IllegalArgumentException("Unexpected platform")
throw new IllegalArgumentException(
s"Unexpected platform: ${Platform.arch()} ${Platform.osName()}"
)
}
} else {
testNISize
}
}

// Expected production NI sizes deduced from sizes on latest
// nightly builds: https://github.com/enso-org/enso/pull/12843#issuecomment-2869897463
// nightly builds: https://github.com/enso-org/enso/pull/14565#issue-3781936779
// With maximal size relaxed by 30 MB.
private val windowsX64Release = NativeImageSize(200, 470)
private val linuxX64Release = NativeImageSize(200, 490)
private val macX64Release = NativeImageSize(200, 457)
private val macARM64Release = NativeImageSize(200, 473)
private val testNISize = NativeImageSize(100, 592)
private val windowsX64Release = NativeImageSize(200, 350)
private val linuxX64Release = NativeImageSize(200, 400)
private val macARM64Release = NativeImageSize(200, 350)
private val testNISize = NativeImageSize(100, 450)
}

/** Has the user requested to use Espresso for Java interop? */
Expand Down
Loading