Fix a few ccache cache miss (#2573)

* Fix ccache cache miss

* Do not define _VERSION_ in python bindings
This commit is contained in:
Cheng
2025-09-09 07:41:05 +09:00
committed by GitHub
parent e5a33f2223
commit a44b27f5f8
5 changed files with 7 additions and 9 deletions

View File

@@ -1,10 +1,8 @@
// Copyright © 2025 Apple Inc.
#include <string>
namespace mlx::core {
std::string version() {
const char* version() {
return MLX_VERSION;
}

View File

@@ -15,6 +15,6 @@ namespace mlx::core {
*
* For dev builds, the version will include the suffix ".devYYYYMMDD+hash"
*/
std::string version();
const char* version();
} // namespace mlx::core