Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2868 from cms-sw/py2-tables-fix-for-aarch64
applied py2-tables-fix-for-aarch64 patch to disable cpu checking to enable sse2/avx2
- Loading branch information
Showing
2 changed files
with
17 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
diff --git a/setup.py b/setup.py | ||
index 6b64a57..4681b14 100755 | ||
--- a/setup.py | ||
+++ b/setup.py | ||
@@ -32,8 +32,8 @@ import distutils.spawn | ||
from setuptools.command.build_ext import build_ext | ||
|
||
# For guessing the capabilities of the CPU for C-Blosc | ||
-import cpuinfo | ||
-cpu_info = cpuinfo.get_cpu_info() | ||
+#import cpuinfo | ||
+cpu_info = { 'flags' : [] } #to avoid compiling avx2 and make it run for aarch64 | ||
|
||
# The name for the pkg-config utility | ||
PKG_CONFIG = 'pkg-config' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters