[med-svn] [Git][med-team/simde][debian/experimental] skip some clang tests
Michael R. Crusoe (@crusoe)
gitlab at salsa.debian.org
Wed Oct 13 16:58:41 BST 2021
Michael R. Crusoe pushed to branch debian/experimental at Debian Med / simde
Commits:
ca088f16 by Michael R. Crusoe at 2021-10-13T17:44:05+02:00
skip some clang tests
- - - - -
3 changed files:
- debian/changelog
- debian/rules
- debian/tests/run-unit-test
Changes:
=====================================
debian/changelog
=====================================
@@ -1,3 +1,10 @@
+simde (0.7.3~0git20210929204341.90523a2-2) experimental; urgency=medium
+
+ * Skip tests on clang on arm64, i386, armhf and riscv64 for now
+ * Skip dpbf16 tests on i386 for now
+
+ -- Michael R. Crusoe <crusoe at debian.org> Wed, 13 Oct 2021 17:30:24 +0200
+
simde (0.7.3~0git20210929204341.90523a2-1) experimental; urgency=medium
* Experimental build prior to new upstream release.
=====================================
debian/rules
=====================================
@@ -3,8 +3,11 @@
# DH_VERBOSE := 1
export LC_ALL=C.UTF-8
-CLANG_SKIP=amd64 alpha hppa ia64 m68k sh4 x32
+CLANG_SKIP=amd64 i386 arm64 armhf alpha hppa ia64 m68k sh4 x32 riscv64
# amd64 is due to https://github.com/simd-everywhere/simde/issues/901
+# i386 is due to https://github.com/simd-everywhere/simde/issues/901
+# arm64 is due to https://github.com/simd-everywhere/simde/issues/901
+# armhf is due to https://github.com/simd-everywhere/simde/issues/901
# ppc64 is due to https://github.com/simd-everywhere/simde/issues/185
include /usr/share/dpkg/default.mk
@@ -25,8 +28,11 @@ ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
# According to https://wiki.debian.org/ArchitectureSpecificsMemo#Architecture_baselines
# It is odd that gcc doesn't include this automatically, but clang does
ifneq (,$(filter $(DEB_BUILD_ARCH),ppc64))
- export DEB_CFLAGS_MAINT_APPEND+=-maltivec
- export DEB_CXXFLAGS_MAINT_APPEND+=-maltivec
+ export DEB_CFLAGS_MAINT_APPEND+=-maltivec
+ export DEB_CXXFLAGS_MAINT_APPEND+=-maltivec
+endif
+ifeq ($(DEB_BUILD_ARCH),i386)
+ sed -i "/^simde_avx512_families/,/\]/ s/'dpbf16',/#\0/" meson.build
endif
CC=gcc CXX=g++ dh_auto_configure --builddirectory=gcc_test
endif
=====================================
debian/tests/run-unit-test
=====================================
@@ -24,6 +24,9 @@ if [ "$(dpkg-architecture -qDEB_HOST_ARCH)" = "s390x" ] ; then
# https://github.com/simd-everywhere/simde/issues/641
sed -i "/'madd'/d" meson.build
rm test/x86/avx512/madd.c
+elif [ "$(dpkg-architecture -qDEB_HOST_ARCH)" = "i386" ] ; then
+# sed -i "/^simde_avx512_families/,/\]/ s/'dpbf16',/#\0/" meson.build
+ sed -i "/^simde_avx512_families/,/\]/ s/'dbsad',/#\0/" meson.build
fi
mkdir build-gcc build-clang
View it on GitLab: https://salsa.debian.org/med-team/simde/-/commit/ca088f16e02a1ddf3a7194bf8610cbe0c0f28a05
--
View it on GitLab: https://salsa.debian.org/med-team/simde/-/commit/ca088f16e02a1ddf3a7194bf8610cbe0c0f28a05
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20211013/3f59c9e1/attachment-0001.htm>
More information about the debian-med-commit
mailing list