Skip to content

HighFive library cannot be found from CMAKE_PREFIX_PATH #158

@awvwgk

Description

@awvwgk

When using HDF5 with the HighFive header-only library installed, GauXC will always fetch an additional copy of HighFive

Installation from conda-forge:

❯ fdfind highfive $CONDA_PREFIX
$CONDA_PREFIX/conda-meta/highfive-3.2.0-h9995341_0.json
$CONDA_PREFIX/include/highfive
$CONDA_PREFIX/include/highfive/highfive.hpp
$CONDA_PREFIX/lib/cmake/HighFive
$CONDA_PREFIX/lib/cmake/HighFive/HighFiveConfig.cmake
$CONDA_PREFIX/lib/cmake/HighFive/HighFiveConfigVersion.cmake
$CONDA_PREFIX/lib/cmake/HighFive/HighFiveTargets.cmake

CMake configuration output

-- HDF5 C compiler wrapper is unable to compile a minimal HDF5 program.
-- Found HDF5: $CONDA_PREFIX/lib/libhdf5.so (found version "1.14.6")
-- Enabling HDF5 Bindings
-- HighFive REPO = https://github.com/BlueBrain/HighFive.git
-- HighFive REV  = 805f0e13d09b47c4b01d40682621904aa3b31bb8

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions