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 @@ -850,7 +850,7 @@ std::string fs_get_cache_directory() {
850850 if (getenv (" LLAMA_CACHE" )) {
851851 cache_directory = std::getenv (" LLAMA_CACHE" );
852852 } else {
853- #if defined(__linux__) || defined(__FreeBSD__)
853+ #if defined(__linux__) || defined(__FreeBSD__) || defined(_AIX)
854854 if (std::getenv (" XDG_CACHE_HOME" )) {
855855 cache_directory = std::getenv (" XDG_CACHE_HOME" );
856856 } 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