File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -850,7 +850,7 @@ std::string fs_get_cache_directory() {
850
850
if (getenv (" LLAMA_CACHE" )) {
851
851
cache_directory = std::getenv (" LLAMA_CACHE" );
852
852
} else {
853
- #if defined(__linux__) || defined(__FreeBSD__)
853
+ #if defined(__linux__) || defined(__FreeBSD__) || defined(_AIX)
854
854
if (std::getenv (" XDG_CACHE_HOME" )) {
855
855
cache_directory = std::getenv (" XDG_CACHE_HOME" );
856
856
} else {
Original file line number Diff line number Diff line change @@ -126,7 +126,7 @@ static std::string fs_get_cache_directory() {
126
126
if (getenv (" LLAMA_CACHE" )) {
127
127
cache_directory = std::getenv (" LLAMA_CACHE" );
128
128
} else {
129
- #if defined(__linux__) || defined(__FreeBSD__)
129
+ #if defined(__linux__) || defined(__FreeBSD__) || defined(_AIX)
130
130
if (std::getenv (" XDG_CACHE_HOME" )) {
131
131
cache_directory = std::getenv (" XDG_CACHE_HOME" );
132
132
} else {
You can’t perform that action at this time.
0 commit comments