Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build: Update to manylinux2014 in build scripts and setup.py (#874) #875

Merged
merged 2 commits into from
Jul 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion release-pypi-linux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ for VERSION in 3.8 3.9 3.10 3.11 3.12; do
# Build and package
pip install --no-cache-dir setuptools wheel cmake
python setup.py build_ext bdist_wheel \
--plat-name manylinux1_x86_64
--plat-name "manylinux2014_$(uname --machine)"

# Cleanup
conda deactivate
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ def _determine_platform_tag():

if os.name == 'posix':
_, _, _, _, machine = os.uname()
return 'manylinux1-{}'.format(machine)
return 'manylinux2014-{}'.format(machine)

warnings.warn(
'Windows macos and linux are all not detected, '
Expand Down
Loading