[libc-commits] [libc] [llvm] [bazel] Add missing gmp dep for f8834ed24bf11d19c96c49d42e77d4408af91fd8 (PR #97999)

Haojian Wu via libc-commits libc-commits at lists.llvm.org
Mon Jul 8 01:08:48 PDT 2024


https://github.com/hokein updated https://github.com/llvm/llvm-project/pull/97999

>From b22c2a1d1039f3c8da360787b840e99314cb7314 Mon Sep 17 00:00:00 2001
From: Haojian Wu <hokein.wu at gmail.com>
Date: Mon, 8 Jul 2024 10:02:56 +0200
Subject: [PATCH 1/2] [bazel] Add missing gmp dep for
 f8834ed24bf11d19c96c49d42e77d4408af91fd8

---
 .../llvm-project-overlay/libc/utils/MPFRWrapper/BUILD.bazel      | 1 +
 1 file changed, 1 insertion(+)

diff --git a/utils/bazel/llvm-project-overlay/libc/utils/MPFRWrapper/BUILD.bazel b/utils/bazel/llvm-project-overlay/libc/utils/MPFRWrapper/BUILD.bazel
index 17ffd29505958..c708f008dec2c 100644
--- a/utils/bazel/llvm-project-overlay/libc/utils/MPFRWrapper/BUILD.bazel
+++ b/utils/bazel/llvm-project-overlay/libc/utils/MPFRWrapper/BUILD.bazel
@@ -53,5 +53,6 @@ libc_support_library(
         "//libc/test/UnitTest:LibcUnitTest",
         "//libc/test/UnitTest:fp_test_helpers",
         "//libc/utils/MPFRWrapper:mpfr_impl",
+        "@gmp//:gmp_",
     ],
 )

>From 5112c04e02cbb32e48cdc403f2fe7a6a36ec1d1c Mon Sep 17 00:00:00 2001
From: Haojian Wu <hokein.wu at gmail.com>
Date: Mon, 8 Jul 2024 10:08:19 +0200
Subject: [PATCH 2/2] Touch MPFRUtils.cpp to trigger the rebuild for the
 buildbot.

---
 libc/utils/MPFRWrapper/MPFRUtils.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libc/utils/MPFRWrapper/MPFRUtils.cpp b/libc/utils/MPFRWrapper/MPFRUtils.cpp
index 6548fc36cb6b4..87403e11b24dd 100644
--- a/libc/utils/MPFRWrapper/MPFRUtils.cpp
+++ b/libc/utils/MPFRWrapper/MPFRUtils.cpp
@@ -18,6 +18,7 @@
 
 #include <stdint.h>
 
+
 #include "mpfr_inc.h"
 
 template <typename T> using FPBits = LIBC_NAMESPACE::fputil::FPBits<T>;



More information about the libc-commits mailing list