From: Paul Floyd Date: Wed, 8 Jun 2022 21:17:09 +0000 (+0200) Subject: Regtest memcheck/tests/amd64/shr_edx does not build on macOS X-Git-Tag: VALGRIND_3_20_0~46 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=67b8fef50bfaed0ce5a1d8130836bcef0eafcd4b;p=thirdparty%2Fvalgrind.git Regtest memcheck/tests/amd64/shr_edx does not build on macOS Make it conditional --- diff --git a/memcheck/tests/amd64/Makefile.am b/memcheck/tests/amd64/Makefile.am index 8b8785613c..a5a78aa310 100644 --- a/memcheck/tests/amd64/Makefile.am +++ b/memcheck/tests/amd64/Makefile.am @@ -46,8 +46,8 @@ check_PROGRAMS = \ insn-pmovmskb \ sh-mem-vec128 \ sse_memory \ - xor-undef-amd64 \ - shr_edx + xor-undef-amd64 + if BUILD_AVX_TESTS check_PROGRAMS += sh-mem-vec256 xsave-avx endif @@ -60,6 +60,13 @@ if !COMPILER_IS_CLANG more_x87_fp endif +# initially this was a "not clang" test +# but the problem is macOS, not clang +if !VGCONF_OS_IS_DARWIN + check_PROGRAMS += \ + shr_edx +endif + AM_CFLAGS += @FLAG_M64@ AM_CXXFLAGS += @FLAG_M64@ AM_CCASFLAGS += @FLAG_M64@