History log of /openbmc/openbmc-build-scripts/scripts/build-unit-test-docker (Results 1 – 25 of 216)
Revision Date Author Comments
# c5f92c9f 26-Sep-2025 Patrick Williams <patrick@stwcx.xyz>

build-unit-test-docker: update-alternatives for clang-apply-replacements

Meson expects a `clang-apply-replacements` implementation in order to
generate the `clang-tidy-fix` target[1,2]. With clang-

build-unit-test-docker: update-alternatives for clang-apply-replacements

Meson expects a `clang-apply-replacements` implementation in order to
generate the `clang-tidy-fix` target[1,2]. With clang-21, it seems
that this moved to a versioned implementation, so we need to include it
in the `update-alternatives` invocation.

[1]: https://github.com/mesonbuild/meson/blob/3708730dee5049eca7e497629d25629534ea4964/mesonbuild/backend/ninjabackend.py#L3907
[2]: https://github.com/mesonbuild/meson/blob/3708730dee5049eca7e497629d25629534ea4964/mesonbuild/environment.py#L320

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I7d3099ac7cd675755131a1385f4ce0fc15dc55f7

show more ...


# e31ec4e3 03-Sep-2025 Patrick Williams <patrick@stwcx.xyz>

build-unit-test-docker: clang: update to 21

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I795e88ada8e676c242b5a18888ce9c08afdedc93


# 1c84797d 12-Sep-2025 Patrick Williams <patrick@stwcx.xyz>

build-unit-test-docker: escape topic queries

Gerrit topics can contain spaces[1]. We need to escape those so
that the http request can be done successfully.

[1]: https://gerrit.openbmc.org/c/openb

build-unit-test-docker: escape topic queries

Gerrit topics can contain spaces[1]. We need to escape those so
that the http request can be done successfully.

[1]: https://gerrit.openbmc.org/c/openbmc/entity-manager/+/83520

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I934a012497eb4e33ee606f133f2f705b8e5fcd10

show more ...


# 3e9c007c 27-Aug-2025 Patrick Williams <patrick@stwcx.xyz>

build-unit-test-docker: sdbusplus: use pip for install

Currently sdbusplus uses a setup.py, which is a deprecated method
for installing python packages. If we use `pip` here, we can allow
it to det

build-unit-test-docker: sdbusplus: use pip for install

Currently sdbusplus uses a setup.py, which is a deprecated method
for installing python packages. If we use `pip` here, we can allow
it to detect how sdbusplus specifies its installation directives,
which will allow transition from the older setup.py to newer
pyproject.toml method.

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: Ie956fc32972f4e0ef225a1f8c04d98642098b6a2

show more ...


# 82425eca 25-Aug-2025 Ed Tanous <ed@tanous.net>

Upgrade to meson 1.9.0

Meson 1.9.0 includes a new feature to avoid pulling in all the headers
when running clang-tidy. While 1.9.0 isn't the version yocto uses, this
is an important change to decre

Upgrade to meson 1.9.0

Meson 1.9.0 includes a new feature to avoid pulling in all the headers
when running clang-tidy. While 1.9.0 isn't the version yocto uses, this
is an important change to decrease our CI times.

[1] https://mesonbuild.com/Release-notes-for-1-9-0.html#clangtidys-autogenerated-targets-correctly-select-source-files

Change-Id: I2cd844d79f751443f9400cb185840128c2d9f2a9
Signed-off-by: Ed Tanous <etanous@nvidia.com>

show more ...


# 3dc37e6e 17-Jul-2025 Ratan Gupta <ratankgupta31@gmail.com>

Add DMTF/libspdm v3.7.0 to docker unit test image

Add libspdm library to the docker build environment
to support SPDM.
The library is built with OpenSSL crypto backend
and configured for shared libr

Add DMTF/libspdm v3.7.0 to docker unit test image

Add libspdm library to the docker build environment
to support SPDM.
The library is built with OpenSSL crypto backend
and configured for shared library output.

Tested:
- Verified that local CI passes without errors.
- Confirmed all SPDM libraries and associated header
files are correctly built and included.

Change-Id: I04c97ae616ada2bc955ac1353ce743dd8ea3ba8a
Signed-off-by: Ratan Gupta <ratankgupta31@gmail.com>

show more ...


# c7e719f9 24-Jul-2025 Patrick Williams <patrick@stwcx.xyz>

build-unit-test-docker: force libgpiod 1.x series

Latest ubuntu switched to libgpiod 2.x, which we do not support
yet in OpenBMC. Convert from using a deb to manually building the
1.x package.

Tes

build-unit-test-docker: force libgpiod 1.x series

Latest ubuntu switched to libgpiod 2.x, which we do not support
yet in OpenBMC. Convert from using a deb to manually building the
1.x package.

Tested:

Ran against entity-manager and confirmed that subproject build was
no longer selected.

```
Run-time dependency libgpiodcxx found: YES 1.6.5
```

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I556574c3cf728932e90f98286871a365d92c91f9

show more ...


# d713349e 24-Jul-2025 Ed Tanous <etanous@nvidia.com>

Move clang builds to use lld

Clang builds are currently complaining about a missing LLVMGold plugin.
```
/usr/bin/ld: /usr/lib/llvm-20/bin/../lib/LLVMgold.so: error loading plugin: /usr/lib/llvm-20/

Move clang builds to use lld

Clang builds are currently complaining about a missing LLVMGold plugin.
```
/usr/bin/ld: /usr/lib/llvm-20/bin/../lib/LLVMgold.so: error loading plugin: /usr/lib/llvm-20/bin/../lib/LLVMgold.so: cannot open shared object file: No such file or directory
```

In the past this was because the plugin got moved into an llvm-linkers
apt package unintentionally. The move to the new ubuntu seems to have
forced this to be a problem again, and adding the llvm-linkers package
doesn't fix it like it had in the past.

While compiling with clang and linking with ld should work fine, it's
likely simpler to run the whole llvm toolchain when doing clang builds.
Therefore, move meson clang builds to LLD.

Change-Id: Ibf952a31695061a958cb437d74ea4b264ce96aaa
Signed-off-by: Ed Tanous <etanous@nvidia.com>

show more ...


# e4b761fe 23-Jul-2025 Patrick Williams <patrick@stwcx.xyz>

build-unit-test-docker: update dependencies to match Yocto

Update a number of the dependency packages to ensure they match
the version utilized in Yocto.

Signed-off-by: Patrick Williams <patrick@st

build-unit-test-docker: update dependencies to match Yocto

Update a number of the dependency packages to ensure they match
the version utilized in Yocto.

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: Ida0ef9fea95695c47d0e026ec66fd6d4eb1f53d5

show more ...


# bcc78d3b 23-Jul-2025 Patrick Williams <patrick@stwcx.xyz>

build-unit-test-docker: update meson to 1.8.2

openbmc is currently on meson 1.8.0, but meson 1.8.2 is out and
the next yocto import will use that. Go ahead and do the minor update
now.

OptionStore

build-unit-test-docker: update meson to 1.8.2

openbmc is currently on meson 1.8.0, but meson 1.8.2 is out and
the next yocto import will use that. Go ahead and do the minor update
now.

OptionStore now requires an `is_cross` argument; set it to false.

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: Ie6a3169b79d0dbb22e7f45cf06e883b6ad88b3dc

show more ...


# ea1bfb27 23-Jul-2025 Patrick Williams <patrick@stwcx.xyz>

build-unit-test-docker: update gcc to 15

Update to GCC-15 to match Yocto.

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: Id971752edf536987ef2239d9d6aa45deb4d8ccc8


# 6b14190f 23-Jul-2025 Patrick Williams <patrick@stwcx.xyz>

build-unit-test-docker: upgrade to ubuntu plucky

GCC-15 does not exist in previous ubuntu versions. Update to plucky
so that we can get GCC-15 pulled in, which is what is used on the
latest Yocto.

build-unit-test-docker: upgrade to ubuntu plucky

GCC-15 does not exist in previous ubuntu versions. Update to plucky
so that we can get GCC-15 pulled in, which is what is used on the
latest Yocto.

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I7c9e7b8bae9dc81ffa2b868d2921bb6f972d5ecd

show more ...


# a1cbd404 25-Jun-2025 Patrick Williams <patrick@stwcx.xyz>

build-unit-test-docker: force refresh container

prettier had a breaking update which causes some of our markdown
files to fail formatting with the new version. Force a refresh
so that all the CI co

build-unit-test-docker: force refresh container

prettier had a breaking update which causes some of our markdown
files to fail formatting with the new version. Force a refresh
so that all the CI containers are on the latest version at the
same time (otherwise different CI containers disagree at the proper
formatting).

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: Ic304f4d6407d0aaf18110f31b27e5783f8eb545a

show more ...


# 9fdba2d2 14-May-2025 Patrick Williams <patrick@stwcx.xyz>

build-unit-test-docker: add python3-referencing

entity-manager use python3-referencing, so add it explicitly.

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I67692e95aa9e367329c4845

build-unit-test-docker: add python3-referencing

entity-manager use python3-referencing, so add it explicitly.

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I67692e95aa9e367329c48453547c315b2c5a61e5

show more ...


# 1c28d969 08-May-2025 Andrew Jeffery <andrew@codeconstruct.com.au>

build-unit-test-docker: Add doxygen

Doxygen can be used to build libpldm's documentation. Add it to the
container image so issues with doxygen comments can be caught once we've
cleaned up the warnin

build-unit-test-docker: Add doxygen

Doxygen can be used to build libpldm's documentation. Add it to the
container image so issues with doxygen comments can be caught once we've
cleaned up the warnings.

Change-Id: I2c5e043cc7ba85eb5ed7da293e3a73203dabd089
Signed-off-by: Andrew Jeffery <andrew@codeconstruct.com.au>

show more ...


# 412b2814 08-May-2025 Patrick Williams <patrick@stwcx.xyz>

build-unit-test-docker: update clang to 20

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I1818407fdd8ab2ca11a939ffebd5f3e5445403c3


# 78503281 30-Apr-2025 Xinyuan Wang <wang.x.6f@gmail.com>

Boost: Upgrade to Version 1.87.0

- Updated Boost from version 1.86 to 1.87.

Change-Id: I3a0adc4ca83a4816cf8f8c241fba90e35b9461d9
Signed-off-by: Xinyuan Wang <wang.x.6f@gmail.com>


# e5572c65 14-Mar-2025 Ed Tanous <etanous@nvidia.com>

Update to latest release of nlohmann

3.11.2 -> 3.11.3

Change-Id: Ie0c59af0f5941b4c108bd022c54e46e40673b3fd
Signed-off-by: Ed Tanous <etanous@nvidia.com>


# 3ee62fb5 25-Feb-2025 Ewelina Walkusz <ewelinax.walkusz@intel.com>

build-unit-test-docker: Add libmpfr-dev

After meson bump, clang-tidy reports an error when using
boost::multiprecision based on the MPFR library

```
/usr/local/include/boost/multiprecision/mpfr.hp

build-unit-test-docker: Add libmpfr-dev

After meson bump, clang-tidy reports an error when using
boost::multiprecision based on the MPFR library

```
/usr/local/include/boost/multiprecision/mpfr.hpp:22:10: error: 'mpfr.h' file not found [clang-diagnostic-error]
```

Change-Id: I76db10af842926f5767c897b92f1ccc0f63ffdbe
Signed-off-by: Ewelina Walkusz <ewelinax.walkusz@intel.com>

show more ...


# 62eb4273 03-Feb-2025 Patrick Williams <patrick@stwcx.xyz>

build-unit-test-docker: update meson to 1.7.0

Meson 1.7.0 was released and is in the latest Yocto master
branch. Update our unit test container as well.

Signed-off-by: Patrick Williams <patrick@st

build-unit-test-docker: update meson to 1.7.0

Meson 1.7.0 was released and is in the latest Yocto master
branch. Update our unit test container as well.

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I760b9092fbd1ac0a6c7307261e2d077c94f6773c

show more ...


# 5618dd5c 20-Jan-2025 Ewelina Walkusz <ewelinax.walkusz@intel.com>

build-unit-test-docker: upgrade meson to 1.6.1

Tested: run-unit-test-docker.sh runs correctly

Change-Id: Ifa4bc74d707d1c0b12bf9b147fd03e0e3c075262
Signed-off-by: Ewelina Walkusz <ewelinax.walkusz@i

build-unit-test-docker: upgrade meson to 1.6.1

Tested: run-unit-test-docker.sh runs correctly

Change-Id: Ifa4bc74d707d1c0b12bf9b147fd03e0e3c075262
Signed-off-by: Ewelina Walkusz <ewelinax.walkusz@intel.com>

show more ...


# 3aa71c8c 24-Jan-2025 Tan Siewert <tan@siewert.io>

build-unit-test-docker: use heredoc-copy for wgetrc

The "heredoc" support in Docker can be a bit tedious with indented
content. Most of the examples do not indent it, but start at the
beginning [1].

build-unit-test-docker: use heredoc-copy for wgetrc

The "heredoc" support in Docker can be a bit tedious with indented
content. Most of the examples do not indent it, but start at the
beginning [1].

To prevent any weird behavior with "RUN cat" heredoc's, we should
use the native "COPY heredoc" feature which is mentioned at the end
of the blog [1].

[1] https://www.docker.com/blog/introduction-to-heredocs-in-dockerfiles/

Fixes: f7e5261 ("build-unit-test-docker: Add .wgetrc for proxy")
Change-Id: I41b09c093fe5c5954e0411582806434ae6a148d0
Signed-off-by: Tan Siewert <tan@siewert.io>

show more ...


# f7e52612 08-Jan-2025 Lei YU <yulei.sh@bytedance.com>

build-unit-test-docker: Add .wgetrc for proxy

The script now uses `wget -O - https://apt.llvm.org/llvm.sh` to download
the llvm.sh.

If http_proxy is set, set the proxy to .wgetrc in the docker cont

build-unit-test-docker: Add .wgetrc for proxy

The script now uses `wget -O - https://apt.llvm.org/llvm.sh` to download
the llvm.sh.

If http_proxy is set, set the proxy to .wgetrc in the docker container
so that it could be used by `wget` when building the unit test docker.

Signed-off-by: Lei YU <yulei.sh@bytedance.com>
Change-Id: I5cb305515cb4f79e5fd759bf1844a110f106a049

show more ...


# 4a5ba95d 13-Jan-2025 Patrick Williams <patrick@stwcx.xyz>

build-unit-test-docker: remove 'yamldir' option to phosphor-logging

phosphor-logging currently uses the `phosphor-dbus-interfaces.pc`
file by default to determine the location of the install YAML,
i

build-unit-test-docker: remove 'yamldir' option to phosphor-logging

phosphor-logging currently uses the `phosphor-dbus-interfaces.pc`
file by default to determine the location of the install YAML,
in order to generate appropriate headers for error metadata.
`phosphor-dbus-interfaces` changed where the YAML is installed, but
the yamldir value here did not match. Remove it entirely and fall
back to obtaining the one from the pkg-config.

Tested: Ensured `phosphor-networkd` compiled using this container.

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: Ibe2168a05e7ad5be0e497c9bcfc6cadac7607a5d

show more ...


# fb6653ce 15-Jul-2024 Ewelina Walkusz <ewelinax.walkusz@intel.com>

build-unit-test-docker: upgrade meson to 1.5.1

Poky is using meson 1.5.1

Tested: run-unit-test-docker.sh runs correctly

Change-Id: I9b4b27b72118dcb15a9616ca78edf8a087cd4481
Signed-off-by: Ewelina

build-unit-test-docker: upgrade meson to 1.5.1

Poky is using meson 1.5.1

Tested: run-unit-test-docker.sh runs correctly

Change-Id: I9b4b27b72118dcb15a9616ca78edf8a087cd4481
Signed-off-by: Ewelina Walkusz <ewelinax.walkusz@intel.com>

show more ...


123456789