-
Notifications
You must be signed in to change notification settings - Fork 276
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
build error "cant find CacheAllocator.cpp" #345
Comments
It seems that after commit However, the |
I had to use fbthrift commit Also I made these changes after the compressedptr update: diff --git a/cachelib/allocator/memory/CompressedPtr.h b/cachelib/allocator/memory/CompressedPtr.h
index b56cbf2e..dbdcf625 100644
--- a/cachelib/allocator/memory/CompressedPtr.h
+++ b/cachelib/allocator/memory/CompressedPtr.h
@@ -294,12 +294,12 @@ class CACHELIB_PACKED_ATTR CompressedPtr5B {
(slabIdx << kNumAllocIdxBits) + allocIdx;
}
- static IdxPtrType32 deserializePtr(SerializedPtrType ptr) {
+ static constexpr IdxPtrType32 deserializePtr(SerializedPtrType ptr) {
XDCHECK(ptr >= 0);
return static_cast<IdxPtrType32>(ptr);
}
- static RegionPtrType8 deserializeRegion(SerializedPtrType ptr) {
+ static constexpr RegionPtrType8 deserializeRegion(SerializedPtrType ptr) {
XDCHECK(ptr >= 0);
return static_cast<RegionPtrType8>(ptr >> kIdxNumBits);
} |
@Z-Jie2020 Our new builds should be working. Let us know if the build is not working. |
Describe the bug
After git clone the resposity, I went to the Cachelib directory and execute the statement: ./ntrib/build.sh -d -j -v. It ended with an error.
Screenshots

Another Problem
What should I do to fix it,There really is no CacheAllocator.cpp in the allocator directory.
Moreover, when I run the statement : ./contrib/build.sh -j -T , it showed another problem:
Please give me some advice
The text was updated successfully, but these errors were encountered: