Browse Source

Turned off uninizialized variable warning when compiling lapack-netlib.

tags/v0.2.15^2
Hank Anderson 10 years ago
parent
commit
d60b49e5c5
1 changed files with 5 additions and 0 deletions
  1. +5
    -0
      cmake/system.cmake

+ 5
- 0
cmake/system.cmake View File

@@ -342,6 +342,11 @@ if (${CMAKE_SYSTEM_NAME} STREQUAL "Windows")
endforeach ()
endif ()

if (${F_COMPILER} STREQUAL "GFORTRAN")
# lapack-netlib is rife with uninitialized warnings -hpa
set(LAPACK_FFLAGS "${LAPACK_FFLAGS} -Wno-maybe-uninitialized")
endif ()

set(LAPACK_CFLAGS "${CMAKE_C_CFLAGS} -DHAVE_LAPACK_CONFIG_H")
if (INTERFACE64)
set(LAPACK_CFLAGS "${LAPACK_CFLAGS} -DLAPACK_ILP64")


Loading…
Cancel
Save