[DFAJumpThreading] Remove incoming StartBlock from all phis when unfolding select...
[llvm-project.git] / utils / bazel / third_party_build / mpfr.BUILD
blob6b47874824c7485702802d1ed77a199e1750f90d
1 # This file is licensed under the Apache License v2.0 with LLVM Exceptions.
2 # See https://llvm.org/LICENSE.txt for license information.
3 # SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
5 load("@rules_foreign_cc//foreign_cc:defs.bzl", "configure_make_variant")
7 filegroup(
8     name = "sources",
9     srcs = glob(["**"]),
12 configure_make_variant(
13     name = "mpfr",
14     configure_options = ["--with-pic"],
15     copts = ["-w"],
16     lib_name = "libmpfr",
17     lib_source = ":sources",
18     toolchain = "@rules_foreign_cc//toolchains:preinstalled_autoconf_toolchain",
19     visibility = ["//visibility:public"],
20     deps = ["@gmp//:gmp_"],
23 alias(
24     name = "mpfr_external",
25     actual = "@mpfr//:mpfr_",
26     visibility = ["//visibility:public"],
29 cc_library(
30     name = "mpfr_system",
31     linkopts = ["-lmpfr"],
32     visibility = ["//visibility:public"],