Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Set install rpath of python bindings with cmake#2934

Merged
zcbenz merged 1 commit intomainfrom
cmake-linux-rpath
Dec 19, 2025
Merged

Set install rpath of python bindings with cmake#2934
zcbenz merged 1 commit intomainfrom
cmake-linux-rpath

Conversation

@zcbenz
Copy link
Collaborator

@zcbenz zcbenz commented Dec 19, 2025

The repair_linux.sh was used to remove the build dir (i.e. build/temp.linux-x86_64-cpython-311/mlx.core) from rpath, which can be done with the BUILD_WITH_INSTALL_RPATH option instead.

Copy link
Member

@awni awni left a comment

Choose a reason for hiding this comment

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

Nice! So much simpler!

@zcbenz zcbenz merged commit fc19a08 into main Dec 19, 2025
27 of 28 checks passed
@zcbenz zcbenz deleted the cmake-linux-rpath branch December 19, 2025 07:43
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