Skip to content

Commit dd8f05f

Browse files
gh-115119: Update macOS installer to build with libmpdec 4.0.0 (GH-118382)
Co-authored-by: Ned Deily <nad@python.org>
1 parent 1324502 commit dd8f05f

File tree

3 files changed

+13
-0
lines changed

3 files changed

+13
-0
lines changed

Mac/BuildScript/README.rst

+2
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ download them.
8282
* SQLite
8383
* XZ
8484
* libffi
85+
* mpdecimal
8586

8687
- uses system-supplied versions of third-party libraries
8788

@@ -111,6 +112,7 @@ download them.
111112
* SQLite
112113
* XZ
113114
* libffi
115+
* mpdecimal
114116

115117
- uses system-supplied versions of third-party libraries
116118

Mac/BuildScript/build-installer.py

+10
Original file line numberDiff line numberDiff line change
@@ -378,6 +378,15 @@ def library_recipes():
378378
'--disable-dependency-tracking',
379379
]
380380
),
381+
dict(
382+
name="libmpdec 4.0.0",
383+
url="https://www.bytereef.org/software/mpdecimal/releases/mpdecimal-4.0.0.tar.gz",
384+
checksum="942445c3245b22730fd41a67a7c5c231d11cb1b9936b9c0f76334fb7d0b4468c",
385+
configure_pre=[
386+
"--disable-cxx",
387+
"MACHINE=universal",
388+
]
389+
),
381390
])
382391

383392
if not PYTHON_3:
@@ -1150,6 +1159,7 @@ def buildPython():
11501159
print(" NOTE: --with-mimalloc=no pending resolution of weak linking issues")
11511160
runCommand("%s -C --enable-framework --enable-universalsdk=/ "
11521161
"--with-mimalloc=no "
1162+
"--with-system-libmpdec "
11531163
"--with-universal-archs=%s "
11541164
"%s "
11551165
"%s "
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Update macOS installer to use libmpdecimal 4.0.0.

0 commit comments

Comments
 (0)