History log of /openbmc/openbmc-build-scripts/ (Results 1 – 25 of 951)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
fb6653ce15-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 ...

a7a3055120-Dec-2024 Anirban Banerjee <anirbanb@meta.com>

openbmc-build-scripts: add `libcurl` dependency to test redflish client

On some system designs we need a "redfish client" to query metrics from
an http(s) server running on an Satellite Management C

openbmc-build-scripts: add `libcurl` dependency to test redflish client

On some system designs we need a "redfish client" to query metrics from
an http(s) server running on an Satellite Management Controller
instance, such as the Nvidia HMC[1], and forward those metrics to BMC
monitoring the devices.

There is a design document proposal available[2]. Adding `libcurl`
enables prototyping of the "Redfish client" instances following this
design document and run them on the official container.

[1]: https://github.com/openbmc/entity-manager/blob/master/configurations/nvidia_hmc.json#L14
[2]: https://gerrit.openbmc.org/c/openbmc/docs/+/75641/9/designs/redfish-client.md#154

Change-Id: I4848fb76edffb09d12891460972f9fb676d0d48a
Signed-off-by: Anirban Banerjee <anirbanb@meta.com>

show more ...

759c009118-Dec-2024 Patrick Williams <patrick@stwcx.xyz>

build-unit-test-docker: fix clang version argument

The latest version of bash seems to not pass additional arguments
when called with `-c` unless those arguments are after the `--`.

This caused the

build-unit-test-docker: fix clang version argument

The latest version of bash seems to not pass additional arguments
when called with `-c` unless those arguments are after the `--`.

This caused the build-unit-test-docker to not install the latest
version of clang, but instead the release of clang that was present
in the Ubuntu repository.

Add "19" after `--` so that the latest versions of clang tools are
installed.

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

show more ...

ed8aecaf18-Dec-2024 Patrick Williams <patrick@stwcx.xyz>

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

Clang-19 was released in September. Update our Docker container
to utilize it.

This will likely require re-running clang-format on most repositories
sinc

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

Clang-19 was released in September. Update our Docker container
to utilize it.

This will likely require re-running clang-format on most repositories
since it does not seem 100% compatible.

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

show more ...

8f7146fa11-Dec-2024 Andrew Geissler <geissonator@yahoo.com>

build-unit-test-docker: support podman

Some of our systems utilize podman so ensure this script works for both
docker and podman based systems.

Tested:
- Confirmed still builds on a docker installe

build-unit-test-docker: support podman

Some of our systems utilize podman so ensure this script works for both
docker and podman based systems.

Tested:
- Confirmed still builds on a docker installed Ubuntu server
- Confirmed it now builds on a podman installed Red Hat server

Change-Id: I6f72cf43b32e7f6b9b600b027189a2dcf985f364
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>

show more ...

917b177411-Dec-2024 Patrick Williams <patrick@stwcx.xyz>

build-unit-test-docker: switch to ubuntu oracular

Ubuntu Oracular is released; switch to it.

As part of this, add systemd-dev to the dependencies in order to solve
the following build failure:
```

build-unit-test-docker: switch to ubuntu oracular

Ubuntu Oracular is released; switch to it.

As part of this, add systemd-dev to the dependencies in order to solve
the following build failure:
```
openbmc/phosphor-objmgr: Run-time dependency systemd found: NO (tried pkgconfig and cmake)
openbmc/phosphor-objmgr:
openbmc/phosphor-objmgr: meson.build:114:26: ERROR: Dependency "systemd" not found, tried pkgconfig and cmake
```

The systemd.pc file is only available as part of systemd-dev now.

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

show more ...

9698215e12-Dec-2024 Jayanth Othayoth <ojayanth@gmail.com>

Boost: Upgrade to Version 1.86.0

- Updated package name to use CMake as the build system
- Updated Boost from version 1.84 to 1.86.
- Included atomic, filesystem, and process packages due to
versi

Boost: Upgrade to Version 1.86.0

- Updated package name to use CMake as the build system
- Updated Boost from version 1.84 to 1.86.
- Included atomic, filesystem, and process packages due to
version 1.86 build dependencies.

Change-Id: I594e94db6b5072b42fbbb85cb96849fb98e81ced
Signed-off-by: Jayanth Othayoth <ojayanth@gmail.com>

show more ...

dbce976d05-Dec-2024 Andrew Jeffery <andrew@codeconstruct.com.au>

build-unit-test-docker: Update to gcc-14

Align with the recent Yocto update in OpenBMC[1], which pulls in gcc-14.

[1]: https://github.com/openbmc/openbmc/commit/edff49234e31f23dc79f823473c9e286a215

build-unit-test-docker: Update to gcc-14

Align with the recent Yocto update in OpenBMC[1], which pulls in gcc-14.

[1]: https://github.com/openbmc/openbmc/commit/edff49234e31f23dc79f823473c9e286a21596c1

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

show more ...

c75b543110-Dec-2024 Andrew Geissler <geissonator@yahoo.com>

build-setup.sh replace liblz4-tool with lz4

This script is failing with the latest Ubuntu Oracular release:
```
Package liblz4-tool is not available, but is referred to by another package.
This may

build-setup.sh replace liblz4-tool with lz4

This script is failing with the latest Ubuntu Oracular release:
```
Package liblz4-tool is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

Package 'liblz4-tool' has no installation candidate
```

Seems the tool we need is just in the standard lz4 package now.

Tested:
- Confirmed container now builds with Oracular

Change-Id: Icc01b2341a354b709b7b4ed2122dd5a61201c22d
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>

show more ...

2916397106-Dec-2024 Andrew Jeffery <andrew@codeconstruct.com.au>

build-unit-test-docker: Disable libpldm's ABI compliance check

We use the docker container to maintain libpldm's ABI dump, which is
difficult to do if the container fails to build due to an ABI comp

build-unit-test-docker: Disable libpldm's ABI compliance check

We use the docker container to maintain libpldm's ABI dump, which is
difficult to do if the container fails to build due to an ABI compliance
failure.

Disable the check for the purpose of building the container dependency.
The check remains enabled for the actual CI runs.

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

show more ...

7d98f8bf06-Dec-2024 Andrew Jeffery <andrew@codeconstruct.com.au>

build-unit-test-docker: Disable libpldm tests again

Now that we've merged the change of the option type from feature to
boolean[1], specify that the tests should not be built.

[1]: https://github.c

build-unit-test-docker: Disable libpldm tests again

Now that we've merged the change of the option type from feature to
boolean[1], specify that the tests should not be built.

[1]: https://github.com/openbmc/libpldm/commit/65c64099e17ad81219726e790598cdc1f6e78f9a

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

show more ...

f7381ad614-Oct-2024 Arya K Padman <aryakpadman@gmail.com>

build-unit-test-docker: Add 'isoduration' to support ISO 8601 duration

As per the proposed design for syncing data to the redundant BMC, time
intervals need to be specified in seconds, minutes, or h

build-unit-test-docker: Add 'isoduration' to support ISO 8601 duration

As per the proposed design for syncing data to the redundant BMC, time
intervals need to be specified in seconds, minutes, or hours. For more
details, refer to the design document:
https://gerrit.openbmc.org/c/openbmc/docs/+/71039/4/designs/
redundant_bmc_data_synchronization.md#157

The JSON doesn't have a in-built infrastructure to represent time
intervals in seconds,minutes etc. So the schema draft 2019-09 supports
format where time intervals can be represented in ISO 8601 duration
format.

Refer #built-in-formats :
https://json-schema.org/understanding-json-schema/reference/string

But for parsing and validating the same it requires an additional
python package called `isoduration`.

Refer #validating-formats :
https://python-jsonschema.readthedocs.io/en/latest/validate/

The change installs the python package `isoduration` to the docker to
enable the support of ISO 8601 duration formats in JSON and schema
files.

Change-Id: I5489aa21118fa8852ed22f40570c2b77c00951e3
Signed-off-by: Arya K Padman <aryakpadman@gmail.com>

show more ...

353aa06928-Nov-2024 Andrew Jeffery <andrew@codeconstruct.com.au>

build-unit-test-docker: Temporarily drop libpldm test configuration

The series at [1] switches libpldm's 'test' option type from feature to
boolean. Avoid the container build error in the interim by

build-unit-test-docker: Temporarily drop libpldm test configuration

The series at [1] switches libpldm's 'test' option type from feature to
boolean. Avoid the container build error in the interim by not disabling
the build of the tests, however, in doing so, ensure that the test build
dependencies are available to meson. The change implements the latter
by allowing the gtest and gmock wraps to download their sources during
the build.

The holistic approach of this patch is a compromise against the effort
required to allow type detection for meson flags, like we do in scripts/
unit-test.py. That code could be made common, however the work is a
bunch of refactoring that ultimately loses value once the patch to
change the test option type to boolean is merged in libpldm. Once
the patch is merged, we can drop `--wrap-mode=default` and introduce
`-Dtests=false` as the replacement for `-Dtests=disabled`.

[1]: https://gerrit.openbmc.org/q/topic:%22options-rework%22+repo:openbmc/libpldm

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

show more ...

b243891328-Nov-2024 Andrew Jeffery <andrew@codeconstruct.com.au>

build-unit-test-docker: Drop libpldm oem-ibm option

The OEM extensions are built by default, so there's no immediate need to
specify the option. Further, the structure of the libpldm meson options
i

build-unit-test-docker: Drop libpldm oem-ibm option

The OEM extensions are built by default, so there's no immediate need to
specify the option. Further, the structure of the libpldm meson options
is changing with the series at [1], so dodge the associated errors for
now.

[1]: https://gerrit.openbmc.org/q/topic:%22options-rework%22+repo:openbmc/libpldm

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

show more ...

f3e8289a19-Nov-2024 Andrew Geissler <geissonator@yahoo.com>

userid-validation: add hp

HP has submitted a valid CLA

Change-Id: Ic7059713145af89edaa7063581716f71bd58daa0
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>

8c01237917-Oct-2024 Andrew Geissler <geissonator@yahoo.com>

userid-validation: add cornelis networks

CLA has been processed and gerrit groups created

Change-Id: I249d76ad9c4f9cc6d330ae66d81993e7cad8a624
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>

fb45daa409-Oct-2024 Andrew Geissler <geissonator@yahoo.com>

make aws default docker registry in remaining scripts

AWS has much better anonymous pull request limits (1 per second) vs
docker hub which is 100 per 6 hours per IP address. A lot of our CI and
deve

make aws default docker registry in remaining scripts

AWS has much better anonymous pull request limits (1 per second) vs
docker hub which is 100 per 6 hours per IP address. A lot of our CI and
development occurs on shared systems so it's easy to exceed this limit
on an IP basis.

Tested:
- Verified no setting for DOCKER_REG and a setting of docker.io work as
expected within these scripts

Change-Id: Ic5cb5ee07ee83567b6cf26754b6d1045025bdd65
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>

show more ...

23ec332302-Oct-2024 Andrew Geissler <geissonator@yahoo.com>

build-unit-test-docker: make aws default docker registry

AWS has much better anonymous pull request limits (1 per second) vs
docker hub which is 100 per 6 hours per IP address. A lot of our CI and
d

build-unit-test-docker: make aws default docker registry

AWS has much better anonymous pull request limits (1 per second) vs
docker hub which is 100 per 6 hours per IP address. A lot of our CI and
development occurs on shared systems so it's easy to exceed this limit
on an IP basis.

Tested:
- Verified no setting for DOCKER_REG and a setting of docker.io work as
expected

Change-Id: I7fb220b2541ccb1b65fa74b8638c0258a84b7421
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>

show more ...

33aec43b09-Oct-2024 Johnathan Mantey <johnathanx.mantey@intel.com>

Ensure address sanitize operation builds all components

The 'meson configure' call designed to enable address sanitize checks,
under some circumstances, prevents shared objects supplied from
subproj

Ensure address sanitize operation builds all components

The 'meson configure' call designed to enable address sanitize checks,
under some circumstances, prevents shared objects supplied from
subprojects from being rebuilt.

Using a 'setup reconfigure' operation allows the shared libraries to
be built for the address sanitization phase. Instead of receiving
segmentation faults for missing libraries, the tests run to
completion.

Tested:
Ran the CI script w/o these changes and saw the sanitize portion fail
due to missing libraries.
Installed the changes, and the CI script passed the sanitize section
because the shared libraries were built.

Change-Id: I60fef2518ec13ffbcc615e55f8f446cf92f4dd0a
Signed-off-by: Johnathan Mantey <johnathanx.mantey@intel.com>

show more ...

b80ea07b07-Oct-2024 Andrew Geissler <geissonator@yahoo.com>

provide docker registry override in remaining scripts

As done with fe2768c73, provide a mechanism to override the docker
registry used for our remaining docker scripts.

docker.io continues to tight

provide docker registry override in remaining scripts

As done with fe2768c73, provide a mechanism to override the docker
registry used for our remaining docker scripts.

docker.io continues to tighten control[1] on access to its registry.
Provide a mechanism within this script to utilize a different registry
for the base ubuntu image.

[1]: https://www.docker.com/blog/november-2024-updated-plans-announcement/

Tested:
- Confirmed script defaults still works as expected
- Confirmed the following also works now:
export DOCKER_REG=public.ecr.aws/ubuntu
- Confirmed where applicable that this also works(fedora):
export DOCKER_REG=public.ecr.aws/docker/library

Change-Id: Ib237183fb9f27573643783b3988cb00614749f4c
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>

show more ...

9096c69402-Oct-2024 Andrew Geissler <geissonator@yahoo.com>

docker: remove architecture checks

Docker containers now handle this under the covers when you pull a
container.

Change-Id: If0062f68c53ca79735dd841ae06236c34911e081
Signed-off-by: Andrew Geissler

docker: remove architecture checks

Docker containers now handle this under the covers when you pull a
container.

Change-Id: If0062f68c53ca79735dd841ae06236c34911e081
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>

show more ...

c7fb191d02-Oct-2024 Andrew Geissler <geissonator@yahoo.com>

remove scripts no longer in use

As far as I know, these scripts are not used anywhere and have not been
updated in years (other then required formatting changes).

Change-Id: I1264cce4ad3a97e3977433

remove scripts no longer in use

As far as I know, these scripts are not used anywhere and have not been
updated in years (other then required formatting changes).

Change-Id: I1264cce4ad3a97e397743391614b1627fc008565
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>

show more ...


fe2768c702-Oct-2024 Andrew Geissler <geissonator@yahoo.com>

build-unit-test-docker: provide docker registry override

docker.io continues to tighten control[1] on access to its registry.
Provide a mechanism within this script to utilize a different registry
f

build-unit-test-docker: provide docker registry override

docker.io continues to tighten control[1] on access to its registry.
Provide a mechanism within this script to utilize a different registry
for the base ubuntu image.

[1]: https://www.docker.com/blog/november-2024-updated-plans-announcement/

Tested:
- Confirmed script default still works as expected
- Confirmed the following also works now:
export DOCKER_REG=public.ecr.aws/ubuntu

Change-Id: I4e8251653003cfac514905f2d2a5e8787b8ec06a
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>

show more ...

64fb4dba02-Oct-2024 Andrew Geissler <geissonator@yahoo.com>

build-unit-test-docker: remove architecture checks

Docker containers now handle this under the covers when you pull a
container.

Tested:
- Confirmed ubuntu:latest works on ppc64le

Change-Id: Ic757

build-unit-test-docker: remove architecture checks

Docker containers now handle this under the covers when you pull a
container.

Tested:
- Confirmed ubuntu:latest works on ppc64le

Change-Id: Ic757d8317cb541e63fd51b29f5fdf4616d71797b
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>

show more ...

c7bc4d1d04-Oct-2024 Patrick Williams <patrick@stwcx.xyz>

build-unit-test-docker: add cjson for skeleton

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

12345678910>>...39