From 21b8d84e64835952e73cb649adb46f4d40086263 Mon Sep 17 00:00:00 2001 From: Mikolaj Izdebski Date: Fri, 10 Mar 2023 13:27:09 +0100 Subject: [PATCH] Skip tests on arches other than aarch64 and x86_64 --- xmvn-generator.spec | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/xmvn-generator.spec b/xmvn-generator.spec index f805f72..4cd3e35 100644 --- a/xmvn-generator.spec +++ b/xmvn-generator.spec @@ -36,7 +36,13 @@ from Lua. %mvn_file : %{name} %build +# Tests fail on arches other than aarch64 and x86_64 due to missing +# FMA support in OpenJDK. +%ifarch aarch64 x86_64 %mvn_build -j +%else +%mvn_build -f -j +%endif %install %mvn_install