[flang-commits] [flang] [flang] Fix flang tests on MacOS (PR #70811)

Andrzej WarzyƄski via flang-commits flang-commits at lists.llvm.org
Mon Nov 6 01:14:30 PST 2023


================
@@ -10,7 +10,7 @@
 ! RUN: %flang -### -S -flto=jobserver %s 2>&1 | FileCheck %s --check-prefix=FULL-LTO
 
 ! Also check linker plugin opt for Thin LTO
-! RUN: %flang -### -flto=thin %s 2>&1 | FileCheck %s --check-prefix=THIN-LTO
+! RUN: %flang --target=x86_64-linux-gnu -### -flto=thin %s 2>&1 | FileCheck %s --check-prefix=THIN-LTO
----------------
banach-space wrote:

Rather than hard-coding the triple, could you mark this as "UNSUPPORTED" on Darwin? And then create a ticket for what you discovered here (IIUC, that ThinLTO does not work on MacOS). Does ThinLTO work with Clang on Darwin?

https://github.com/llvm/llvm-project/pull/70811


More information about the flang-commits mailing list