Bug#726775: libslepc3.4.2-dev: CMake script location

Drew Parsons dparsons at debian.org
Fri Oct 14 10:18:35 UTC 2016


SLEPcConfig.cmake is no longer provided by SLEPc (3.7).

There is a internal script at 
/usr/lib/slepcdir/3.7.3/x86_64-linux-gnu-real/lib/slepc/conf/SLEPcBuildInternal.cmake

But it is used only for the internal build, it's not intended to be
used by client programs.

slepc4py uses the SLEPC_DIR mechanism to work out build flags.  dolfin
provides its own cmake/modules/FindSLEPc.cmake (again using SLEPC_DIR).
 

Upstream intends that pkgconfig be used instead. It's much simpler than
cmake.  SLEPc.pc is installed in /usr/lib/pkgconfig/ (the preferred
version is controlled by alternatives)

Actually I should probably make that 
/usr/lib/x86_64-linux-gnu/pkgconfig/
so I'll leave this bug open until I sort that out.

The same applies to PETSc.

Drew

On Sat, 19 Oct 2013 01:32:50 +0200 =?utf-
8?q?Torquil_Macdonald_S=C3=B8rensen?= <torquil at gmail.com> wrote:
> Package: libslepc3.4.2-dev
> Version: 3.4.2.dfsg-1
> Severity: normal
> 
> libslepc3.4.2-dev includes a file , which must be
> a cmake script, intended so that find_package(SLEPc) can be used in a
> CMakeLists.txt?
> 
> However, it doesn't seem to be placed in a directory that is in
> the search path of cmake, so perhaps it ought to be moved somewhere
> else?
> 



More information about the debian-science-maintainers mailing list