Source: xtensor-blas
Version: 0.18.0-1
Severity: normal
Control: forwarded -1 https://github.com/xtensor-stack/xtensor-blas/issues/196

The xtensor-blas tests add a "-march=native" flag on non-Win32
systems, both gcc and clang, at ll.60,69 in test/CMakeLists.txt.

But this flag is not universal, and so the test build fails on most
non-amd64 architectures, e.g. ppc64el, ia64, riscv64.

The problem has been dealt with in xtensor, which tests for the flag
and defines arch_native_supported before conditionally adding it to
CMAKE_CXX_FLAGS.


-- System Information:
Debian Release: 11.0
  APT prefers testing-security
  APT policy: (500, 'testing-security'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.10.0-5-amd64 (SMP w/8 CPU threads)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_AU:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Reply via email to