Hi @zhushazang, I guess is an issue from pkg_search_module()
function when parse metadata from /opt/slepc/linux-c-opt/lib/pkgconfig/slepc.pc
. For example if we consider the CMakeLists.txt below.
cmake_minimum_required(VERSION 3.19)
project(FOO VERSION "0.1.0")
find_package(PkgConfig REQUIRED)
pkg_search_module(PETSC REQUIRED IMPORTED_TARGET PETSc>=3.15 petsc>=3.15)
pkg_search_module(SLEPC REQUIRED IMPORTED_TARGET SLEPc>=3.15 slepc>=3.15)
message("Found PETSc version ${PETSC_VERSION}, prefix: ${PETSC_PREFIX}")
message("Found SLEPc version ${SLEPC_VERSION}, prefix: ${SLEPC_PREFIX}")
And run cmake -S . -B build
, then we will look a wrong path, let me investigate (debug) more in order to formulate an issue from SLEPc side.
Make sure with env
that the variables are set.
Pinned Comments
carlosal1015 commented on 2022-09-20 03:45 (UTC)
Pre-built binaries of this package and its dependencies can be found in the arch4edu repository.