-
Notifications
You must be signed in to change notification settings - Fork 28
Open
Description
When compiling GauXC on a MacOS/x86_64 build machine for MacOS/arm64 host the CMake configuration step fails due to trying to run cross-compiled code:
-- BLAS_LIBRARIES Not Given: Will Perform Search
-- Performing Test COMPILER_RECOGNIZES_ACCELERATE
-- Performing Test COMPILER_RECOGNIZES_ACCELERATE - Success
-- Found Accelerate: -framework Accelerate
-- Performing Test BLAS_LOWER_UNDERSCORE
-- Performing Test BLAS_LOWER_UNDERSCORE -- found
CMake Error: try_run() invoked in cross-compiling mode, please set the following cache variables appropriately:
_run_result (advanced)
_run_result__TRYRUN_OUTPUT (advanced)
For details see /Users/runner/miniforge3/conda-bld/gauxc_1767358550173/work/_build/TryRunResults.cmake
-- Found BLAS: TRUE
-- Discovered BLAS is ILP64
An example in the linalg module is https://github.com/wavefunction91/linalg-cmake-modules/blob/222364df5e7639f371bf2f37ceb0f476301101a1/util/BLASUtilities.cmake#L5.
Metadata
Metadata
Assignees
Labels
No labels