diff --git a/.buckconfig b/.buckconfig new file mode 100644 index 00000000000..c6169e406f0 --- /dev/null +++ b/.buckconfig @@ -0,0 +1,26 @@ +[et] + is_oss=1 + +[buildfile] + name = BUCK.oss + includes = //tools/build_defs/select.bzl + +[repositories] + bazel_skylib = third_party/bazel-skylib/ + ovr_config = . + +[download] + in_build = true + +[cxx] + cxxflags = -std=c++17 + ldflags = -Wl,--no-undefined + should_remap_host_platform = true + cpp = /usr/bin/clang + cc = /usr/bin/clang + cxx = /usr/bin/clang++ + cxxpp = /usr/bin/clang++ + ld = /usr/bin/clang++ + +[project] + default_flavors_mode=all \ No newline at end of file diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 00000000000..faecebbf32d --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "prelude"] + path = prelude + url = https://github.com/facebook/buck2-prelude.git diff --git a/prelude b/prelude new file mode 160000 index 00000000000..bd7481e2b98 --- /dev/null +++ b/prelude @@ -0,0 +1 @@ +Subproject commit bd7481e2b9883d10200e8fb5caeaad4e2271e423 diff --git a/profiler/BUCK.oss b/profiler/BUCK.oss new file mode 100644 index 00000000000..bbce14b9d92 --- /dev/null +++ b/profiler/BUCK.oss @@ -0,0 +1,3 @@ +load(":targets.bzl", "define_common_targets") + +define_common_targets() \ No newline at end of file diff --git a/runtime/platform/BUCK.oss b/runtime/platform/BUCK.oss new file mode 100644 index 00000000000..e69de29bb2d diff --git a/shim/BUCK b/shim/BUCK new file mode 100644 index 00000000000..e69de29bb2d diff --git a/shim/xplat/executorch/build/runtime_wrapper.bzl b/shim/xplat/executorch/build/runtime_wrapper.bzl new file mode 100644 index 00000000000..e69de29bb2d diff --git a/shim/xplat/executorch/build/selects.bzl b/shim/xplat/executorch/build/selects.bzl new file mode 100644 index 00000000000..e69de29bb2d diff --git a/shim/xplat/executorch/build/type_defs.bzl b/shim/xplat/executorch/build/type_defs.bzl new file mode 100644 index 00000000000..e69de29bb2d