Skip to content

Commit

Permalink
pythongh-115119: Update macOS installer to build with libmpdec 4.0.0 (p…
Browse files Browse the repository at this point in the history
…ythonGH-118382)

Co-authored-by: Ned Deily <[email protected]>
  • Loading branch information
2 people authored and SonicField committed May 8, 2024
1 parent 4ed3d44 commit 1571858
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Mac/BuildScript/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ download them.
* SQLite
* XZ
* libffi
* mpdecimal

- uses system-supplied versions of third-party libraries

Expand Down Expand Up @@ -111,6 +112,7 @@ download them.
* SQLite
* XZ
* libffi
* mpdecimal

- uses system-supplied versions of third-party libraries

Expand Down
10 changes: 10 additions & 0 deletions Mac/BuildScript/build-installer.py
Original file line number Diff line number Diff line change
Expand Up @@ -378,6 +378,15 @@ def library_recipes():
'--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:
Expand Down Expand Up @@ -1150,6 +1159,7 @@ def buildPython():
print(" NOTE: --with-mimalloc=no pending resolution of weak linking issues")
runCommand("%s -C --enable-framework --enable-universalsdk=/ "
"--with-mimalloc=no "
"--with-system-libmpdec "
"--with-universal-archs=%s "
"%s "
"%s "
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Update macOS installer to use libmpdecimal 4.0.0.

0 comments on commit 1571858

Please sign in to comment.