Skip to content

Commit 060e66d

Browse files
committed
checkpoint
1 parent 0372fc0 commit 060e66d

File tree

2 files changed

+34
-5
lines changed

2 files changed

+34
-5
lines changed

README.xcodeproj.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# Cmlx
2+
3+
This is set up to build roughly how Package.swift builds.
4+
5+
# MLX
6+
7+
- `fmt` is set up as a group -- pick which files are exposed
8+
- mark anything that builds as being a project resource
9+
- this works well for contents that should (mostly) never change
10+
- `metal-cpp` and `json` are done as folder references
11+
- maybe sync these up so they are all group or folders
12+
13+
- mlx, mlx-c
14+
- remove files as per Package.swift
15+
- do not include any of the headers as resources -- easiest to modify in Project -> Cmlx -> Build Phases

xcode/MLX.xcodeproj/project.pbxproj

Lines changed: 19 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,13 @@
110110
C3AEA0352EAAE7A9000BD280 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.5.sdk/System/Library/Frameworks/Foundation.framework; sourceTree = DEVELOPER_DIR; };
111111
C3CBE6B52EAC14DE0029A645 /* MLXNN.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = MLXNN.framework; sourceTree = BUILT_PRODUCTS_DIR; };
112112
C3CBE6CF2EAC15310029A645 /* MLXOptimizers.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = MLXOptimizers.framework; sourceTree = BUILT_PRODUCTS_DIR; };
113+
C3CBF17F2EAC22110029A645 /* ACKNOWLEDGMENTS.md */ = {isa = PBXFileReference; lastKnownFileType = net.daringfireball.markdown; name = ACKNOWLEDGMENTS.md; path = ../ACKNOWLEDGMENTS.md; sourceTree = SOURCE_ROOT; };
114+
C3CBF1802EAC22110029A645 /* CODE_OF_CONDUCT.md */ = {isa = PBXFileReference; lastKnownFileType = net.daringfireball.markdown; name = CODE_OF_CONDUCT.md; path = ../CODE_OF_CONDUCT.md; sourceTree = SOURCE_ROOT; };
115+
C3CBF1812EAC22110029A645 /* CONTRIBUTING.md */ = {isa = PBXFileReference; lastKnownFileType = net.daringfireball.markdown; name = CONTRIBUTING.md; path = ../CONTRIBUTING.md; sourceTree = SOURCE_ROOT; };
116+
C3CBF1822EAC22110029A645 /* LICENSE */ = {isa = PBXFileReference; lastKnownFileType = text; name = LICENSE; path = ../LICENSE; sourceTree = SOURCE_ROOT; };
117+
C3CBF1832EAC22110029A645 /* MAINTENANCE.md */ = {isa = PBXFileReference; lastKnownFileType = net.daringfireball.markdown; name = MAINTENANCE.md; path = ../MAINTENANCE.md; sourceTree = SOURCE_ROOT; };
118+
C3CBF1842EAC22110029A645 /* README.md */ = {isa = PBXFileReference; lastKnownFileType = net.daringfireball.markdown; name = README.md; path = ../README.md; sourceTree = SOURCE_ROOT; };
119+
C3CBF1852EAC22110029A645 /* README.xcodeproj.md */ = {isa = PBXFileReference; lastKnownFileType = net.daringfireball.markdown; name = README.xcodeproj.md; path = ../README.xcodeproj.md; sourceTree = SOURCE_ROOT; };
113120
/* End PBXFileReference section */
114121

115122
/* Begin PBXFileSystemSynchronizedBuildFileExceptionSet section */
@@ -1172,14 +1179,21 @@
11721179
C3AE8EBA2EAAA15F000BD280 = {
11731180
isa = PBXGroup;
11741181
children = (
1175-
C3CBE6FF2EAC15650029A645 /* MLXOptimizers */,
1176-
C3CBE6E92EAC15530029A645 /* MLXNN */,
1177-
C3CBE6962EAC14BC0029A645 /* MLXTests */,
1178-
C3434F7C2EABEF1E0010D6B8 /* MLX */,
1182+
C3CBF17F2EAC22110029A645 /* ACKNOWLEDGMENTS.md */,
11791183
C3AE8EFC2EAAA40E000BD280 /* Cmlx */,
1180-
C3AE8EDE2EAAA21C000BD280 /* xcconfig */,
1184+
C3CBF1802EAC22110029A645 /* CODE_OF_CONDUCT.md */,
1185+
C3CBF1812EAC22110029A645 /* CONTRIBUTING.md */,
11811186
C3AEA0302EAAE79A000BD280 /* Frameworks */,
1187+
C3CBF1822EAC22110029A645 /* LICENSE */,
1188+
C3CBF1832EAC22110029A645 /* MAINTENANCE.md */,
1189+
C3434F7C2EABEF1E0010D6B8 /* MLX */,
1190+
C3CBE6E92EAC15530029A645 /* MLXNN */,
1191+
C3CBE6FF2EAC15650029A645 /* MLXOptimizers */,
1192+
C3CBE6962EAC14BC0029A645 /* MLXTests */,
11821193
C3AE8EC52EAAA15F000BD280 /* Products */,
1194+
C3CBF1842EAC22110029A645 /* README.md */,
1195+
C3CBF1852EAC22110029A645 /* README.xcodeproj.md */,
1196+
C3AE8EDE2EAAA21C000BD280 /* xcconfig */,
11831197
);
11841198
sourceTree = "<group>";
11851199
};

0 commit comments

Comments
 (0)