From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: violetc <58360096+s-yh-china@users.noreply.github.com> Date: Wed, 19 Jul 2023 20:09:38 +0800 Subject: [PATCH] SIMD support diff --git a/build.gradle.kts b/build.gradle.kts index e47519560705d8d7c784934ab9bae5cb07fb97f7..a6a92386374f49e877c0fdf322235d02fb490795 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -95,6 +95,7 @@ tasks.withType { compilerArgs.add("-Xlint:-module") compilerArgs.add("-Xlint:-removal") compilerArgs.add("-Xlint:-dep-ann") + compilerArgs.add("--add-modules=jdk.incubator.vector") // Leaves - SIMD support } // Leaves end - hide irrelevant compilation warnings @@ -152,6 +153,7 @@ tasks.withType { } options.addStringOption("Xdoclint:none", "-quiet") // Leaves - hide irrelevant compilation warnings + options.addStringOption("-add-modules", "jdk.incubator.vector") // Leaves - SIMD support } // Paper start