forked from facebook/sapling
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix edenfs OSS build to stop it breaking on every PR. Fixes: edenfs has a dependency on mvfst but it was missing a find_package() call to add it. edenfs manifest needs sapling as a test dependency not a build dependency. This was unnecessarily breaking the edenfs build as sapling getdeps build is currently broken Added the mvfst dep to the manifest and regenerated the github actions file with: `./build/fbcode_builder/getdeps.py --allow-system-packages generate-github-actions --no-tests --os-type=linux --src-dir=. --output-dir=.github/workflows --job-name "EdenFS " --job-file-prefix=edenfs_ eden` Missing a declared dep on edencommon in the rpc code CMakeLists.txt, this fixed missing edencommon headers There was a GCC incompability in ImmediateFuture.h, enum needed to be public to make it build. RIngBuffer.h was missing the size_t type causing its test to fail to build, so included it Repo urls hadn't been updated in eden and mononoke manifests, which means actions generation didn't know they were in same checkout. Test plan: Run locally: `./build/fbcode_builder/getdeps.py --allow-system-packages build --src-dir=. eden` Run a PR. Before, broken with missing mvfst, e.g. https://github.com/facebook/sapling/actions/runs/5493408315/jobs/10011553849 ``` CMake Error at build/fbcode_builder/CMake/FBThriftCppLibrary.cmake:148 (target_link_libraries): Target "eden_service_thrift_cpp" links to: mvfst::mvfst_server_async_tran but the target was not found. Possible reasons include: ``` After, works
- Loading branch information
Showing
8 changed files
with
49 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,6 +14,7 @@ target_link_libraries( | |
PUBLIC | ||
eden_nfs_rpc | ||
Folly::folly | ||
edencommon::edencommon_utils | ||
) | ||
|
||
add_library( | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,6 +8,7 @@ | |
#pragma once | ||
|
||
#include <vector> | ||
#include <stddef.h> | ||
|
||
namespace facebook::eden { | ||
|
||
|