[clang] cd95096 - [clang][modules-driver] Further constrain import-std test (#194604)
via cfe-commits
cfe-commits at lists.llvm.org
Tue Apr 28 06:28:47 PDT 2026
Author: Naveen Seth Hanig
Date: 2026-04-28T15:28:41+02:00
New Revision: cd950962a95f57c149360204f32432dd870781cf
URL: https://github.com/llvm/llvm-project/commit/cd950962a95f57c149360204f32432dd870781cf
DIFF: https://github.com/llvm/llvm-project/commit/cd950962a95f57c149360204f32432dd870781cf.diff
LOG: [clang][modules-driver] Further constrain import-std test (#194604)
The root cause for the failing test was found in
https://github.com/llvm/llvm-project/pull/194475#issuecomment-4335023585.
The test uses `--target=x86_64-linux-gnu` which is only available with
`-DLLVM_TARGETS_TO_BUILD=all` or on native x86 targets.
Added:
Modified:
clang/test/Driver/modules-driver-import-std.cpp
Removed:
################################################################################
diff --git a/clang/test/Driver/modules-driver-import-std.cpp b/clang/test/Driver/modules-driver-import-std.cpp
index 394b0dc8d95d3..3a51cab0406b2 100644
--- a/clang/test/Driver/modules-driver-import-std.cpp
+++ b/clang/test/Driver/modules-driver-import-std.cpp
@@ -1,8 +1,7 @@
// Checks that -fmodules-driver correctly handles the import of Standard library
// modules.
-// https://github.com/llvm/llvm-project/pull/194475#issuecomment-4331347690
-// UNSUPPORTED: target={{.*}}aarch64{{.*}}, {{.*}}arm64{{.*}}
+// REQUIRES: x86-registered-target
// The standard library modules manifest (libc++.modules.json) is discovered
// relative to the installed C++ standard library runtime libraries
More information about the cfe-commits
mailing list