[all-commits] [llvm/llvm-project] fc381d: [bazel] Export TripleName.def and get_triple_syste...

Kyungtak Woo via All-commits all-commits at lists.llvm.org
Mon Aug 3 06:37:53 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: fc381d5bf9de78cb6b477f58cf58b8b52bad55de
      https://github.com/llvm/llvm-project/commit/fc381d5bf9de78cb6b477f58cf58b8b52bad55de
  Author: Kyungtak Woo <kevinwkt at google.com>
  Date:   2026-08-03 (Mon, 03 Aug 2026)

  Changed paths:
    M utils/bazel/llvm-project-overlay/llvm/BUILD.bazel

  Log Message:
  -----------
  [bazel] Export TripleName.def and get_triple_system_name.py in LLVM overlay (#213602)

The TargetParser lit regression test
(`llvm/test/tools/TargetParser/get-triple-system-name.test`) runs
`get_triple_system_name_test.py`, which imports
`get_triple_system_name.py` from `llvm/utils/` and reads
`TripleName.def` from `llvm/include/llvm/TargetParser/`.

When executing lit regression tests in downstream sandboxed build
systems, the test fails with `ModuleNotFoundError: No module named
'get_triple_system_name'` because these standalone files are located
outside the test directory and are not staged into the test runfiles
sandbox.

Add `TripleName.def` and `get_triple_system_name.py` to `exports_files`
in the overlay so downstream builds can reference them as test runfile
dependencies.

Assited by: Gemini



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