File tree Expand file tree Collapse file tree 2 files changed +25
-0
lines changed
graalpython/lib-graalpython/patches Expand file tree Collapse file tree 2 files changed +25
-0
lines changed Original file line number Diff line number Diff line change @@ -359,6 +359,10 @@ url = 'https://github.com/ml-explore/mlx/archive/refs/tags/v0.16.2.tar.gz'
359
359
version = ' 0.16.1'
360
360
url = ' https://github.com/ml-explore/mlx/archive/refs/tags/v0.16.1.tar.gz'
361
361
362
+ [[msgpack .rules ]]
363
+ patch = ' msgpack.patch'
364
+ license = ' Apache-2.0'
365
+
362
366
[[nanobind .rules ]]
363
367
patch = ' nanobind.patch'
364
368
license = ' BSD-3-Clause'
Original file line number Diff line number Diff line change
1
+ diff --git a/setup.py b/setup.py
2
+ index 4029e9e..14095fc 100644
3
+ --- a/setup.py
4
+ +++ b/setup.py
5
+ @@ -5,6 +5,7 @@ import sys
6
+ from setuptools import Extension, setup
7
+
8
+ PYPY = hasattr(sys, "pypy_version_info")
9
+ + GRAALPY = sys.implementation.name == 'graalpy'
10
+
11
+ libraries = []
12
+ macros = []
13
+ @@ -14,7 +15,7 @@ if sys.platform == "win32":
14
+ libraries.append("ws2_32")
15
+ macros = [("__LITTLE_ENDIAN__", "1")]
16
+
17
+ - if not PYPY and not os.environ.get("MSGPACK_PUREPYTHON"):
18
+ + if not PYPY and not GRAALPY and not os.environ.get("MSGPACK_PUREPYTHON"):
19
+ ext_modules.append(
20
+ Extension(
21
+ "msgpack._cmsgpack",
You can’t perform that action at this time.
0 commit comments