From d5fe78d939d25e5508ae57a2dc0c587c79ad16b1 Mon Sep 17 00:00:00 2001 From: Joseph Huber Date: Wed, 25 Jan 2023 09:30:51 -0600 Subject: [PATCH] [Clang] Make the linker wrapper test require Linux Summary: We only support this offloading on Linux currently, and this handling of static libraries is mostly based on Linux systems. So we should only test those systems for now until we expland to other operating systems in the future. --- clang/test/Driver/linker-wrapper-libs.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/clang/test/Driver/linker-wrapper-libs.c b/clang/test/Driver/linker-wrapper-libs.c index aa82dd5..a97420c 100644 --- a/clang/test/Driver/linker-wrapper-libs.c +++ b/clang/test/Driver/linker-wrapper-libs.c @@ -2,6 +2,8 @@ // REQUIRES: nvptx-registered-target // REQUIRES: amdgpu-registered-target +// REQUIRES: system-linux + // RUN: %clang -cc1 %s -triple x86_64-unknown-linux-gnu -emit-obj -o %t.elf.o #if defined(RESOLVES) -- 2.7.4