Skip to content

Commit 9fd0c15

Browse files
committed
[llvm][cas] Fix build with LLVM_CAS_ENABLE_REMOTE_CACHE (ActionCache::validate)
(cherry picked from commit eb2d1ea)
1 parent d2b9a1b commit 9fd0c15

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
@@ -220,6 +220,11 @@ class GRPCActionCache : public ActionCache {
220220
Error putImpl(ArrayRef<uint8_t> ResolvedKey, const CASID &Result,
221221
bool Globally) final;
222222

223+
Error validate() const final {
224+
// Not supported yet. Always return success.
225+
return Error::success();
226+
}
227+
223228
private:
224229
std::unique_ptr<remote::KeyValueDBClient> KVDB;
225230
};

0 commit comments

Comments
 (0)