Skip to content

Commit 764483a

Browse files
authored
Complete migration to bzlmod (#222)
we have to disable workspace, and supposedly must rename external to third_party to avoid problems. And we need an empty `third_party/BUILD` file.
1 parent fff3c75 commit 764483a

File tree

6 files changed

+4
-4
lines changed

6 files changed

+4
-4
lines changed

.bazelrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
common --enable_bzlmod --enable_workspace
1+
common --enable_bzlmod
22

33
# Automatically apply build:<os> sections based on host OS.
44
common --enable_platform_specific_config

MODULE.bazel

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ git_repository(
4747
http_archive(
4848
name = "highs",
4949
sha256 = HIGHS_SHA_256,
50-
build_file = "//external:highs.BUILD",
50+
build_file = "//third_party:highs.BUILD",
5151
strip_prefix = "HiGHS-" + HIGHS_VERSION,
5252
urls = ["https://github.com/ERGO-Code/HiGHS/archive/refs/tags/v" + HIGHS_VERSION + ".tar.gz"],
5353
)
@@ -67,7 +67,7 @@ ARGPARSE_SHA_256 = "3e5a59ab7688dcd1f918bc92051a10564113d4f36c3bbed3ef596c25e519
6767

6868
http_archive(
6969
name = "argparse",
70-
build_file = "//external:argparse.BUILD",
70+
build_file = "//third_party:argparse.BUILD",
7171
sha256 = ARGPARSE_SHA_256,
7272
strip_prefix = "argparse-3.1",
7373
urls = ["https://github.com/p-ranav/argparse/archive/refs/tags/v3.1.zip"],
@@ -96,7 +96,7 @@ http_archive(
9696
],
9797
strip_prefix = BOOST_ARCHIVE_NAME,
9898
sha256 = "c0685b68dd44cc46574cce86c4e17c0f611b15e195be9848dfd0769a0a207628",
99-
build_file = "//external:boost.BUILD",
99+
build_file = "//third_party:boost.BUILD",
100100
)
101101

102102
cc_compatibility_proxy = use_extension("@rules_cc//cc:extensions.bzl", "compatibility_proxy")

third_party/BUILD

Whitespace-only changes.

0 commit comments

Comments
 (0)