[clang] [clang][modules-driver] Further constrain import-std test (PR #194604)
Naveen Seth Hanig via cfe-commits
cfe-commits at lists.llvm.org
Tue Apr 28 05:29:32 PDT 2026
https://github.com/naveen-seth created https://github.com/llvm/llvm-project/pull/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.
>From 9fcf4da8f58383af48fcd4c345b7b22bc03f4b35 Mon Sep 17 00:00:00 2001
From: Naveen Seth Hanig <naveen.hanig at outlook.com>
Date: Tue, 28 Apr 2026 14:26:09 +0200
Subject: [PATCH] [clang][modules-driver] Further constrain import-std test
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.
---
clang/test/Driver/modules-driver-import-std.cpp | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
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