[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1118661: isospec: FTBFS on ppc64el and riscv64



Package: isospec
Version: 2.2.3+cleaned1-1
Severity: serious
Tags: ftbfs patch
User: debian-riscv@lists.debian.org
Usertags: riscv64
User: debian-powerpc@lists.debian.org
Usertags: ppc64el
X-Debbugs-Cc: debian-riscv@lists.debian.org, debian-powerpc@lists.debian.org

Dear Maintainer,

isospec failed to build ppc64el and riscv64 due to -march=native:
https://buildd.debian.org/status/fetch.php?pkg=isospec&arch=ppc64el&ver=2.2.3%2Bcleaned1-1&stamp=1761070922&raw=0
https://buildd.debian.org/status/fetch.php?pkg=isospec&arch=riscv64&ver=2.2.3%2Bcleaned1-1&stamp=1761101061&raw=0

I proposal one patch below and test it on riscv64:

--- a/setup.py
+++ b/setup.py
@@ -36,10 +36,7 @@
         return ["/O2", "/std:c++17"]
     if use_asan:
         return '-O0 -g -DISOSPEC_DEBUG -std=c++17 -fsanitize=address'.split()
-    ret = ['-O3', '-std=c++17']
-    if native_ok:
-        ret.extend(['-mtune=native', '-march=native'])
-    return ret
+    return ['-O3', '-std=c++17']

 cmodule = Extension('IsoSpecCppPy',
                 sources = ['IsoSpec++/python-build.cpp'],


-- 
Regards,
--
  Bo YU

Attachment: signature.asc
Description: PGP signature


Reply to: