diff --git a/.bazelrc b/.bazelrc new file mode 100644 index 0000000..52ace73 --- /dev/null +++ b/.bazelrc @@ -0,0 +1,2 @@ +# Enable Bzlmod for every Bazel command +common --enable_bzlmod \ No newline at end of file diff --git a/MODULE.bazel b/MODULE.bazel new file mode 100644 index 0000000..e69de29 diff --git a/WORKSPACE b/WORKSPACE deleted file mode 100644 index 314a00f..0000000 --- a/WORKSPACE +++ /dev/null @@ -1,21 +0,0 @@ -load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") - -http_archive( - name = "aspect_gcc_toolchain", - sha256 = "3341394b1376fb96a87ac3ca01c582f7f18e7dc5e16e8cf40880a31dd7ac0e1e", - strip_prefix = "gcc-toolchain-0.4.2", - urls = [ - "https://github.com/aspect-build/gcc-toolchain/archive/refs/tags/0.4.2.tar.gz", - ], -) - -load("@aspect_gcc_toolchain//toolchain:repositories.bzl", "gcc_toolchain_dependencies") - -gcc_toolchain_dependencies() - -load("@aspect_gcc_toolchain//toolchain:defs.bzl", "gcc_register_toolchain", "ARCHS") - -gcc_register_toolchain( - name = "gcc_toolchain_x86_64", - target_arch = ARCHS.x86_64, -) \ No newline at end of file diff --git a/main/BUILD b/main/BUILD.bazel similarity index 100% rename from main/BUILD rename to main/BUILD.bazel