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 @@ -830,7 +830,7 @@ std::string fs_get_cache_directory() {
830
830
if (getenv (" LLAMA_CACHE" )) {
831
831
cache_directory = std::getenv (" LLAMA_CACHE" );
832
832
} else {
833
- #if defined(__linux__) || defined(__FreeBSD__)
833
+ #if defined(__linux__) || defined(__FreeBSD__) || defined(_AIX)
834
834
if (std::getenv (" XDG_CACHE_HOME" )) {
835
835
cache_directory = std::getenv (" XDG_CACHE_HOME" );
836
836
} 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