Skip to content

Commit

Permalink
Add patch for mlx
Browse files Browse the repository at this point in the history
  • Loading branch information
msimacek committed Aug 26, 2024
1 parent 3a91179 commit 3e1766e
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
4 changes: 4 additions & 0 deletions graalpython/lib-graalpython/patches/mlx/metadata.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
[[rules]]
patch = 'mlx.patch'
license = 'MIT'

[[add-sources]]
version = '0.16.3'
url = 'https://github.com/ml-explore/mlx/archive/refs/tags/v0.16.3.tar.gz'
Expand Down
12 changes: 12 additions & 0 deletions graalpython/lib-graalpython/patches/mlx/mlx.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
diff --git a/setup.py b/setup.py
index 7bd1be4..390c84c 100644
--- a/setup.py
+++ b/setup.py
@@ -13,6 +13,7 @@ from setuptools.command.build_ext import build_ext


def get_version(version):
+ return version
if "PYPI_RELEASE" not in os.environ:
today = datetime.date.today()
version = f"{version}.dev{today.year}{today.month:02d}{today.day:02d}"

0 comments on commit 3e1766e

Please sign in to comment.