Skip to content

Compilation on ubuntu20.04 needs a change in build system #25

@bennahugo

Description

@bennahugo

With the death of python2.7 cmake has removed explicit detection support for it by the looks of it
The following patch is needed to make the build system work for LOFARBeam tag v4.1.1

# fix build system
sed -i '83s/.*/find_package (Boost REQUIRED COMPONENTS python numpy)/' CMakeLists.txt
sed -i '85s/.*/message(STATUS "Boost python library: \${Boost_PYTHON_LIBRARY}")/' CMakeLists.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions