-
Notifications
You must be signed in to change notification settings - Fork 267
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
[Seeking Volunteers] Add new builds to CacheLib #321
Comments
Hi! I would like to help as best as I can. |
Hi @vaavaav thanks for reaching out. Then cachelib team will create a github action to run it. |
I wanted to share my findings and get an opinion regarding a compatibility issue. I successfully built CacheLib (using the most stable release, I gathered that Folly requires at least g++-11 to compile: facebook/folly#1444 (comment) (be aware that this might not be completely true). Unfortunately, on Ubuntu 18.04 and 20.04, there isn't a straightforward way to install g++-11 using standard methods (e.g., a simple The workaround I found involves: # Ensure software-properties-common is installed
sudo apt-get update
sudo apt-get install -y software-properties-common
# Add the required repository for newer GCC versions
sudo add-apt-repository ppa:ubuntu-toolchain-r/test
sudo apt-get update
# Install g++-11
sudo apt-get install -y g++-11
# Update the alternatives to use g++-11
sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-11 100
sudo update-alternatives --config g++ Is this approach too intrusive to include directly in |
Hi, we're looking for volunteers to add support for newer build platforms such as Ubuntu 24.04 and Debian 12.
You will need to add support for new platforms in https://github.com/facebook/CacheLib/tree/main/contrib
For example, prerequisite for ubuntu 22 is the same as ubuntu 18 (https://github.com/facebook/CacheLib/blob/main/contrib/build.sh#L166), which is specified by https://github.com/facebook/CacheLib/blob/main/contrib/prerequisites-ubuntu18.sh.
The text was updated successfully, but these errors were encountered: