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")
12 configure_make_variant(
14 configure_options = ["--with-pic"],
17 lib_source = ":sources",
18 toolchain = "@rules_foreign_cc//toolchains:preinstalled_autoconf_toolchain",
19 visibility = ["//visibility:public"],
20 deps = ["@gmp//:gmp_"],
24 name = "mpfr_external",
25 actual = "@mpfr//:mpfr_",
26 visibility = ["//visibility:public"],
31 linkopts = ["-lmpfr"],
32 visibility = ["//visibility:public"],