Skip to content

Commit dd6ab86

Browse files
committed
Updated dependencies
kx.bechmarks to the latest master nodejs 23.6.0 d8 13.4.61 jsshell 134.0.2 binaryen 121
1 parent d0f57f4 commit dd6ab86

File tree

6 files changed

+7
-11
lines changed

6 files changed

+7
-11
lines changed

build.gradle.kts

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -45,15 +45,14 @@ apply {
4545

4646
apply<NodeJsPlugin>()
4747
the<NodeJsEnvSpec>().apply {
48-
version.set("21.0.0-v8-canary202309167e82ab1fa2")
49-
downloadBaseUrl.set("https://nodejs.org/download/v8-canary")
48+
version.set("23.6.0")
5049
}
5150

5251
apply<BinaryenRootPlugin>()
53-
the<BinaryenRootEnvSpec>().version.set("116")
52+
the<BinaryenRootEnvSpec>().version.set("121")
5453

5554
apply<D8Plugin>()
56-
the<D8EnvSpec>().version.set("11.9.125")
55+
the<D8EnvSpec>().version.set("13.4.61")
5756

5857
allprojects.forEach {
5958
it.tasks.withType<org.jetbrains.kotlin.gradle.targets.js.npm.tasks.KotlinNpmInstallTask>().configureEach {
@@ -68,7 +67,7 @@ repositories {
6867
}
6968

7069
kotlin {
71-
js(IR) {
70+
js {
7271
this as KotlinJsIrTarget
7372
//d8()
7473
nodejs()
@@ -94,7 +93,7 @@ kotlin {
9493

9594
val jsMain by getting {
9695
dependencies {
97-
implementation(files("./kotlinx-benchmarks/kotlinx-benchmark-runtime-jsir-0.5.0.klib"))
96+
implementation(files("./kotlinx-benchmarks/kotlinx-benchmark-runtime-js-0.5.0.klib"))
9897
}
9998
}
10099
}
@@ -213,7 +212,7 @@ benchmark {
213212

214213
/////////////////////////
215214

216-
val jsShellDirectory = "https://archive.mozilla.org/pub/firefox/nightly/2023/09/2023-09-21-09-13-27-mozilla-central"
215+
val jsShellDirectory = "https://archive.mozilla.org/pub/firefox/releases/134.0.2/jsshell"
217216
val jsShellSuffix = when (currentOsType) {
218217
OsType(OsName.LINUX, OsArch.X86_32) -> "linux-i686"
219218
OsType(OsName.LINUX, OsArch.X86_64) -> "linux-x86_64"
@@ -263,9 +262,6 @@ fun Project.createJsShellExec(
263262
val newArgs = mutableListOf<String>()
264263
executable = File(unzipJsShell.get().destinationDir, "js").absolutePath
265264

266-
newArgs.add("--wasm-gc")
267-
newArgs.add("--wasm-function-references")
268-
269265
val productionBinary = tryGetBinary(compilation, mode) ?: error("Not found production binary")
270266
dependsOn(productionBinary.linkSyncTask)
271267

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ kotlin.js.ir.output.granularity=whole-program
66

77
org.gradle.jvmargs=-Xmx2g -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8
88

9-
kotlin_version=2.0.0-Beta5
9+
kotlin_version=2.1.0
69.5 KB
Binary file not shown.
-34 Bytes
Binary file not shown.
-125 KB
Binary file not shown.
-140 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)