Commit Graph
12 Commits
Author SHA1 Message Date
chayleaf ddca8374dc respect GNU install dirs
CMAKE_INSTALL_LIBDIR is allowed to be an absolute path. Use
CMAKE_INSTALL_FULL_LIBDIR instead.
2023-09-13 11:15:53 +07:00
Stefan 6da21e0a74 Fix LAPACK_DIR in installed lapacke-config.cmake
Fixes #550: on fresh install with version 3.9.1, the line in lapacke-config.cmake is:

set(LAPACK_DIR "${_LAPACKE_PREFIX}/lib/cmake/-3.9.1")

And it should be:

set(LAPACK_DIR "${_LAPACKE_PREFIX}/lib/cmake/lapack-3.9.1")
2021-05-17 17:07:43 -06:00
Aisha Tammy 5dd47be672 create INDEX64 target 2020-11-03 17:14:48 +00:00
Jean-Christophe Fillion-Robin 6d83d7bbb9 cmake: Help client project by setting LAPACK_Fortran_COMPILER_ID in config
This change may help project building against LAPACK or LAPACKE to lookup
the associated Fortran compiler support libraries.
2018-09-08 17:20:38 -04:00
Jean-Christophe Fillion-RobinandPablo Hernandez e7038f5bf5 cmake: Update LAPACKE_LIBRARIES in LAPACKE config file to include LAPACK libraries
Similarly to the previous commit, this commit abstracts the detailed list
of libraries associated with LAPACKE and streamlines the configuration
of user projects. They can now simply specify ${LAPACKE_LIBRARIES}
independently of the LAPACKE and LAPACK build options.

Co-authored-by: Pablo Hernandez <pablo.hernandez@kitware.com>
2018-08-15 18:38:27 -04:00
Rao Garimella d390d45005 fixed path in installed package config files for CBLAS and LAPACKE. These did not get caught in the cleanup of installation directory names (#e64606d). Fixes #21 2017-10-10 12:19:03 -06:00
Julie 3f23bd5d53 merging: Various cleanups to makefiles #84
Contribution by @turboencabulator
Closing #84
2016-11-25 17:03:13 -08:00
Julien Langou b89dd9375b Merge branch 'FixInstalledPathingWithLib64' of https://github.com/hjmjohnson/lapack into hjmjohnson-FixInstalledPathingWithLib64 2016-07-11 08:53:53 -06:00
Hans Johnson 9c7f84bd60 STYLE: Remove trailing whitespace in MISC files
This is mostly a long term maintenance improvement.

Many coding styles require elimination of trailing whitespace, and
many editors and source code management configurations automatically
gobble up whitespace. When these tools gobble up whitespace, it
complicates reviewing the meaningful code changes.

By removing whitespace on one patch, it makes future
code reviews much easier.

=SCRIPT====================================================================

if which tempfile &>/dev/null; then
  TEMPMAKER=tempfile
elif which mktemp &>/dev/null; then
  TEMPMAKER=mktemp
else
  echo "Cannot find tempfile program." 2>&1
  exit 1
fi

MYTEMP=$($TEMPMAKER)
trap 'rm -f $MYTEMP' SIGINT SIGTERM

stripit() {
  echo "stripping $1"
  sed 's/[ \t]*$//' "$1" > $MYTEMP
  cp $MYTEMP "$1"
}

if [ $# -gt 0 ]; then
  while [ "$1" != "" ]; do
    stripit $1
    shift
  done
else
  while read -t 2; do
    stripit $REPLY
  done
fi

rm $MYTEMP
=================================================
2016-07-09 11:19:33 -05:00
Hans Johnson b7486d8bb9 BUG: path failure for find_package config files
CMake Error at src/lapack-install/lib64/cmake/lapacke-3.6.1/lapacke-config.cmake:13 (include):
  include could not find load file:

    src/lapack-install/lib64/cmake/lapacke-3.6.1/lapacke-targets.cmake
Call Stack (most recent call first):
  CMakeLists.txt:26 (find_package)

-- src/lapack-install/lib64/cmake/lapacke-3.6.1
-- Configuring incomplete, errors occurred!
See also "src/lapackTest-bld/CMakeFiles/CMakeOutput.log".

The file was installed in:
    src/lapack-install/lib/cmake/lapacke-3.6.1/lapacke-targets.cmake
                          ^^ - Missing lib suffix of 64
2016-07-09 10:05:33 -05:00
Hans Johnson 6b2f6561e4 BUG: Fix pathing to include files
During building of external packages, only the build tree or install
tree files should be used (the source tree may not be available from
the binary package).  Set to use the build tree locations for the
configuration files.
2016-07-05 15:26:45 -05:00
julie 8d160e5f96 Fixing folder uppercase / lower case issue - Thank you Don 2014-10-08 18:40:57 +00:00