[PATCH] D119547: [libc][bazel] Add tests to the bazel build

Guillaume Chatelet via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 15 14:39:35 PST 2022


gchatelet updated this revision to Diff 475586.
gchatelet added a comment.

- Add licence to libc_test_rules.bzl
- Rename kw into kwargs
- Disable math:sqrtl_test on aarch64
- Suppress warnings for mpfr build
- Use selects.with_or as platform can be a list.
- Also add -w to gmp
- Remove unneeded visibility
- Add missing library for sqrtl
- Remove size from math_test
- add --with-pic configure option to gmp and mpfr (necessary for aarch64)
- Use 'deps' instead of 'additional_deps'
- libc math mpfr=(disable|system|eternal)
- Use system's mpfr for CI
- Make mpfr dependency explicit
- Fix documentation
- Add missing dependencies
- Use canonical version of mpfr_impl
- Fix __support_unit deps after rebase
- Fix wrong target
- Rebase


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D119547/new/

https://reviews.llvm.org/D119547

Files:
  utils/bazel/.bazelrc
  utils/bazel/WORKSPACE
  utils/bazel/llvm-project-overlay/libc/BUILD.bazel
  utils/bazel/llvm-project-overlay/libc/test/BUILD.bazel
  utils/bazel/llvm-project-overlay/libc/test/libc_test_rules.bzl
  utils/bazel/llvm-project-overlay/libc/test/src/fenv/BUILD.bazel
  utils/bazel/llvm-project-overlay/libc/test/src/math/BUILD.bazel
  utils/bazel/llvm-project-overlay/libc/test/src/math/libc_math_test_rules.bzl
  utils/bazel/llvm-project-overlay/libc/test/src/stdlib/BUILD.bazel
  utils/bazel/llvm-project-overlay/libc/test/src/string/BUILD.bazel
  utils/bazel/llvm-project-overlay/libc/utils/MPFRWrapper/BUILD.bazel
  utils/bazel/llvm-project-overlay/libc/utils/UnitTest/BUILD.bazel
  utils/bazel/llvm-project-overlay/libc/utils/testutils/BUILD.bazel
  utils/bazel/third_party_build/gmp.BUILD
  utils/bazel/third_party_build/mpfr.BUILD

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D119547.475586.patch
Type: text/x-patch
Size: 34212 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221115/d2fd04c5/attachment-0001.bin>


More information about the llvm-commits mailing list