Skip to content

Regarding compiling opensource libraries such as netopeer2 and it's dependencies #118

@dheerajrane

Description

@dheerajrane

Hi,

I was trying to compile and build opensource libraries for ubuntu rootfs using ISAR for xilinx Z19 boards (i.e for arm ),

can you provides reference for an example opensource libraries getting compiled in ISAR build framework.

i'm using deb_debianize to install and create build with inherit dpkg.

full bb file is attached below, build failing due to some test it's running in netopper2 build how to disable it do_prepare_build()

like it can be passed in CMAKE arguments as -DENABLE_TESTS=OFF,

========================================
cd netopeer2 && git checkout "${NETOPEER2_TAG}" &&
mkdir -p build && cd build &&
PKG_CONFIG_PATH=/usr/local/lib/pkgconfig cmake ..
-DCMAKE_BUILD_TYPE=Release
-DENABLE_TESTS=OFF
-DCMAKE_INSTALL_PREFIX=/usr/local &&
cmake --build . --parallel 1 --target install &&
ldconfig

============================================

netopeer2_2.1.42.bb.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