-
Notifications
You must be signed in to change notification settings - Fork 71
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
remove symlinks #191
remove symlinks #191
Conversation
@@ -31,8 +31,14 @@ let package = Package( | |||
.target( | |||
name: "Cmlx", | |||
exclude: [ | |||
// exclude here -- it is part of the include directory (public api) | |||
"mlx-c", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Previously this was picked up via the symlink in include, but now we will build it directly.
// example code + mlx-c distributed | ||
"mlx-c/examples", | ||
"mlx-c/mlx/c/distributed.cpp", | ||
"mlx-c/mlx/c/distributed_group.cpp", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Don't build these
@@ -10,6 +10,10 @@ then | |||
exit 1 | |||
fi | |||
|
|||
# copy mlx-c headers to build area | |||
rm -f Source/Cmlx/include/mlx/c/* | |||
cp Source/Cmlx/mlx-c/mlx/c/*.h Source/Cmlx/include/mlx/c |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We don't have a symlink in include
any more -- just copy these headers in so we get the proper directory structure.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, thanks!
Removes symlinks from checkout -- just move the directories where they need to be.
This looks massive but it is mostly renames. The interesting pieces: