Author: Joseph Huber Date: 2023-01-25T09:31:59-06:00 New Revision: d5fe78d939d25e5508ae57a2dc0c587c79ad16b1
URL: https://github.com/llvm/llvm-project/commit/d5fe78d939d25e5508ae57a2dc0c587c79ad16b1 DIFF: https://github.com/llvm/llvm-project/commit/d5fe78d939d25e5508ae57a2dc0c587c79ad16b1.diff LOG: [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. Added: Modified: clang/test/Driver/linker-wrapper-libs.c Removed: ################################################################################ diff --git a/clang/test/Driver/linker-wrapper-libs.c b/clang/test/Driver/linker-wrapper-libs.c index aa82dd5c44b0..a97420c34162 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) _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits