astro-informatics / purify

Next-generation radio interferometric imaging.
https://astro-informatics.github.io/purify
GNU General Public License v2.0
16 stars 11 forks source link

Boost build error with fiber on macos #320

Closed tkoskela closed 1 year ago

tkoskela commented 1 year ago

On macos github runners, boost is built from source when building with gcc. It runs into an error

ERROR: boost/1.78.0: Error in package_info() method, line 1699
    raise ConanException(f"These libraries were expected to be built, but were not built: {non_built}")
    ConanException: These libraries were expected to be built, but were not built: {'boost_fiber'}

We should be explicit about what components of boost we are using and tell conan to build only those

In

https://github.com/astro-informatics/purify/blob/e8cc1e88dfa2551efbe2dec8090f13690a586e6a/cmake_files/dependencies.cmake#L23

We only require system and filesystem but we need to check what else we are using.