You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The code for the two OpenMP runtime libraries was very similar.
Move to common CMake file that is included and provides a simple
interface for adding testsuites. Also add a common check-openmp
target that runs all testsuites that have been registered.
Note that this renames all test options to the common OPENMP
namespace, for example OPENMP_TEST_C_COMPILER instead of
LIBOMP_TEST_COMPILER and so on.
Differential Revision: https://reviews.llvm.org/D40082
llvm-svn: 319343
"OpenMP compiler flag to use for testing OpenMP offloading library")
55
-
find_program(LIBOMPTARGET_LLVM_LIT_EXECUTABLE
56
-
NAMES llvm-lit lit.py lit
57
-
PATHS${OPENMP_LLVM_TOOLS_DIR})
58
-
if(NOT LIBOMPTARGET_LLVM_LIT_EXECUTABLE)
59
-
libomptarget_say("Cannot find llvm-lit.")
60
-
libomptarget_say("Please put llvm-lit in your PATH or set LIBOMPTARGET_LLVM_LIT_EXECUTABLE to its full path or point OPENMP_LLVM_TOOLS_DIR to its directory")
61
-
libomptarget_warning_say("The check-libomptarget target will not be available!")
62
-
return()
63
-
endif()
64
-
65
-
find_program(LIBOMPTARGET_FILECHECK_EXECUTABLE
66
-
NAMES FileCheck
67
-
PATHS${OPENMP_LLVM_TOOLS_DIR})
68
-
if(NOT LIBOMPTARGET_FILECHECK_EXECUTABLE)
69
-
libomptarget_say("Cannot find FileCheck.")
70
-
libomptarget_say("Please put FileCheck in your PATH or set LIBOMPTARGET_FILECHECK_EXECUTABLE to its full path or point OPENMP_LLVM_TOOLS_DIR to its directory")
71
-
libomptarget_warning_say("The check-libomptarget target will not be available!")
72
-
return()
73
-
endif()
74
-
75
-
# Set lit arguments
76
-
# The -j 1 lets the actual tests run with the entire machine.
77
-
# We have one test thread that spawns the tests serially. This allows
0 commit comments