[flang-commits] [flang] [flang][Driver][test] add missing run lines to fopenmp test (PR #92784)
Mats Petersson via flang-commits
flang-commits at lists.llvm.org
Wed May 22 05:33:16 PDT 2024
================
@@ -51,9 +51,18 @@
! We'd like to check that the default is sane, but until we have the ability
! to *always* semantically analyze OpenMP without always generating runtime
! calls (in the event of an unsupported runtime), we don't have a good way to
-! test the CC1 invocation. Instead, just ensure we do eventually link *some*
+! test the FC1 invocation. Instead, just ensure we do eventually link *some*
! OpenMP runtime.
!
+! RUN: %flang -target x86_64-linux-gnu -fopenmp %s -o %t -### 2>&1 | FileCheck %s --check-prefix=CHECK-LD-ANY
+! RUN: %flang -target x86_64-darwin -fopenmp %s -o %t -### 2>&1 | FileCheck %s --check-prefix=CHECK-LD-ANY
+! RUN: %flang -target x86_64-freebsd -fopenmp %s -o %t -### 2>&1 | FileCheck %s --check-prefix=CHECK-LD-ANY
+! RUN: %flang -target x86_64-netbsd -fopenmp %s -o %t -### 2>&1 | FileCheck %s --check-prefix=CHECK-LD-ANY
----------------
Leporacanthicus wrote:
We probably don't need to have ALL of these different targets. Very nit-picky, no big deal if we keep them, just trying to keep down the number of permutations being run in tests...
https://github.com/llvm/llvm-project/pull/92784
More information about the flang-commits
mailing list