We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8b53fc1 commit 79d1a8dCopy full SHA for 79d1a8d
setup.py
@@ -8,6 +8,7 @@
8
from setuptools.errors import CCompilerError, ExecError, PlatformError
9
from distutils import ccompiler
10
from distutils.command.clean import clean
11
+from distutils.sysconfig import customize_compiler
12
13
# determine CPU support for SSE2 and AVX2
14
cpu_info = cpuinfo.get_cpu_info()
@@ -325,6 +326,7 @@ def run(self):
325
326
if cpuinfo.platform.machine() == 'x86_64':
327
S_files = glob('c-blosc/internal-complibs/zstd*/decompress/*amd64.S')
328
compiler = ccompiler.new_compiler()
329
+ customize_compiler(compiler)
330
compiler.src_extensions.append('.S')
331
compiler.compile(S_files)
332
0 commit comments