Skip to content

Commit

Permalink
deps: use archive instead of gitlab for mpfr
Browse files Browse the repository at this point in the history
  • Loading branch information
TendTo committed Oct 15, 2024
1 parent 19ebb1c commit 00c8729
Showing 1 changed file with 9 additions and 10 deletions.
19 changes: 9 additions & 10 deletions MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -151,16 +151,6 @@ github_archive(

gitlab_archive = use_repo_rule("//tools:git_archive.bzl", "gitlab_archive")

# MIT | c++ library for arbitrary precision arithmetic
gitlab_archive(
name = "mpfr",
build_file = "//third_party:mpfr.BUILD.bazel",
commit = "4.2.1",
domain = "inria.fr",
repository = "mpfr/mpfr",
sha256 = "e34aab8b2cdcc3f37ef8bd1b33fcd9867b472412698c6a0ec60dbb4970f88a3d",
)

## HTTP repositories

http_archive = use_repo_rule("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
Expand All @@ -174,6 +164,15 @@ http_archive(
url = "https://ftp.gnu.org/gnu/gmp/gmp-6.3.0.tar.xz",
)

# MIT | c++ library for arbitrary precision arithmetic
http_archive(
name = "mpfr",
build_file = "//third_party:mpfr.BUILD.bazel",
sha256 = "277807353a6726978996945af13e52829e3abd7a9a5b7fb2793894e18f1fcbb2",
strip_prefix = "mpfr-4.2.1",
url = "https://www.mpfr.org/mpfr-current/mpfr-4.2.1.tar.xz",
)

http_archive(
name = "com_github_storypku_bazel_iwyu",
sha256 = "aa78c331a2cb139f73f7d74eeb4d5ab29794af82023ef5d6d5194f76b7d37449",
Expand Down

0 comments on commit 00c8729

Please sign in to comment.