Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Andreas_Schwab:Factory
python-openTSNE
python-openTSNE-disable-CPU-autodetection.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python-openTSNE-disable-CPU-autodetection.patch of Package python-openTSNE
Author: Bernhard M. Wiedemann <bwiedemann suse de> Date: 2021-04-01 Do not build code using instructions because they are available on a random build worker. Instead we pin the CPU type to a reasonable compromise to allow people to run it on >50% of systems, but also to use CPU instructions available since 10+ years to speed up processing. Index: openTSNE-1.0.1/setup.py =================================================================== --- openTSNE-1.0.1.orig/setup.py +++ openTSNE-1.0.1/setup.py @@ -155,9 +155,9 @@ class CythonBuildExt(build_ext): # package is being built locally, this is desired if not ("AZURE_BUILD" in os.environ or "CONDA_BUILD" in os.environ): if platform.machine() == "ppc64le": - extra_compile_args += ["-mcpu=native"] + extra_compile_args += ["-mcpu=power8"] if platform.machine() == "x86_64": - extra_compile_args += ["-march=native"] + extra_compile_args += ["-march=corei7"] # We will disable openmp flags if the compiler doesn't support it. This # is only really an issue with OSX clang
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor