Commit Graph
22 Commits
Author SHA1 Message Date
julie e6e99382cb Add missing files for GNU-built LAPACK DLLs with MS tools 2011-08-15 13:26:00 +00:00
julie c81b790f91 Commiting BRAD patch
Here is a patch for lapack to provide MS-format dll import libraries
from the MinGW GNU toolchain.  It is ready for others to try before it
goes upstream.  You just need to have MinGW GNU Fortran 4.x and one of
the VS IDEs installed.  Configure a MinGW build with BUILD_SHARED_LIBS
set to ON.  The resulting build (and install) tree will provide both
GNU-format and MS-format import libraries for the DLLs.

A C application built with MSVC and linked to the MinGW-built lapack
DLLs will run but requires the GNU runtime DLLs from MinGW to be available.
I tested this with both 32-bit and 64-bit builds.  For the latter I used
the mingw64 gfortran.  In both cases I just put the GNU runtime directory
in my PATH.  I think both libgfortran-3.dll and libgcc_s_dw2-1.dll are
needed.

This may be used to create a binary LAPACK distribution for Windows that
will work without any GNU tools installed.  One needs only to provide the
MinGW GNU runtime libraries along with blas.dll and lapack.dll.

-Brad
2011-08-09 18:59:44 +00:00
julie 8dcfef49b8 Added compiler options needed for HP Fortran
- Chuck Atkins (Kitware)
2011-03-06 20:02:06 +00:00
julie 04c69903f0 Corrected a typo in the output message when setting optimization level
- Chuck Atkins (Kitware)
2011-02-26 21:49:14 +00:00
julie 2bbd1ad6d5 Re-worked type-size checks to search for differnt sizes for different types
- Chuck Atkins (Kitware)
2011-02-26 20:51:01 +00:00
julie f19fb4ee33 Recude RELEASE optimization level from O>3 to O2
- Chuck Atkins (Kitware)
2011-02-26 20:49:40 +00:00
julie 641e64e1e6 Move CMake files to a subdirectory
- Brad King (Kitware)
2011-02-07 14:54:28 +00:00
julie 310741c073 Revert "Move CMake files to a subdirectory"
This reverts commit bc425c443232cf9737afcce38753f79963d31e0a.
2011-02-07 14:54:09 +00:00
julie efbb122baf Move CMake files to a subdirectory 2011-02-07 14:37:01 +00:00
julie 8326a972ee Re-worked the type size check to be much more compact
- Chuck Atkins (Kitware)
2010-12-31 01:33:24 +00:00
julie 1a1c5a44df Added acml_mv to the ACML link libraries
- Chuck Atkins (Kitware)
2010-12-30 23:11:32 +00:00
julie c541fcd909 1. Adjusted regex checks in CheckLAPACKCompilerFlags.cmake to be more compact
2.  Added CheckFortranIntSize.cmake to auto-determine the default integer size
3.  Added more auto-detection features using integer size and compiler checks in FindBLAS.cmake

- Chuck Atkins (Kitware)
2010-12-30 22:14:10 +00:00
julie 8146c9b43f 1. Fixed a typo in FindBLAS for SGI (SCCL should have been SCSL) and 2. Fixed compiler flag check for SunPro to use ftrap=%none instead of ftrap=none.
- Chuck Atkins (Kitware)
2010-12-24 15:29:47 +00:00
julie 7f144b46d4 1. Added support for both IBM XL Fortran and IBM VisualAge Fortran
2.  Added libblas to ESSL libs to cover missing functionality from ESSL
3.  Renamed ESSL_6464, ESSL_SMP, and ESSL_SMP_6464 to ESSL6464, ESSLSMP, and ESSLSMP6464 respectively to mimic the actual library names.
4.  Added copyright notice to CheckLAPACKCompilerFlags

- Chuck Atkins (Kitware)
2010-12-23 02:32:05 +00:00
julie 1c2620a72f Fixed a bug in the IBM compiler options (-ffixed-form -> -qfixed).
- Chuck Atkins (Kitware)
2010-12-23 00:50:18 +00:00
julie 7c3ad4800f Added checks disable floating point exceptions for GNU, Intel, Sun, and IBM compilers and to enforce fixed-form for IBM compilers.
- Chuck Atkins (Kitware)
2010-12-23 00:39:05 +00:00
julie c6db164e8d Fixed FindBLAS for Sun Performance Library
- Chuck Atkins (Kitware)
2010-12-21 02:11:49 +00:00
julie 046375a08f 1. Corrected the way linker flags from FindBLAS are being used
2.  Changed LOOK_FOR_OPTIMIZED_BLAS to USE_OPTIMIZED_BLAS per CMake convention
3.  Changed BLAS_VENDORS to use library names instead of manufacturer names:
    From: BLAS_VENDORS=AMD;IBM;INTEL;HP;SUN etc
      To: BLAS_VENDORS=ACML;ESSL;MKL;VECLIB;PERFLIB
    This seems to be a more intuitive interface
4.  Added support for Intel MKL single dynamic library

- Chuck Atkins (Kitware)
2010-12-16 15:12:27 +00:00
julie 141210af9c Added compiler flags from FindBLAS. 2010-12-15 18:42:50 +00:00
julie 1ab7dfd850 minor modif on find BLAS 2010-12-15 18:08:26 +00:00
julie fc27aaf2d3 Removed leftover debug messages from FindBLAS.cmake 2010-12-15 16:58:32 +00:00
julie bbc02626a5 Added support for external BLAS libraries in the CMake build. 2010-12-15 16:48:25 +00:00