We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 66380df commit d2d2625Copy full SHA for d2d2625
BLAS/TESTING/CMakeLists.txt
@@ -15,6 +15,12 @@ macro(add_blas_test name src)
15
-DINTDIR=${CMAKE_CFG_INTDIR}
16
-P "${LAPACK_SOURCE_DIR}/TESTING/runtest.cmake")
17
endif()
18
+
19
+ # Disable constant propagation for NAG compiler to avoid issues with
20
+ # special values (Inf, NaN) returned by SXVALS and DXVALS.
21
+ if(CMAKE_Fortran_COMPILER_ID STREQUAL "NAG")
22
+ target_compile_options(${name} PRIVATE "-Onopropagate")
23
+ endif()
24
endmacro()
25
26
if(BUILD_SINGLE)
0 commit comments