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
1. If ORC_RT_LLVM_TOOLS_DIR is not defined but LLVM_BINARY_DIR is then the
latter is used to set a value for ORC_RT_LLVM_TOOLS_DIR
("${LLVM_BINARY_DIR}/bin").
2. If ORC_RT_LLVM_TOOLS_DIR is available it is used to find the testing tools
(so far just `FileCheck` and `not`).
3. If the test tools are available then the check-orc-rt target is enabled.
The lit config files have also been cut down, and the unit test updated to
compile and return a passing result.
message(STATUS"Cannot find FileCheck. Please put it in your PATH, set ORC_RT_FILECHECK_EXECUTABLE to its full path, or point ORC_RT_LLVM_TOOLS_DIR to its directory.")
22
+
set(ORC_RT_LLVM_TOOLS_AVAILABLE FALSE)
23
+
endif()
24
+
25
+
# Add dependence on not.
26
+
if (TARGETnot)
27
+
list(APPEND ORC_RT_TEST_DEPS not)
28
+
endif()
29
+
30
+
find_program(ORC_RT_NOT_EXECUTABLE
31
+
NAMESnot
32
+
PATHS${ORC_RT_LLVM_TOOLS_DIR})
33
+
if (NOT ORC_RT_NOT_EXECUTABLE)
34
+
message(STATUS"Cannot find 'not'. Please put it in your PATH, set ORC_RT_NOT_EXECUTABLE to its full path, or point ORC_RT_LLVM_TOOLS_DIR to its directory.")
0 commit comments