gh-115119: Update macOS installer to build with libmpdec 4.0.0 (GH-118382)

Co-authored-by: Ned Deily <nad@python.org>
This commit is contained in:
Erlend E. Aasland 2024-05-03 18:49:40 +02:00 committed by GitHub
parent 1324502752
commit dd8f05fee2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 13 additions and 0 deletions

View File

@ -82,6 +82,7 @@ download them.
* SQLite * SQLite
* XZ * XZ
* libffi * libffi
* mpdecimal
- uses system-supplied versions of third-party libraries - uses system-supplied versions of third-party libraries
@ -111,6 +112,7 @@ download them.
* SQLite * SQLite
* XZ * XZ
* libffi * libffi
* mpdecimal
- uses system-supplied versions of third-party libraries - uses system-supplied versions of third-party libraries

View File

@ -378,6 +378,15 @@ def library_recipes():
'--disable-dependency-tracking', '--disable-dependency-tracking',
] ]
), ),
dict(
name="libmpdec 4.0.0",
url="https://www.bytereef.org/software/mpdecimal/releases/mpdecimal-4.0.0.tar.gz",
checksum="942445c3245b22730fd41a67a7c5c231d11cb1b9936b9c0f76334fb7d0b4468c",
configure_pre=[
"--disable-cxx",
"MACHINE=universal",
]
),
]) ])
if not PYTHON_3: if not PYTHON_3:
@ -1150,6 +1159,7 @@ def buildPython():
print(" NOTE: --with-mimalloc=no pending resolution of weak linking issues") print(" NOTE: --with-mimalloc=no pending resolution of weak linking issues")
runCommand("%s -C --enable-framework --enable-universalsdk=/ " runCommand("%s -C --enable-framework --enable-universalsdk=/ "
"--with-mimalloc=no " "--with-mimalloc=no "
"--with-system-libmpdec "
"--with-universal-archs=%s " "--with-universal-archs=%s "
"%s " "%s "
"%s " "%s "

View File

@ -0,0 +1 @@
Update macOS installer to use libmpdecimal 4.0.0.