Skip to content

Commit 368c287

Browse files
author
git apple-llvm automerger
committed
Merge commit '900d20d0dc7b' from llvm.org/main into next
2 parents 041fb4f + 900d20d commit 368c287

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

offload/unittests/CMakeLists.txt

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -104,11 +104,6 @@ function(add_conformance_test test_name)
104104

105105
list(TRANSFORM ARGN PREPEND "${CMAKE_CURRENT_SOURCE_DIR}/" OUTPUT_VARIABLE files)
106106

107-
if(NOT TARGET libc)
108-
message(WARNING "Cannot run conformance tests without the LLVM C library")
109-
return()
110-
endif()
111-
112107
add_executable(${target_name} ${files})
113108
add_dependencies(${target_name} conformance_device_binaries)
114109
target_compile_definitions(${target_name}

offload/unittests/Conformance/tests/CMakeLists.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
if(NOT TARGET libc)
2+
message(WARNING "Cannot run conformance tests without the LLVM C library")
3+
return()
4+
endif()
5+
16
add_conformance_test(acosf AcosfTest.cpp)
27
add_conformance_test(acoshf AcoshfTest.cpp)
38
add_conformance_test(asinf AsinfTest.cpp)

0 commit comments

Comments
 (0)