[clang] [clang-repl] Run the CUDA tests in CI without a GPU (PR #236206)

Aaron Ballman via cfe-commits cfe-commits at lists.llvm.org
Wed Oct 28 06:29:13 PDT 2026


================
@@ -0,0 +1,39 @@
+/* Minimal declarations for CUDA support.  Testing purposes only. */
----------------
AaronBallman wrote:

I don't think we should have tests reaching across test component boundaries for inputs; I believe those directories are intended to be mostly hermetic (the theory being: if you only need clangLex and clangParse as libraries, you should be able to take just the Lexer and Parser* test directories alone).

However, I do agree that it would be nice to have an easier way to share inputs across the test directories. I just think that's more of a "let's design what we want that to look like" project that's separate from this PR. So my suggestion is to add the new input file here and then in a follow-up introduce a shared input space for tests and convert the test suite to using it, if anyone feels strongly enough to do it (I don't insist).

https://github.com/llvm/llvm-project/pull/236206


More information about the cfe-commits mailing list