Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions .buckconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
[cells]
gh_facebook_sapling = .
shim_DISABLED = shim

[cell_aliases]
root = gh_facebook_sapling

[oss]
internal_cell = fbcode
project_dirs = eden
20 changes: 20 additions & 0 deletions .buckconfig.d/common.buckconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
[cells]
prelude = prelude
none = none

[cell_aliases]
config = prelude
ovr_config = prelude
bazel_skylib = gh_facebook_buck2_shims_meta
buck = gh_facebook_buck2_shims_meta
fbcode = gh_facebook_buck2_shims_meta
fbcode_macros = gh_facebook_buck2_shims_meta
fbsource = gh_facebook_buck2_shims_meta
shim = gh_facebook_buck2_shims_meta
toolchains = gh_facebook_buck2_shims_meta

[external_cells]
prelude = bundled

[parser]
target_platform_detector_spec = target:root//...->prelude//platforms:default target:shim//...->prelude//platforms:default
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
[cells]
gh_facebook_buck2_shims_meta = gh_facebook_buck2_shims_meta

[external_cells]
gh_facebook_buck2_shims_meta = git

[external_cell_gh_facebook_buck2_shims_meta]
git_origin = https://github.com/facebook/buck2-shims-meta.git
commit_hash = edb600cfbf0b23dd5e6506912d71ada4185d4c45
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This hash is required (contains several updates to buck2-shims-meta).

Empty file added .buckroot
Empty file.
4 changes: 2 additions & 2 deletions eden/fs/service/BUCK
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
load("@fbcode//eden:defs.bzl", "get_oss_suffix", "make_rule_compatible_with")
load("//eden:defs.bzl", "get_oss_suffix", "make_rule_compatible_with")
load("@fbcode_macros//build_defs:cpp_binary.bzl", "cpp_binary")
load("@fbcode_macros//build_defs:cpp_library.bzl", "cpp_library")
load("@fbcode_macros//build_defs:java_binary.bzl", "java_binary")
Expand Down Expand Up @@ -68,7 +68,7 @@ cpp_library(
cpp_binary(
name = "edenfs",
srcs = [
"facebook/main.cpp",
"oss/main.cpp",
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This probably needs an internal/external switch.

],
linker_flags = select({
"DEFAULT": [],
Expand Down