[OpenMP][Tool] disable archer tests in standalone build
authorprotze@itc.rwth-aachen.de <protze@itc.rwth-aachen.de>
Fri, 22 Nov 2019 14:25:22 +0000 (15:25 +0100)
committerprotze@itc.rwth-aachen.de <protze@itc.rwth-aachen.de>
Fri, 22 Nov 2019 14:25:43 +0000 (15:25 +0100)
Will be enabled after Build-Bots are fixed

openmp/tools/archer/tests/CMakeLists.txt

index 4f70b1a..332f3a8 100644 (file)
@@ -2,6 +2,11 @@
 include(CheckFunctionExists)
 include(CheckLibraryExists)
 
+if (OPENMP_STANDALONE_BUILD)
+  return ()
+endif ()
+
+
 # When using libgcc, -latomic may be needed for atomics
 # (but when using compiler-rt, the atomics will be built-in)
 # Note: we can not check for __atomic_load because clang treats it