Skip to content

Commit eb2d1ea

Browse files
committed
[llvm][cas] Fix build with LLVM_CAS_ENABLE_REMOTE_CACHE (ActionCache::validate)
1 parent 904fe14 commit eb2d1ea

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

llvm/lib/RemoteCachingService/CAS/GRPCRelayCAS.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -224,6 +224,11 @@ class GRPCActionCache : public ActionCache {
224224
Error putImpl(ArrayRef<uint8_t> ResolvedKey, const CASID &Result,
225225
bool Globally) final;
226226

227+
Error validate() const final {
228+
// Not supported yet. Always return success.
229+
return Error::success();
230+
}
231+
227232
private:
228233
std::unique_ptr<remote::KeyValueDBClient> KVDB;
229234
};

0 commit comments

Comments
 (0)