[Openmp-commits] [PATCH] D142173: [OpenMP] Disable tests that are not supported by GCC if it is used for testing
Shilei Tian via Phabricator via Openmp-commits
openmp-commits at lists.llvm.org
Tue Jan 24 14:00:25 PST 2023
This revision was automatically updated to reflect the committed changes.
Closed by commit rG7e89420116c9: [OpenMP] Disable tests that are not supported by GCC if it is used for testing (authored by tianshilei1992).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D142173/new/
https://reviews.llvm.org/D142173
Files:
openmp/runtime/test/atomic/omp-atomic-compare-signedness.c
openmp/runtime/test/teams/teams-atomic.c
Index: openmp/runtime/test/teams/teams-atomic.c
===================================================================
--- openmp/runtime/test/teams/teams-atomic.c
+++ openmp/runtime/test/teams/teams-atomic.c
@@ -2,6 +2,8 @@
// omp teams. This is an extension to OpenMP 5.2 and is enabled by default.
// RUN: %libomp-compile-and-run | FileCheck %s
+// GCC has really limited OpenMP 5.2 support yet.
+// UNSUPPORTED: gcc
#include <omp.h>
#include <stdbool.h>
Index: openmp/runtime/test/atomic/omp-atomic-compare-signedness.c
===================================================================
--- openmp/runtime/test/atomic/omp-atomic-compare-signedness.c
+++ openmp/runtime/test/atomic/omp-atomic-compare-signedness.c
@@ -6,6 +6,10 @@
// RUN: %libomp-compile -fopenmp-version=51
// RUN: %libomp-run | FileCheck %s
+// This test uses -fopenmp-version, which is not a compiler flag that GCC
+// supports.
+// UNSUPPORTED: gcc
+
// High parallelism increases our chances of detecting a lack of atomicity.
#define NUM_THREADS_TRY 256
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D142173.491906.patch
Type: text/x-patch
Size: 1044 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20230124/3154b2a9/attachment.bin>
More information about the Openmp-commits
mailing list