-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Description
This might again be just me not fully understanding the concept yet, but maybe it's also the way the packages are structured and depend on each other.
I tried to make a minimal non-trivial test by building podio and EDM4hep. EDM4hep depends on podio, as that provides the code generator and some libraries that it links against.
I did the following:
- create a new project via
spack mpd-project -T $(pwd)/edm4hep-minimal --name edm4hep-minimal cxxstd=20 %gcc@13.2.0 - symlink the repositories into
edm4hep-minimal/srcs(making sure to lowercase them to make match the names spack expects) spack mpd refreshspack env activate edm4hep-minimal/localspack mpd build
With this I run into the following issue:
CMake Error at edm4hep/CMakeLists.txt:12 (find_package):
Could not find a package configuration file provided by "podio" (requested
version 1.1) with any of the following names:
podioConfig.cmake
podio-config.cmake
Add the installation prefix of "podio" to CMAKE_PREFIX_PATH or set
"podio_DIR" to a directory containing one of the above files. If "podio"
provides a separate development package or SDK, be sure it has been
installed.
-- Configuring incomplete, errors occurred!I am not sure I fully understand yet why this happens, as podioConfig.cmake and podioConfigVersion.cmake are present in the podio build folder:
$ ls edm4hep-minimal/build/podio/*.cmake
edm4hep-minimal/build/podio/podioConfig.cmake
edm4hep-minimal/build/podio/podioConfigVersion.cmakeIs this a podio issue (not being completely fetch-content-able) or is this something that can be fixed in spack-mpd?
Metadata
Metadata
Assignees
Labels
No labels