Skip to content

Some tweaks in cmake files#2574

Merged
zcbenz merged 2 commits into
ml-explore:mainfrom
zcbenz:cmake-life-quality
Sep 8, 2025
Merged

Some tweaks in cmake files#2574
zcbenz merged 2 commits into
ml-explore:mainfrom
zcbenz:cmake-life-quality

Conversation

@zcbenz

@zcbenz zcbenz commented Sep 8, 2025

Copy link
Copy Markdown
Collaborator
  • Do proper detection of Metal lib with find_library.
  • Strip the trailing newline in MACOS_SDK_VERSION which adds noise to cmake output.
  • Bump doctest's version so we can get rid of the CMAKE_POLICY_VERSION_MINIMUM hack.

@awni awni left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice, thanks!

@zcbenz
zcbenz merged commit b194d65 into ml-explore:main Sep 8, 2025
7 checks passed
@zcbenz
zcbenz deleted the cmake-life-quality branch September 8, 2025 23:27
faisalmemon pushed a commit to faisalmemon/mlx that referenced this pull request Oct 30, 2025
* Do proper check of Metal lib

* Update doctest to get rid of cmake version hack
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants