Avoids conflict with LAPACK++ so it can find -llapack with ESSL.
The issue is BLAS++ needs a subset of LAPACK, which is provided by ESSL (e.g., potrf), whereas LAPACK++ needs the whole of LAPACK (e.g., pstrf, lacpy, laset, ...), which is provided by Netlib LAPACK in -llapack. The BLAS++ CMake runs first and discovers ESSL, then LAPACK++ CMake runs and saw the cached value. This PR makes a namespace to avoid LAPACK++ seeing the cached value from BLAS++.
Avoids conflict with LAPACK++ so it can find
-llapack
with ESSL. The issue is BLAS++ needs a subset of LAPACK, which is provided by ESSL (e.g., potrf), whereas LAPACK++ needs the whole of LAPACK (e.g., pstrf, lacpy, laset, ...), which is provided by Netlib LAPACK in-llapack
. The BLAS++ CMake runs first and discovers ESSL, then LAPACK++ CMake runs and saw the cached value. This PR makes a namespace to avoid LAPACK++ seeing the cached value from BLAS++.