[llvm] [Offload] Add framework for math conformance tests (PR #149242)

Joseph Huber via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 24 09:29:01 PDT 2025


================
@@ -0,0 +1,7 @@
+add_library(MathTest STATIC DeviceContext.cpp DeviceResources.cpp ErrorHandling.cpp)
+
+include(FindLibcCommonUtils)
+
+target_include_directories(MathTest PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}/../include")
+target_compile_options(MathTest PUBLIC -fno-rtti)
----------------
jhuber6 wrote:

```suggestion
if(NOT LLVM_REQUIRES_RTTI)
  target_compile_options(MathTest PUBLIC -fno-rtti)
endif()
```

https://github.com/llvm/llvm-project/pull/149242


More information about the llvm-commits mailing list