Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 304653 Details for
Bug 399755
dev-util/cmake: pkg-config library path not respected by cmake in Find_{BLAS,LAPACK}.cmake
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Similiar patch for FindLAPACK.cmake
FindLAPACK.cmake.patch (text/plain), 1.15 KB, created by
Christoph Junghans (RETIRED)
on 2012-03-08 18:26:14 UTC
(
hide
)
Description:
Similiar patch for FindLAPACK.cmake
Filename:
MIME Type:
Creator:
Christoph Junghans (RETIRED)
Created:
2012-03-08 18:26:14 UTC
Size:
1.15 KB
patch
obsolete
>--- FindLAPACK.cmake.orig 2012-03-08 11:19:12.000000000 -0700 >+++ FindLAPACK.cmake 2012-03-08 11:20:44.000000000 -0700 >@@ -46,8 +46,18 @@ > # first, try PkgConfig > # > find_package(PkgConfig REQUIRED) >-pkg_check_modules(LAPACK lapack) >-if(NOT LAPACK_FOUND) >+pkg_check_modules(PC_LAPACK lapack) >+if(PC_LAPACK_FOUND) >+ foreach(PC_LIB ${PC_LAPACK_LIBRARIES}) >+ find_library(${PC_LIB}_LIBRARY NAMES ${PC_LIB} HINTS ${PC_LAPACK_LIBRARY_DIRS} ) >+ if (NOT ${PC_LIB}_LIBRARY) >+ message(FATAL_ERROR "Something is wrong in your pkg-config file - lib ${PC_LIB} not found in ${PC_LAPACK_LIBRARY_DIRS}") >+ endif (NOT ${PC_LIB}_LIBRARY) >+ list(APPEND LAPACK_LIBRARIES ${${PC_LIB}_LIBRARY}) >+ endforeach(PC_LIB) >+ find_package_handle_standard_args(LAPACK DEFAULT_MSG LAPACK_LIBRARIES) >+ mark_as_advanced(LAPACK_LIBRARIES) >+else(PC_LAPACK_FOUND) > message(STATUS "No PkgConfig configuration for LAPACK found; starting more extensive search.") > > set(_lapack_ORIG_CMAKE_FIND_LIBRARY_SUFFIXES ${CMAKE_FIND_LIBRARY_SUFFIXES}) >@@ -320,4 +330,4 @@ > > set(CMAKE_FIND_LIBRARY_SUFFIXES ${_lapack_ORIG_CMAKE_FIND_LIBRARY_SUFFIXES}) > >-endif(NOT LAPACK_FOUND) >+endif(PC_LAPACK_FOUND)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 399755
:
299563
|
300201
| 304653