mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-28 15:53:55 -04:00
Add manylinux_2_24 for building
This commit is contained in:
parent
f01399bba8
commit
a723567a3a
@ -497,6 +497,13 @@ elif target == 'linux' and (os.path.isfile("/lib/libc-2.17.so") or os.path.isfil
|
|||||||
else:
|
else:
|
||||||
PLATFORM = 'manylinux2014-i686'
|
PLATFORM = 'manylinux2014-i686'
|
||||||
|
|
||||||
|
elif target == 'linux' and (os.path.isfile("/lib/i386-linux-gnu/libc-2.24.so") or os.path.isfile("/lib/x86_64/libc-2.24.so")) and os.path.isdir("/opt/python"):
|
||||||
|
# Same sloppy check for manylinux_2_24.
|
||||||
|
if GetTargetArch() in ('x86_64', 'amd64'):
|
||||||
|
PLATFORM = 'manylinux_2_24-x86_64'
|
||||||
|
else:
|
||||||
|
PLATFORM = 'manylinux_2_24-i686'
|
||||||
|
|
||||||
elif not CrossCompiling():
|
elif not CrossCompiling():
|
||||||
if HasTargetArch():
|
if HasTargetArch():
|
||||||
# Replace the architecture in the platform string.
|
# Replace the architecture in the platform string.
|
||||||
|
@ -558,6 +558,8 @@ def makewheel(version, output_dir, platform=None):
|
|||||||
platform = platform.replace("linux", "manylinux2010")
|
platform = platform.replace("linux", "manylinux2010")
|
||||||
elif os.path.isfile("/lib/libc-2.17.so") or os.path.isfile("/lib64/libc-2.17.so"):
|
elif os.path.isfile("/lib/libc-2.17.so") or os.path.isfile("/lib64/libc-2.17.so"):
|
||||||
platform = platform.replace("linux", "manylinux2014")
|
platform = platform.replace("linux", "manylinux2014")
|
||||||
|
elif os.path.isfile("/lib/i386-linux-gnu/libc-2.24.so") or os.path.isfile("/lib/x86_64/libc-2.24.so"):
|
||||||
|
platform = platform.replace("linux", "manylinux_2_24")
|
||||||
|
|
||||||
platform = platform.replace('-', '_').replace('.', '_')
|
platform = platform.replace('-', '_').replace('.', '_')
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user