https://bugs.kde.org/show_bug.cgi?id=468575

--- Comment #36 from Mark Wielaard <m...@klomp.org> ---
So disabling compressed and integer, but without a configure check because I
don't know precisely what to test for.

diff --git a/configure.ac b/configure.ac
index 7d3c1a99b..7828b0193 100755
--- a/configure.ac
+++ b/configure.ac
@@ -3755,6 +3755,8 @@ CFLAGS="$save_CFLAGS"

 AM_CONDITIONAL(BUILD_ARMV82_DOTPROD_TESTS, test
x$ac_have_armv82_dotprod_feature = xyes)

+AM_CONDITIONAL(BUILD_COMPRESSED_WORKS, false)
+AM_CONDITIONAL(BUILD_INTEGER_WORKS, false)

 # XXX JRS 2010 Oct 13: what is this for?  For sure, we don't need this
 # when building the tool executables.  I think we should get rid of it.

diff --git a/none/tests/riscv64/Makefile.am b/none/tests/riscv64/Makefile.am
index b2de2bd39..3eeaeb451 100644
--- a/none/tests/riscv64/Makefile.am
+++ b/none/tests/riscv64/Makefile.am
@@ -17,13 +17,19 @@ EXTRA_DIST = \
 check_PROGRAMS = \
        allexec \
        atomic \
-       compressed \
        csr \
        float32 \
        float64 \
-       integer \
        muldiv

+if BUILD_COMPRESSED_WORKS
+  check_PROGRAMS += compressed
+endif
+
+if BUILD_INTEGER_WORKS
+  check_PROGRAMS += integer
+endif
+
 AM_CFLAGS    += @FLAG_M64@
 AM_CXXFLAGS  += @FLAG_M64@
 AM_CCASFLAGS += @FLAG_M64@

diff --git a/none/tests/riscv64/compressed.vgtest
b/none/tests/riscv64/compressed.vgtest
index 5c3d44864..84e9988e0 100644
--- a/none/tests/riscv64/compressed.vgtest
+++ b/none/tests/riscv64/compressed.vgtest
@@ -1,2 +1,3 @@
+prereq: test -x compressed
 prog: compressed
 vgopts: -q
diff --git a/none/tests/riscv64/integer.vgtest
b/none/tests/riscv64/integer.vgtest
index daa059178..c779c5cdf 100644
--- a/none/tests/riscv64/integer.vgtest
+++ b/none/tests/riscv64/integer.vgtest
@@ -1,2 +1,3 @@
+prereq: test -x integer
 prog: integer
 vgopts: -q

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to