Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update gcc to v11 to fix build errors for Centos-8.1 and Ubuntu-18
Summary: The Ubuntu-18 build has been broken for long time and the similar issue has also been reported for Centos-8.1 (#282). c++: fatal error: Killed signal terminated program cc1plus compilation terminated. make[2]: *** [allocator/CMakeFiles/cachelib_allocator.dir/build.make:397: allocator/CMakeFiles/cachelib_allocator.dir/CacheAllocator.cpp.o] Error 1 It seems that those issues can be fixed by using upper version of gcc (e.g., gcc-11). Both of those platforms had been EOL-ed already, so this change fixes the builds for both Ubuntu-18 and Centos-8.1 by installing custom gcc packages and creating symbolic links manually (i.e., update-alternatives) for github workflows. Reviewed By: therealgymmy Differential Revision: D52449219 fbshipit-source-id: 03c59216d7d6609882169e0eef208899be20473a
- Loading branch information