Skip to content

Commit

Permalink
Update 0004-Add-SIMD-utilities.patch
Browse files Browse the repository at this point in the history
Add changed proposed from pufferfish-gg#81
  • Loading branch information
rockfordroeNG authored Mar 7, 2024
1 parent fb16f9c commit b5f094a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion patches/api/0004-Add-SIMD-utilities.patch
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ index 0000000000000000000000000000000000000000..ab5fea0b03224bf249352ce340e94704
+ @Deprecated
+ public static boolean canEnable(Logger logger) {
+ try {
+ if (SIMDDetection.getJavaVersion() != 17 && SIMDDetection.getJavaVersion() != 18 && SIMDDetection.getJavaVersion() != 19) {
+ if (SIMDDetection.getJavaVersion() < 17 || SIMDDetection.getJavaVersion() > 21) {
+ return false;
+ } else {
+ SIMDDetection.testRun = true;
Expand Down

0 comments on commit b5f094a

Please sign in to comment.