Accepting request 828284 from home:bmwiedemann:branches:devel:languages:python:numeric

Disable AVX2 to avoid compile-time CPU-detection (boo#1100677)

OBS-URL: https://build.opensuse.org/request/show/828284
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-blosc?expand=0&rev=15
This commit is contained in:
Tomáš Chvátal 2020-08-20 19:23:37 +00:00 committed by Git OBS Bridge
parent 078b0396f7
commit 7acb537f71
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Aug 20 18:37:32 UTC 2020 - Bernhard Wiedemann <bwiedemann@suse.com>
- Disable AVX2 to avoid compile-time CPU-detection (boo#1100677)
-------------------------------------------------------------------
Fri Jul 17 07:17:58 UTC 2020 - Guillaume GARDET <guillaume.gardet@opensuse.org>

View File

@ -53,6 +53,7 @@ Python.
%build
export CFLAGS="%{optflags}"
export BLOSC_DIR=%{_prefix}
export DISABLE_BLOSC_AVX2=1
%python_exec setup.py build_clib
%python_exec setup.py build_ext --inplace
%python_build