Description: remove fpu flags that are not present on ancient CPUs
Author: Nilesh Patra <nilesh@debian.org>
Last-Update: 2022-07-02
--- libslow5lib.orig/setup.py
+++ libslow5lib/setup.py
@@ -48,15 +48,6 @@
 # extra_compile_args = []
 # os.environ["CFLAGS"] = '-g -Wall -O2 -std=c99'
 
-if platform.system() != 'Darwin':
-    arch=platform.machine()
-    if arch in ["aarch64"]:
-        extra_compile_args.append('-D__ARM_NEON__')
-    elif arch in ["armv7l"]:
-        extra_compile_args.append('-mfpu=neon')
-    elif arch in ["x86_64"]:
-        extra_compile_args.extend(['-DSTREAMVBYTE_SSSE3=1', '-mssse3'])   # WARNING: ancient x86_64 CPUs don't have SSSE3
-# note that on macos, for now we just let it compile without simd
 
 # include_dirs = ['include/', np.get_include() ]
 libraries = ['m', 'z', 'streamvbyte']
