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)
11 target_link_libraries(FortranEvaluateTesting
14 add_flang_nongtest_unittest(leading-zero-bit-count
15 FortranEvaluateTesting
18 add_flang_nongtest_unittest(bit-population-count
19 FortranEvaluateTesting
22 add_flang_nongtest_unittest(uint128
23 FortranEvaluateTesting
26 add_flang_nongtest_unittest(expression
28 FortranEvaluateTesting
34 add_flang_nongtest_unittest(integer
35 FortranEvaluateTesting
40 add_flang_nongtest_unittest(intrinsics
42 FortranEvaluateTesting
50 add_flang_nongtest_unittest(logical
51 FortranEvaluateTesting
56 # GCC -fno-exceptions breaks the fenv.h interfaces needed to capture
57 # IEEE exception flags (different use of the word "exception")
58 # in the actual hardware floating-point status register, so ensure that
59 # C++ exceptions are enabled for this test.
60 set(LLVM_REQUIRES_EH ON)
61 set(LLVM_REQUIRES_RTTI ON)
62 add_flang_nongtest_unittest(real
63 FortranEvaluateTesting
68 llvm_update_compile_flags(real.test)
70 add_flang_nongtest_unittest(reshape
71 FortranEvaluateTesting
77 add_flang_nongtest_unittest(ISO-Fortran-binding
78 FortranEvaluateTesting
84 add_flang_nongtest_unittest(folding
86 FortranEvaluateTesting