summaryrefslogtreecommitdiffstats
path: root/Mac/BuildScript
diff options
context:
space:
mode:
authorErlend E. Aasland <erlend@python.org>2024-05-03 16:49:40 (GMT)
committerGitHub <noreply@github.com>2024-05-03 16:49:40 (GMT)
commitdd8f05fee26cb98770744291a007ceb6b49a5089 (patch)
treeae8a01f5fac67f68ba94a67184cf04021ba8e6a4 /Mac/BuildScript
parent13245027526bf1b21fae6e7ca62ceec2e39fcfb7 (diff)
downloadcpython-dd8f05fee26cb98770744291a007ceb6b49a5089.zip
cpython-dd8f05fee26cb98770744291a007ceb6b49a5089.tar.gz
cpython-dd8f05fee26cb98770744291a007ceb6b49a5089.tar.bz2
gh-115119: Update macOS installer to build with libmpdec 4.0.0 (GH-118382)
Co-authored-by: Ned Deily <nad@python.org>
Diffstat (limited to 'Mac/BuildScript')
-rw-r--r--Mac/BuildScript/README.rst2
-rwxr-xr-xMac/BuildScript/build-installer.py10
2 files changed, 12 insertions, 0 deletions
diff --git a/Mac/BuildScript/README.rst b/Mac/BuildScript/README.rst
index 4f74e7d..a9fae36 100644
--- a/Mac/BuildScript/README.rst
+++ b/Mac/BuildScript/README.rst
@@ -82,6 +82,7 @@ download them.
* SQLite
* XZ
* libffi
+ * mpdecimal
- uses system-supplied versions of third-party libraries
@@ -111,6 +112,7 @@ download them.
* SQLite
* XZ
* libffi
+ * mpdecimal
- uses system-supplied versions of third-party libraries
diff --git a/Mac/BuildScript/build-installer.py b/Mac/BuildScript/build-installer.py
index 286df48..8386e40 100755
--- a/Mac/BuildScript/build-installer.py
+++ b/Mac/BuildScript/build-installer.py
@@ -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:
@@ -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 "