We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a483757 commit 4f94ee8Copy full SHA for 4f94ee8
common/common.cpp
@@ -830,7 +830,7 @@ std::string fs_get_cache_directory() {
830
if (getenv("LLAMA_CACHE")) {
831
cache_directory = std::getenv("LLAMA_CACHE");
832
} else {
833
-#if defined(__linux__) || defined(__FreeBSD__)
+#if defined(__linux__) || defined(__FreeBSD__) || defined(_AIX)
834
if (std::getenv("XDG_CACHE_HOME")) {
835
cache_directory = std::getenv("XDG_CACHE_HOME");
836
0 commit comments