diff options
author | Sam James <sam@gentoo.org> | 2021-11-19 15:56:18 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2021-11-19 15:56:32 +0000 |
commit | e6878da15327d31718ecbac70f53bc61beaa5c96 (patch) | |
tree | 2f718820d784474ee17fa2b1c5efc5cd8e164749 /dev-python/numpy | |
parent | dev-scheme/chicken: respect LDFLAGS (diff) | |
download | gentoo-e6878da15327d31718ecbac70f53bc61beaa5c96.tar.gz gentoo-e6878da15327d31718ecbac70f53bc61beaa5c96.tar.bz2 gentoo-e6878da15327d31718ecbac70f53bc61beaa5c96.zip |
dev-python/numpy: skip arm features test on armv8 (arm32 chroot on arm64)
Closes: https://bugs.gentoo.org/774108
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-python/numpy')
-rw-r--r-- | dev-python/numpy/numpy-1.21.3-r1.ebuild | 8 | ||||
-rw-r--r-- | dev-python/numpy/numpy-1.21.4-r1.ebuild | 8 | ||||
-rw-r--r-- | dev-python/numpy/numpy-1.21.4.ebuild | 8 |
3 files changed, 24 insertions, 0 deletions
diff --git a/dev-python/numpy/numpy-1.21.3-r1.ebuild b/dev-python/numpy/numpy-1.21.3-r1.ebuild index d9b1d09193dd..e8572b3cbd81 100644 --- a/dev-python/numpy/numpy-1.21.3-r1.ebuild +++ b/dev-python/numpy/numpy-1.21.3-r1.ebuild @@ -118,6 +118,14 @@ python_test() { numpy/typing/tests/test_typing.py::test_reveal[arrayterator.py] ) + if use arm && [[ $(uname -m) == "armv8l" ]] ; then + # Degenerate case. arm32 chroot on arm64. + # bug #774108 + deselect+=( + numpy/core/tests/test_cpu_features.py::Test_ARM_Features::test_features + ) + fi + distutils_install_for_testing --single-version-externally-managed \ --record "${TMPDIR}/record.txt" ${NUMPY_FCONFIG} diff --git a/dev-python/numpy/numpy-1.21.4-r1.ebuild b/dev-python/numpy/numpy-1.21.4-r1.ebuild index df96b10fdb70..a3e5dbab9bab 100644 --- a/dev-python/numpy/numpy-1.21.4-r1.ebuild +++ b/dev-python/numpy/numpy-1.21.4-r1.ebuild @@ -118,6 +118,14 @@ python_test() { numpy/typing/tests/test_typing.py::test_reveal[arrayterator.py] ) + if use arm && [[ $(uname -m) == "armv8l" ]] ; then + # Degenerate case. arm32 chroot on arm64. + # bug #774108 + deselect+=( + numpy/core/tests/test_cpu_features.py::Test_ARM_Features::test_features + ) + fi + distutils_install_for_testing --single-version-externally-managed \ --record "${TMPDIR}/record.txt" ${NUMPY_FCONFIG} diff --git a/dev-python/numpy/numpy-1.21.4.ebuild b/dev-python/numpy/numpy-1.21.4.ebuild index cd54f4bc4a63..a78dda1d1f34 100644 --- a/dev-python/numpy/numpy-1.21.4.ebuild +++ b/dev-python/numpy/numpy-1.21.4.ebuild @@ -117,6 +117,14 @@ python_test() { numpy/typing/tests/test_typing.py::test_reveal[arrayterator.py] ) + if use arm && [[ $(uname -m) == "armv8l" ]] ; then + # Degenerate case. arm32 chroot on arm64. + # bug #774108 + deselect+=( + numpy/core/tests/test_cpu_features.py::Test_ARM_Features::test_features + ) + fi + distutils_install_for_testing --single-version-externally-managed \ --record "${TMPDIR}/record.txt" ${NUMPY_FCONFIG} |