Skip to content

Commit 3e1766e

Browse files
committed
Add patch for mlx
1 parent 3a91179 commit 3e1766e

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

graalpython/lib-graalpython/patches/mlx/metadata.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
[[rules]]
2+
patch = 'mlx.patch'
3+
license = 'MIT'
4+
15
[[add-sources]]
26
version = '0.16.3'
37
url = 'https://github.com/ml-explore/mlx/archive/refs/tags/v0.16.3.tar.gz'
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
diff --git a/setup.py b/setup.py
2+
index 7bd1be4..390c84c 100644
3+
--- a/setup.py
4+
+++ b/setup.py
5+
@@ -13,6 +13,7 @@ from setuptools.command.build_ext import build_ext
6+
7+
8+
def get_version(version):
9+
+ return version
10+
if "PYPI_RELEASE" not in os.environ:
11+
today = datetime.date.today()
12+
version = f"{version}.dev{today.year}{today.month:02d}{today.day:02d}"

0 commit comments

Comments
 (0)