From: Joseph Huber Date: Wed, 25 Jan 2023 15:30:51 +0000 (-0600) Subject: [Clang] Make the linker wrapper test require Linux X-Git-Tag: upstream/17.0.6~19635 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d5fe78d939d25e5508ae57a2dc0c587c79ad16b1;p=platform%2Fupstream%2Fllvm.git [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. --- 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)