mirror of
https://github.com/zama-ai/concrete.git
synced 2026-02-17 08:01:20 -05:00
fix(ci/compiler): Remove KeySetCache directory on mac os CI to avoid space disk issues
This commit is contained in:
committed by
Quentin Bourgerie
parent
c53985f112
commit
22bbdec086
@@ -14,8 +14,13 @@ static inline std::optional<concretelang::keysets::KeysetCache>
|
||||
getTestKeySetCache() {
|
||||
|
||||
llvm::SmallString<0> cachePath;
|
||||
llvm::sys::path::system_temp_directory(true, cachePath);
|
||||
llvm::sys::path::append(cachePath, CACHE_PATH);
|
||||
|
||||
if (auto envCachepath = std::getenv("KEY_CACHE_DIRECTORY")) {
|
||||
cachePath.append(envCachepath);
|
||||
} else {
|
||||
llvm::sys::path::system_temp_directory(true, cachePath);
|
||||
llvm::sys::path::append(cachePath, CACHE_PATH);
|
||||
}
|
||||
|
||||
auto cachePathStr = std::string(cachePath);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user