1 set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR})
2 add_library(FortranEvaluateTesting
6 if (LLVM_LINK_LLVM_DYLIB)
9 llvm_map_components_to_libnames(llvm_libs Support)
12 target_link_libraries(FortranEvaluateTesting
15 add_flang_nongtest_unittest(leading-zero-bit-count
16 FortranEvaluateTesting
19 add_flang_nongtest_unittest(bit-population-count
20 FortranEvaluateTesting
23 add_flang_nongtest_unittest(uint128
24 FortranEvaluateTesting
27 add_flang_nongtest_unittest(expression
29 FortranEvaluateTesting
35 add_flang_nongtest_unittest(integer
36 FortranEvaluateTesting
41 add_flang_nongtest_unittest(intrinsics
43 FortranEvaluateTesting
51 add_flang_nongtest_unittest(logical
52 FortranEvaluateTesting
57 # GCC -fno-exceptions breaks the fenv.h interfaces needed to capture
58 # IEEE exception flags (different use of the word "exception")
59 # in the actual hardware floating-point status register, so ensure that
60 # C++ exceptions are enabled for this test.
61 set(LLVM_REQUIRES_EH ON)
62 set(LLVM_REQUIRES_RTTI ON)
63 add_flang_nongtest_unittest(real
64 FortranEvaluateTesting
69 llvm_update_compile_flags(real.test)
71 add_flang_nongtest_unittest(reshape
72 FortranEvaluateTesting
78 add_flang_nongtest_unittest(ISO-Fortran-binding
79 FortranEvaluateTesting
85 add_flang_nongtest_unittest(folding
87 FortranEvaluateTesting