Skip to content

Find{BLAS,LAPACK}: Implement BLA_SIZEOF_INTEGER

Igor S. Gerasimov requested to merge foxtran/cmake:BLA_INTEGER_SIZEOF into master

Changes:

  1. NVHPC-BLAS was separated from Generic
  2. Fujitsu_SSL2's, IBMESSL's, EML's LAPACKs use BLAS flags without searching of LAPACK library
  3. New input variable BLA_SIZEOF_INTEGER for searching of BLAS/LAPACK with 64-bits integers API

Usage:

set(BLA_SIZEOF_INTEGER 8)
find_package(BLAS REQUIRED)
find_package(LAPACK REQUIRED)

BLA_SIZEOF_INTEGER is not implemented for the following:

  • BLAS:
    1. goto2
    2. ATLAS
    3. PhiPACK
    4. SGIMATH
  • LAPACK:
    1. goto2

For SunPerf, BLA_SIZEOF_INTEGER is not needed: other symbols are presented for 64-bits integers API

Fixes: #22493 (closed)
Topic-rename: find-blas-lapack-sizeof-integer

Edited by Brad King

Merge request reports