Skip to content
Snippets Groups Projects
Unverified Commit 51e35898 authored by Brent Huisman's avatar Brent Huisman Committed by GitHub
Browse files

Remove default arch target from setup.py (#1594)

Don't pass any architecture by default in setup.py to allow for building binary wheels for targets like x86_64.

Build Python package with 'none' arch by default.
Bump version to 0.5.2.
parent 9155ee45
No related branches found
No related tags found
No related merge requests found
......@@ -30,7 +30,7 @@ jobs:
CIBW_BUILD: "cp3?-manylinux_x86_64"
CIBW_SKIP: "cp35-*"
CIBW_MANYLINUX_X86_64_IMAGE: manylinux2014
arch: x86_64
CIBW_ARCHS_LINUX: x86_64
# CIBW_TEST_COMMAND: TODO
- name: Build wheels macos
......@@ -44,7 +44,6 @@ jobs:
CIBW_BUILD: "cp3?-macosx_x86_64"
CIBW_SKIP: "cp35-*"
CIBW_ARCHS_MACOS: x86_64 universal2
arch: x86_64
# CIBW_TEST_COMMAND: TODO
# this action runs auditwheel automatically with the following args:
......
0.5.1
0.5.2
......@@ -25,7 +25,7 @@ class CL_opt:
CL_opt.instance = {'mpi': False,
'gpu': 'none',
'vec': False,
'arch': 'native',
'arch': 'none',
'neuroml': True,
'bundled': True}
......@@ -91,7 +91,7 @@ class install_command(install):
# vec : generate SIMD vectorized kernels for CPU micro-architecture (boolean).
opt['vec'] = self.vec is not None
# arch : target CPU micro-architecture (string).
opt['arch'] = "native" if self.arch is None else self.arch
opt['arch'] = 'none' if self.arch is None else self.arch
# neuroml : compile with neuroml support for morphologies.
opt['neuroml'] = self.neuroml is not None
# bundled : use bundled/git-submoduled 3rd party libraries.
......@@ -126,7 +126,7 @@ if WHEEL_INSTALLED:
# vec : generate SIMD vectorized kernels for CPU micro-architecture (boolean).
opt['vec'] = self.vec is not None
# arch : target CPU micro-architecture (string).
opt['arch'] = "native" if self.arch is None else self.arch
opt['arch'] = 'none' if self.arch is None else self.arch
# neuroml : compile with neuroml support for morphologies.
opt['neuroml'] = self.neuroml is not None
# bundled : use bundled/git-submoduled 3rd party libraries.
......@@ -237,4 +237,3 @@ setuptools.setup(
'Bug Reports': 'https://github.com/arbor-sim/arbor/issues',
},
)
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment