Skip to content

[CMake] Add BINARY_DIR argument for add_lit_testsuites #144431

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 17, 2025

Conversation

llvm-beanz
Copy link
Collaborator

We're doing some slightly odd things with LIT in the offload-test-suite. Specifically we generate multiple binary directories to configure and run tests with different configurations from the same source root.

In this configuration the subdirectory targets need to instead point to the correct generated binary directory and use test filtering to get a subset of tests.

We're doing some slightly odd things with LIT in the offload-test-suite.
Specifically we generate multiple binary directories to configure and
run tests with different configurations from the same source root.

In this configuration the subdirectory targets need to instead point to
the correct generated binary directory and use test filtering to get a
subset of tests.
@llvm-beanz llvm-beanz requested a review from bogner June 16, 2025 21:07
@llvmbot llvmbot added the cmake Build system in general and CMake in particular label Jun 16, 2025
@llvm-beanz llvm-beanz merged commit 01a7a21 into llvm:main Jun 17, 2025
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cmake Build system in general and CMake in particular
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants