Move foundation CGO files from root package to internal/metal/ package. Changes package declaration from `package mlx` to `package metal`. Updates CGO SRCDIR paths to account for new location (two levels deeper). Extracts go:generate directives into root generate.go. Co-Authored-By: Virgil <virgil@lethean.io>
5 lines
183 B
Go
5 lines
183 B
Go
package mlx
|
|
|
|
//go:generate cmake -S . -B build -DCMAKE_INSTALL_PREFIX=dist -DCMAKE_BUILD_TYPE=Release
|
|
//go:generate cmake --build build --parallel
|
|
//go:generate cmake --install build
|