diff options
author | Guillaume Chatelet <gchatelet@google.com> | 2022-11-03 12:50:35 +0000 |
---|---|---|
committer | Guillaume Chatelet <gchatelet@google.com> | 2022-11-17 14:19:56 +0000 |
commit | 3c13d83ad59b5932328c0a99b0a0008e1da8b1d8 (patch) | |
tree | ebfa43fb2a4b4697628eb1445b93580408fd0b03 /utils/bazel/.bazelrc | |
parent | a429773b3ec6978e2cfd27d2ff6a6585b6e88198 (diff) | |
download | llvm-3c13d83ad59b5932328c0a99b0a0008e1da8b1d8.zip llvm-3c13d83ad59b5932328c0a99b0a0008e1da8b1d8.tar.gz llvm-3c13d83ad59b5932328c0a99b0a0008e1da8b1d8.tar.bz2 |
[libc][bazel] Add tests to the bazel build
@GMNGeoffrey let me know it there's a better way to import MPFR and GMP for the purpose of testing libc math functions.
Differential Revision: https://reviews.llvm.org/D119547
Diffstat (limited to 'utils/bazel/.bazelrc')
-rw-r--r-- | utils/bazel/.bazelrc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/utils/bazel/.bazelrc b/utils/bazel/.bazelrc index 71007f2..f15da71 100644 --- a/utils/bazel/.bazelrc +++ b/utils/bazel/.bazelrc @@ -168,6 +168,10 @@ build:ci --config=generic_clang # Speedup bazel using a ramdisk. build:ci --sandbox_base=/dev/shm +# Use system's mpfr instead of building it from source. +# This is non hermetic but helps with compile time. +build:ci --@llvm-project//libc:mpfr=system + # Don't build/test targets tagged with "nobuildkite". build:ci --build_tag_filters=-nobuildkite build:ci --test_tag_filters=-nobuildkite |