mirror of
https://github.com/ml-explore/mlx.git
synced 2025-12-16 01:49:05 +08:00
Enables build for *-linux-musl (#1627)
Also contributes to being able to build for *-w64-mingw32. Cf. https://github.com/JuliaPackaging/Yggdrasil/pull/9761
This commit is contained in:
committed by
GitHub
parent
698e63a608
commit
af2af818a6
@@ -47,7 +47,7 @@ bool compile_available_for_device(const Device& device) {
|
||||
} // namespace detail
|
||||
|
||||
std::string get_temp_file(const std::string& name) {
|
||||
return std::filesystem::temp_directory_path().append(name);
|
||||
return std::filesystem::temp_directory_path().append(name).string();
|
||||
}
|
||||
|
||||
// Return a pointer to a compiled function
|
||||
|
||||
Reference in New Issue
Block a user