File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 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() {
830830 if (getenv (" LLAMA_CACHE" )) {
831831 cache_directory = std::getenv (" LLAMA_CACHE" );
832832 } else {
833- #if defined(__linux__) || defined(__FreeBSD__)
833+ #if defined(__linux__) || defined(__FreeBSD__) || defined(_AIX)
834834 if (std::getenv (" XDG_CACHE_HOME" )) {
835835 cache_directory = std::getenv (" XDG_CACHE_HOME" );
836836 } else {
Original file line number Diff line number Diff line change @@ -126,7 +126,7 @@ static std::string fs_get_cache_directory() {
126126 if (getenv (" LLAMA_CACHE" )) {
127127 cache_directory = std::getenv (" LLAMA_CACHE" );
128128 } else {
129- #if defined(__linux__) || defined(__FreeBSD__)
129+ #if defined(__linux__) || defined(__FreeBSD__) || defined(_AIX)
130130 if (std::getenv (" XDG_CACHE_HOME" )) {
131131 cache_directory = std::getenv (" XDG_CACHE_HOME" );
132132 } else {
You can’t perform that action at this time.
0 commit comments