[Openmp-commits] [openmp] 047890b - [OpenMP][Tests][NFC] Mark tests trying to link COI as unsupported

Joachim Protze via Openmp-commits openmp-commits at lists.llvm.org
Mon Oct 25 09:23:22 PDT 2021


Author: Joachim Protze
Date: 2021-10-25T18:20:12+02:00
New Revision: 047890bc3f922e9ffdc5210577d14a4de63ed944

URL: https://github.com/llvm/llvm-project/commit/047890bc3f922e9ffdc5210577d14a4de63ed944
DIFF: https://github.com/llvm/llvm-project/commit/047890bc3f922e9ffdc5210577d14a4de63ed944.diff

LOG: [OpenMP][Tests][NFC] Mark tests trying to link COI as unsupported

For some tests with target-related functionality icc 18/19 tries to link
libioffload_target.so.5, which fails for missing COI symbols.

Added: 
    

Modified: 
    openmp/runtime/test/api/omp_get_num_devices.c
    openmp/runtime/test/api/omp_pause_resource.c
    openmp/runtime/test/critical/omp_critical_with_hint.c
    openmp/runtime/test/teams/kmp_num_teams.c

Removed: 
    


################################################################################
diff  --git a/openmp/runtime/test/api/omp_get_num_devices.c b/openmp/runtime/test/api/omp_get_num_devices.c
index d534fa3d7261..da79b95e4a65 100644
--- a/openmp/runtime/test/api/omp_get_num_devices.c
+++ b/openmp/runtime/test/api/omp_get_num_devices.c
@@ -1,4 +1,7 @@
 // RUN: %libomp-compile-and-run
+// Linking fails for icc 18
+// UNSUPPORTED: icc-18
+
 #include <stdio.h>
 #include "omp_testsuite.h"
 

diff  --git a/openmp/runtime/test/api/omp_pause_resource.c b/openmp/runtime/test/api/omp_pause_resource.c
index 32c1120ab0e8..e4aaa51861b8 100644
--- a/openmp/runtime/test/api/omp_pause_resource.c
+++ b/openmp/runtime/test/api/omp_pause_resource.c
@@ -1,4 +1,8 @@
 // RUN: %libomp-compile-and-run
+
+// Linking fails for icc 18/19
+// UNSUPPORTED: icc-18, icc-19
+
 #include <stdio.h>
 #include "omp_testsuite.h"
 

diff  --git a/openmp/runtime/test/critical/omp_critical_with_hint.c b/openmp/runtime/test/critical/omp_critical_with_hint.c
index 68c726917ae1..4ffdd91449d4 100644
--- a/openmp/runtime/test/critical/omp_critical_with_hint.c
+++ b/openmp/runtime/test/critical/omp_critical_with_hint.c
@@ -1,4 +1,7 @@
 // RUN: %libomp-compile-and-run
+// critial with hint was introduced with icc 19
+// UNSUPPORTED: icc-18
+
 #include <stdio.h>
 #include <omp.h>
 #include "omp_testsuite.h"

diff  --git a/openmp/runtime/test/teams/kmp_num_teams.c b/openmp/runtime/test/teams/kmp_num_teams.c
index 26a3c3d86325..06b0586b83a7 100644
--- a/openmp/runtime/test/teams/kmp_num_teams.c
+++ b/openmp/runtime/test/teams/kmp_num_teams.c
@@ -1,5 +1,7 @@
 // RUN: %libomp-compile-and-run
 // UNSUPPORTED: gcc
+// Linking fails for icc 18/19
+// UNSUPPORTED: icc-18, icc-19
 
 #include <stdio.h>
 #include <stdlib.h>


        


More information about the Openmp-commits mailing list