[all-commits] [llvm/llvm-project] 627c7e: [libc][bazel] Allow LLVM-libc tests to be run in f...
Jackson Stogel via All-commits
all-commits at lists.llvm.org
Mon Sep 14 11:56:24 PDT 2026
Branch: refs/heads/users/jtstogel/full-build/misc-tests
Home: https://github.com/llvm/llvm-project
Commit: 627c7eea781a8be31cbe8291c6b5d6853887f3cd
https://github.com/llvm/llvm-project/commit/627c7eea781a8be31cbe8291c6b5d6853887f3cd
Author: jtstogel <jtstogel at gmail.com>
Date: 2026-09-14 (Mon, 14 Sep 2026)
Changed paths:
M utils/bazel/llvm-project-overlay/libc/test/include/BUILD.bazel
M utils/bazel/llvm-project-overlay/libc/test/libc_test_rules.bzl
M utils/bazel/llvm-project-overlay/libc/test/src/stdio/BUILD.bazel
M utils/bazel/llvm-project-overlay/libc/test/src/string/BUILD.bazel
M utils/bazel/llvm-project-overlay/libc/utils/MPCWrapper/BUILD.bazel
M utils/bazel/llvm-project-overlay/libc/utils/MPFRWrapper/BUILD.bazel
Log Message:
-----------
[libc][bazel] Allow LLVM-libc tests to be run in full-build mode
On x86-64 linux, `bazel test @llvm-project//libc/test/... -- at llvm-project//libc:build_mode=full --config=generic_clang` now executes nearly all LLVM-libc tests that have Bazel support, except math tests (because MPFR cannot yet be built with just LLVM-libc).
This PR mostly just configures Bazel targets to have the correct dependencies in full-build mode. There are two additional changes:
- `BazelFilePath.cpp` was updated to use LLVM-libc's `getenv` implementation when compiling with full-build.
- `libc_test` was modified to compile against `crt1.o`.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list