1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-18 18:42:46 +02:00
llvm-mirror/unittests/Frontend/CMakeLists.txt
Valentin Clement 907f409972 [LLVMFrontend][openacc] Add basic unit tests for functions in LLVMFrontendOpenACC
Add unit tests for functions in LLVMFrontendOpenACC. As notice in D91470 these functions were not tested
as well as the ones for OpenMP (D91643). This patch add tests for the OpenACC part.

Reviewed By: Meinersbur

Differential Revision: https://reviews.llvm.org/D91653
2020-12-03 11:27:18 -05:00

23 lines
351 B
CMake

set(LLVM_LINK_COMPONENTS
Analysis
Core
FrontendOpenMP
FrontendOpenACC
Support
Passes
TransformUtils
)
add_llvm_unittest(LLVMFrontendTests
OpenACCTest.cpp
OpenMPContextTest.cpp
OpenMPIRBuilderTest.cpp
OpenMPParsingTest.cpp
DEPENDS
acc_gen
omp_gen
)
target_link_libraries(LLVMFrontendTests PRIVATE LLVMTestingSupport)