lapack icon indicating copy to clipboard operation
lapack copied to clipboard

Add LAPACK option and support building only LAPACKE without requiring fortran

Open jcfr opened this issue 7 years ago • 4 comments

@langou : @phcerdan and I will start working on the following

  • [ ] Do not require Fortran. See https://github.com/Reference-LAPACK/lapack/blob/9fb29d8ea47d643ad44a67d3da5de36e280143f5/CMakeLists.txt#L3

  • [ ] Add option LAPACK enabled by default (similar to the other option named LAPACKE and CBLAS). Enable Fortran only with LAPACK is on. In a nutshell, enable_language(Fortran) will be called only if LAPACK is ON

  • [x] Exclude this code if CMAKE_CONFIGURATION_TYPES is defined

  • [ ] Update appveyor.yml to test building with LAPACK:BOOL=OFF and LAPACKE:BOOL=ON using generators -G "Visual Studio 14 2015 Win64 (will add VS 2017 later)

jcfr avatar Aug 13 '18 17:08 jcfr

Will this fix #267?

julielangou avatar Aug 13 '18 18:08 julielangou

Will this fix #267?

yes

jcfr avatar Aug 13 '18 18:08 jcfr

@phcerdan Let's fix #267 in with a dedicated PR.

jcfr avatar Aug 13 '18 20:08 jcfr

@phcerdan Let's fix #267 in with a dedicated PR.

Opened #274 for this, please have a look!

phcerdan avatar Aug 13 '18 21:08 phcerdan