Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

openbmc CI does not pass on this repo due to libdt-api dep #46

Open
geissonator opened this issue Jan 10, 2023 · 1 comment
Open

openbmc CI does not pass on this repo due to libdt-api dep #46

geissonator opened this issue Jan 10, 2023 · 1 comment

Comments

@geissonator
Copy link
Contributor

This dependency is not something the CI docker infrastructure can find. Probably need to do something like hw-diags via https://grok.openbmc.org/xref/openbmc/openpower-hw-diags/util/meson.build?r=bb90afc7#21. They make it an option that by default is off in repo CI, and enabled via a bitbake flag in the recipe.

The Meson build system
Version: 0.63.0
Source dir: /home/andrewg/Code/openbmc-ghe/build/p10bmc/workspace/sources/openpower-hw-isolation
Build dir: /home/andrewg/Code/openbmc-ghe/build/p10bmc/workspace/sources/openpower-hw-isolation/build
Build type: native build
Project name: hardware_isolation
Project version: 1.0.0
C compiler for the host machine: cc (gcc 12.2.0 "cc (Ubuntu 12.2.0-3ubuntu1) 12.2.0")
C linker for the host machine: cc ld.bfd 2.39
C++ compiler for the host machine: c++ (gcc 12.2.0 "c++ (Ubuntu 12.2.0-3ubuntu1) 12.2.0")
C++ linker for the host machine: c++ ld.bfd 2.39
Host machine cpu family: x86_64
Host machine cpu: x86_64
Found pkg-config: /usr/bin/pkg-config (0.29.2)
Run-time dependency fmt found: YES 9.1.0
Found CMake: /usr/bin/cmake (3.24.2)
Run-time dependency libdt-api found: NO (tried pkgconfig and cmake)

meson.build:19:0: ERROR: Dependency "libdt-api" not found, tried pkgconfig and cmake

@RameshIyyar
Copy link
Collaborator

RameshIyyar commented Jan 10, 2023

meson.build:19:0: ERROR: Dependency "libdt-api" not found, tried pkgconfig and cmake

I think we need to add repo-specific dependencies into the CI but, all PHAL repo use Autotools as build tools so we need to add meson wrap for those dependencies - I am not sure if meson wrap will support other build tools or if we need to convert all PHAL repos into meson

Probably need to do something like hw-diags via https://grok.openbmc.org/xref/openbmc/openpower-hw-diags/util/meson.build?r=bb90afc7#21. They make it an option that by default is off in repo CI, and enabled via a bitbake flag in the recipe.

hmm I noticed that changes but we cannot do that for hw-isolation since its fully dependent on the PHAL repos
I think hw-diags and dump have a build flag to disable phal to support p9 and I guess we did not enable that flag in the CI

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants