From dbbfec871211f9f74d046b518a347722288a148a Mon Sep 17 00:00:00 2001 From: Brad King Date: Wed, 26 Feb 2025 12:11:26 -0500 Subject: Tests/Find{BLAS,LAPACK}: Comment purpose of integer size fallback --- Tests/FindBLAS/Test/CMakeLists.txt | 3 +++ Tests/FindLAPACK/Test/CMakeLists.txt | 3 +++ 2 files changed, 6 insertions(+) diff --git a/Tests/FindBLAS/Test/CMakeLists.txt b/Tests/FindBLAS/Test/CMakeLists.txt index 3183776..6d9461b 100644 --- a/Tests/FindBLAS/Test/CMakeLists.txt +++ b/Tests/FindBLAS/Test/CMakeLists.txt @@ -4,6 +4,9 @@ include(CTest) find_package(BLAS REQUIRED) +# Configure the test case to match BLAS's integer type ABI. +# FindBLAS defaults to 32-bit integers if BLA_SIZEOF_INTEGER +# is not already set in the cache. if(NOT BLA_SIZEOF_INTEGER) set(BLA_SIZEOF_INTEGER 4) endif() diff --git a/Tests/FindLAPACK/Test/CMakeLists.txt b/Tests/FindLAPACK/Test/CMakeLists.txt index 55cd1ee..439d026 100644 --- a/Tests/FindLAPACK/Test/CMakeLists.txt +++ b/Tests/FindLAPACK/Test/CMakeLists.txt @@ -4,6 +4,9 @@ include(CTest) find_package(LAPACK REQUIRED) +# Configure the test case to match LAPACK's integer type ABI. +# FindLAPACK defaults to 32-bit integers if BLA_SIZEOF_INTEGER +# is not already set in the cache. if(NOT BLA_SIZEOF_INTEGER) set(BLA_SIZEOF_INTEGER 4) endif() -- cgit v0.12