esa / pagmo2

A C++ platform to perform parallel computations of optimisation tasks (global and local) via the asynchronous generalized island model.
https://esa.github.io/pagmo2/
GNU General Public License v3.0
823 stars 161 forks source link

pagmo-devel 2.19 build 3 not found by meson build system #557

Open lbocklag opened 12 months ago

lbocklag commented 12 months ago

pagmo-devel 2.19 build 3 is not recognized by the meson build system although it is installed from confa forge.

Meson message: Run-time dependency pagmo found: NO (tried pkgconfig and cmake) src/nexus/clib/meson.build:26:12: ERROR: Dependency "Pagmo" not found, tried pkgconfig and cmake

Pagmo 2.18 and 2.19 build 2 were working.

bluescarni commented 12 months ago

Hi @lbocklag

As far as I can tell, build 3 is the one which involved updating the Boost dependency to 1.82:

https://github.com/conda-forge/pagmo-feedstock/pull/71

There's a new build (number 4) out now, perhaps you can try with that one? I am sorry but I have never used Meson and would not know where to begin to debug that.

lbocklag commented 12 months ago

Thanks @bluescarni

Using boost-cpp 1.82 works for pagmo-devel 2.19 build 3 and 4. The packages however download libboost-devel instead of boost-cpp, and are not recognized by the meson build system.

The changes mentioned in https://github.com/conda-forge/pagmo-feedstock/pull/71 on recipe/meta.yaml removed boost-cpp.

bluescarni commented 12 months ago

@lbocklag I think there was recently some conda-forge-wide renaming involving the Boost package, but I am not familiar with the details.

Pinging @h-vetinari as an authority on the matter.

h-vetinari commented 12 months ago

The packages however download libboost-devel instead of boost-cpp, and are not recognized by the meson build system.

This is correct (the output got renamed) and should be functionally equivalent to what boost-cpp provided. In particular, there's all the necessary cmake metadata, and I think pkgconfig as well (though I have to double-check on the latter)

h-vetinari commented 12 months ago

So meson should keep finding boost.

jschueller commented 1 week ago

likely fixed by https://github.com/conda-forge/pagmo-feedstock/pull/80 btw