befec58b | 16-Aug-2024 |
Patrick Williams <patrick@stwcx.xyz> |
clang-format: re-format for clang-18
clang-format-18 isn't compatible with the clang-format-17 output, so we need to reformat the code with the latest version. The way clang-18 handles lambda forma
clang-format: re-format for clang-18
clang-format-18 isn't compatible with the clang-format-17 output, so we need to reformat the code with the latest version. The way clang-18 handles lambda formatting also changed, so we have made changes to the organization default style format to better handle lambda formatting.
See I5e08687e696dd240402a2780158664b7113def0e for updated style. See Iea0776aaa7edd483fa395e23de25ebf5a6288f71 for clang-18 enablement.
Change-Id: Iee5e9ffc9cdaefb7db5577a9c422c1e9646253f2 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
show more ...
|
83e50e99 | 17-Jun-2024 |
Manojkiran Eda <manojkiran.eda@gmail.com> |
Fix spelling mistakes using codespell
This commit corrects various spelling mistakes throughout the repository. The corrections were made automatically using `codespell`[1] tool.
[1]: https://githu
Fix spelling mistakes using codespell
This commit corrects various spelling mistakes throughout the repository. The corrections were made automatically using `codespell`[1] tool.
[1]: https://github.com/codespell-project/codespell
Change-Id: Id1ca559acc1ae45b4605a1bb9d74ef3d7e5aa1c5 Signed-off-by: Manojkiran Eda <manojkiran.eda@gmail.com>
show more ...
|
dadc817b | 20-Oct-2023 |
Patrick Williams <patrick@stwcx.xyz> |
clang-format: copy latest and re-format
clang-format-17 has some backwards incompatible changes that require additional settings for best compatibility and re-running the formatter. Copy the latest
clang-format: copy latest and re-format
clang-format-17 has some backwards incompatible changes that require additional settings for best compatibility and re-running the formatter. Copy the latest .clang-format from the docs repository and reformat the repository.
Change-Id: Ia0723b61eb4d30a47e69de0fb3f8de9256e56f83 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
show more ...
|
4cde7e48 | 01-Sep-2023 |
Patrick Williams <patrick@stwcx.xyz> |
regenerate elog-errors.hpp
Regenerate elog-errors.hpp with the minimal set of YAML.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: If0b2f7b7511afbd040de7109ff0f00b206a21f9d |
7a771c1a | 15-Aug-2023 |
George Liu <liuxiwei@inspur.com> |
meson_options.txt: Support for reading options from meson.options
Support has been added for reading options from meson.options instead of meson_options.txt[1]. These are equivalent, but not using t
meson_options.txt: Support for reading options from meson.options
Support has been added for reading options from meson.options instead of meson_options.txt[1]. These are equivalent, but not using the .txt extension for a build file has a few advantages, chief among them many tools and text editors expect a file with the .txt extension to be plain text files, not build scripts.
[1] https://mesonbuild.com/Release-notes-for-1-1-0.html#support-for-reading-options-from-mesonoptions
Change-Id: I7bb35aafbf5231f4c0bfeed509c0d3aaa47be7ca Signed-off-by: George Liu <liuxiwei@inspur.com>
show more ...
|
b1dc2b21 | 12-Jul-2023 |
Patrick Williams <patrick@stwcx.xyz> |
build: upgrade to C++23
Meson 1.1.1 and GCC-13 both support C++23 and a sufficient portion of the standard has been implemented. Upgrade the build to leverage it.
Change-Id: Ie13dbed1ea5d2f76e7ba9
build: upgrade to C++23
Meson 1.1.1 and GCC-13 both support C++23 and a sufficient portion of the standard has been implemented. Upgrade the build to leverage it.
Change-Id: Ie13dbed1ea5d2f76e7ba9d4fb03e7969db0053d2 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
show more ...
|
3c55c233 | 01-Jun-2023 |
Patrick Williams <patrick@stwcx.xyz> |
meson: remove cppfs dependency
The dependency on the c++fs library is something very old from the C++14 era and is no longer necessary with a modern compiler. Remove the explicit dependency from th
meson: remove cppfs dependency
The dependency on the c++fs library is something very old from the C++14 era and is no longer necessary with a modern compiler. Remove the explicit dependency from the meson setup.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I70d6811eb4afe7bf954b940b6fcf7759c6781c04
show more ...
|
98473dbc | 01-Jun-2023 |
Patrick Williams <patrick@stwcx.xyz> |
fix GCC 13 issues
The latest version of GCC raises two issues:
- cstdint is not included automatically as often so we need to explicitly include it whenever using `uint*` class types.
fix GCC 13 issues
The latest version of GCC raises two issues:
- cstdint is not included automatically as often so we need to explicitly include it whenever using `uint*` class types.
- Certain move operations are detected as unnecessary and subverting RVO.
Fix both of these issues.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I4124c91c8e5cce3b85a6284d3cc8dfc2a8494a76
show more ...
|
b7ed5773 | 10-May-2023 |
Patrick Williams <patrick@stwcx.xyz> |
clang-format: copy latest and re-format
clang-format-16 has some backwards incompatible changes that require additional settings for best compatibility and re-running the formatter. Copy the latest
clang-format: copy latest and re-format
clang-format-16 has some backwards incompatible changes that require additional settings for best compatibility and re-running the formatter. Copy the latest .clang-format from the docs repository and reformat the repository.
Change-Id: I3edadffec0ea11e0a52d9b060167e9a9a38f1972 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
show more ...
|
34f24233 | 08-Dec-2022 |
Patrick Williams <patrick@stwcx.xyz> |
markdownlint: fix all warnings
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I50235fecf8b26f42caced810c8117f1a0a9b63a0 |
3a805457 | 08-Dec-2022 |
Patrick Williams <patrick@stwcx.xyz> |
prettier: re-format
Prettier is enabled in openbmc-build-scripts on Markdown, JSON, and YAML files to have consistent formatting for these file types. Re-run the formatter on the whole repository.
prettier: re-format
Prettier is enabled in openbmc-build-scripts on Markdown, JSON, and YAML files to have consistent formatting for these file types. Re-run the formatter on the whole repository.
Change-Id: Ic70a9bbc0d86851d5c9885e9be891545b27628b4 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
show more ...
|
01506ac1 | 05-Dec-2022 |
Patrick Williams <patrick@stwcx.xyz> |
python: fix flake8 warnings and format with black
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I9ef346717ca33a27172c6de10bab1de98ead0546 |
87c4a6fc | 04-Aug-2022 |
Patrick Williams <patrick@stwcx.xyz> |
MAINTAINERS: remove file
The MAINTAINERS file is deprecated in favor of OWNERS.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Id9c340b32c2049aa84a7346be2b4fa5b0fb46b21
|
bf2e832b | 04-Aug-2022 |
Patrick Williams <patrick@stwcx.xyz> |
OWNERS: add file
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I43e531675fdbcee01a2b1575e2a89dcbc2d4b299 |
1426a10b | 22-Jul-2022 |
Patrick Williams <patrick@stwcx.xyz> |
sdbusplus: use shorter type aliases
The sdbusplus headers provide shortened aliases for many types. Switch to using them to provide better code clarity and shorter lines. Possible replacements are
sdbusplus: use shorter type aliases
The sdbusplus headers provide shortened aliases for many types. Switch to using them to provide better code clarity and shorter lines. Possible replacements are for: * bus_t * exception_t * manager_t * match_t * message_t * object_t * slot_t
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Ic0fe1ed7e19cf114b8666d49d4d670c7d9ec595d
show more ...
|
008e82f9 | 06-Oct-2021 |
Patrick Williams <patrick@stwcx.xyz> |
build: switch to C++20
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Ibf6c0f96ee12a73715de30ac27d7648e6154a7ae |
dc6fc37c | 10-Sep-2021 |
Patrick Williams <patrick@stwcx.xyz> |
clang-format: apply clang-12 changes
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I026fecde3b7f7ba4689a6176f31351b155e7aeee |
ea4f4f47 | 26-Jun-2020 |
Patrick Williams <patrick@stwcx.xyz> |
build: remove reference to openpower-dbus-interfaces
org.open_power dbus interfaces are now covered by phosphor-dbus-interfaces, so remove dependency on repository which is no longer needed.
Signed
build: remove reference to openpower-dbus-interfaces
org.open_power dbus interfaces are now covered by phosphor-dbus-interfaces, so remove dependency on repository which is no longer needed.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I45bc0d719b3945d265618424f165a97d138af4bc
show more ...
|
2c4fbc4c | 26-Jun-2020 |
Patrick Williams <patrick@stwcx.xyz> |
clang-format: update to latest version
Pick up latest .clang-format file from the docs repository. Fix formatting on all files. Minor compile fixes due to GCC10 and sdbusplus changes.
Signed-off-by
clang-format: update to latest version
Pick up latest .clang-format file from the docs repository. Fix formatting on all files. Minor compile fixes due to GCC10 and sdbusplus changes.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Ie1f7a4e59b6cf015310effef50d558ff59731024
show more ...
|
d7778fb0 | 13-May-2020 |
Patrick Williams <patrick@stwcx.xyz> |
sdbusplus: replace message::variant with std::variant
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I664c4982aa03664728d7375d78dfae6e595c2d20 |
5124fb35 | 13-May-2020 |
Patrick Williams <patrick@stwcx.xyz> |
sdbusplus: remove deprecated variant_ns
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I3c785d33984b7c3af8671432c194db34be360b52 |
f29a6f1a | 13-May-2020 |
Patrick Williams <patrick@stwcx.xyz> |
migrate to python3
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: If5f169a06a86ab09d053651fc3f54e45378f91eb |
b3853e2d | 03-Sep-2019 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
build: drop autotools
With previously added support for building with meson/ninja autotools support is no longer required.
Change-Id: I80654ada9d099a57447ded73da71f39293cd2f0a Signed-off-by: Brad B
build: drop autotools
With previously added support for building with meson/ninja autotools support is no longer required.
Change-Id: I80654ada9d099a57447ded73da71f39293cd2f0a Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
show more ...
|
39b370a5 | 02-Sep-2019 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
build: add support for building with meson
Follow the OpenBMC herd and support a more modern, more comprehensible, more performant build framework.
To build using meson: meson build ninja -C bu
build: add support for building with meson
Follow the OpenBMC herd and support a more modern, more comprehensible, more performant build framework.
To build using meson: meson build ninja -C build ninja -C build install
Maintained support for: Configurable dbus parameters: INPUT_HISTORY_BUSNAME_ROOT= -> -Dinput-history-busname-root= INPUT_HISTORY_SENSOR_ROOT = -> -Dinput-history-sensor-root= UCD90160 support: UCD90160_DEF_YAML_FILE= -> -Ducd90160-yaml= --enable-turn-off-ucd90160-access = -> -Ducd90160-access=
Added -Dtests to match de-facto OpenBMC meson usage conventions.
Dropped UCD90160_DEF_OUTPUT_DIR. Much like the destination of intermediate artifacts like object files are not configurable, the location of the generated UCD definition file should not be configurable either.
Dropped support for --enable-oe-sdk rpath munging. This was a workaround for broken oe sdks that don't figure out the correct rpath when running make check or ninja test.
Tested by building with both meson and autotools and then compared build artifacts from each build system: generated source code is the same generated binaries have the same symbols
Ran existing unit tests (which passed) using ninja test.
Change-Id: Iac80ba1fe5c2d01abe0e0a95e0bec03b8b828ef5 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
show more ...
|
11cb6728 | 03-Sep-2019 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
build: fix some warnings
Fix a couple of warnings:
-Werror=unused-parameter -Werror=non-virtual-dtor
so we can use meson's warning_level=3 and -Werror without build failures.
Change-Id: Id3c15c2f
build: fix some warnings
Fix a couple of warnings:
-Werror=unused-parameter -Werror=non-virtual-dtor
so we can use meson's warning_level=3 and -Werror without build failures.
Change-Id: Id3c15c2fee70799bee98a8d2890c33ab5ebfd563 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
show more ...
|