Skip to content

Commit 037a6f9

Browse files
pbhandar2meta-codesync[bot]
authored andcommitted
fix oss build
Summary: Fix the OSS. Mostly adding files related to components and fixed size index in cmake files. Also upgraded gcc to 14 for best coroutine support. C++20 coroutines were a major new feature. The compiler has to do complex transformations to turn coroutine code into a state machine (the "coroutine frame lowering" pass). In GCC 11, this transformation has bugs. Reviewed By: byahn0996 Differential Revision: D96393589 fbshipit-source-id: 69952d0399f631450b24ed4616cd92cbc2300b08
1 parent bbd0afc commit 037a6f9

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

build/fbcode_builder/manifests/cachelib

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,13 @@ magic_enum
3030
# specific configuration we rely on the folly manifest to provide this
3131
# dependency to avoid duplication.
3232

33+
[dependencies.all(distro=centos_stream,distro_vers=9)]
34+
gcc14
35+
36+
[cmake.defines.all(distro=centos_stream,distro_vers=9)]
37+
CMAKE_C_COMPILER=/opt/rh/gcc-toolset-14/root/usr/bin/gcc
38+
CMAKE_CXX_COMPILER=/opt/rh/gcc-toolset-14/root/usr/bin/g++
39+
3340
[shipit.pathmap]
3441
fbcode/cachelib = cachelib
3542
fbcode/cachelib/public_tld = .
@@ -38,3 +45,5 @@ fbcode/cachelib/public_tld = .
3845
^fbcode/cachelib/examples(/|$)
3946
^fbcode/cachelib/facebook(/|$)
4047
^fbcode/cachelib/public_tld/website/docs/facebook(/|$)
48+
^fbcode/cachelib/public_tld/website/node_modules(/|$)
49+
^fbcode/cachelib/public_tld/website/build(/|$)

0 commit comments

Comments
 (0)