projects
/
platform
/
upstream
/
openblas.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
64b5a0e
)
Turned off uninizialized variable warning when compiling lapack-netlib.
author
Hank Anderson
<hank.p.anderson@gmail.com>
Tue, 10 Feb 2015 20:36:43 +0000
(14:36 -0600)
committer
Hank Anderson
<hank.p.anderson@gmail.com>
Tue, 10 Feb 2015 20:36:43 +0000
(14:36 -0600)
cmake/system.cmake
patch
|
blob
|
history
diff --git
a/cmake/system.cmake
b/cmake/system.cmake
index
2a0678f
..
3d58fa2
100644
(file)
--- a/
cmake/system.cmake
+++ b/
cmake/system.cmake
@@
-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")