c66ebc35 | 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: I362352dcb341658501899267c2ff3ad044ed5912 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
show more ...
|
adb8ffe4 | 17-Jul-2023 |
Willy Tu <wltu@google.com> |
iwyu: Cleanup include headers
Triggered iwyu and add/remove used headers.
Change-Id: Iadbdb459563b3c89baf2d56f90a540342d020cd5 Signed-off-by: Willy Tu <wltu@google.com> |
bb53161d | 16-Jul-2023 |
Willy Tu <wltu@google.com> |
cleanup fmt::format for std::format
Update the code to use std::format since gcc13 supports it now. Also cleaned up some unused headers.
Change-Id: Ief2ad4df9e8b8227168f4f98213da8b3978fda03 Signed-
cleanup fmt::format for std::format
Update the code to use std::format since gcc13 supports it now. Also cleaned up some unused headers.
Change-Id: Ief2ad4df9e8b8227168f4f98213da8b3978fda03 Signed-off-by: Willy Tu <wltu@google.com>
show more ...
|
1dfe24ea | 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: Ibb8913a93032d388399b6
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: Ibb8913a93032d388399b65904013e284780dad70 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
show more ...
|
580abaff | 06-Jul-2023 |
Willy Tu <wltu@google.com> |
build: Fix build warnings
``` ../subprojects/metrics-ipmi-blobs/util.hpp:32:5: error: 'uint64_t' does not name a type 32 | uint64_t firmwareTime = 0; | ^~~~~~~~ ../subprojects/metri
build: Fix build warnings
``` ../subprojects/metrics-ipmi-blobs/util.hpp:32:5: error: 'uint64_t' does not name a type 32 | uint64_t firmwareTime = 0; | ^~~~~~~~ ../subprojects/metrics-ipmi-blobs/util.hpp:18:1: note: 'uint64_t' is defined in header '<cstdint>'; did you forget to '#include <cstdint>'? 17 | #include <string> +++ |+#include <cstdint> 18 | #include <string_view> ... ../subprojects/nemora-postd/src/serializer.cpp:66:28: error: call of overloaded 'format(const char [15], std::string)' is ambiguous 66 | log<level::INFO>(format("NemoraEvent {}", pb.DebugString()).c_str()); ```
Change-Id: Id7da1567cdf8cd74d94bd71fa338099b1f0b861e Signed-off-by: Willy Tu <wltu@google.com>
show more ...
|
2be45238 | 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: Ia240047e2472bccb2bb039ff71bea20a7a602ec4 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
show more ...
|
25c55c54 | 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: Ib442712e2562fac166148ce795f0a83511ad84cd Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
show more ...
|
9632cb8a | 05-Oct-2022 |
Harvey.Wu <Harvey.Wu@quantatw.com> |
nemora-postd: update add_option function
- cli11 update from 1.9.1 to 2.2.2 in PR-57585(ref1) According cli11's commit(ref2), the add_option function needs update
ref: 1. https://gerrit.openbmc.o
nemora-postd: update add_option function
- cli11 update from 1.9.1 to 2.2.2 in PR-57585(ref1) According cli11's commit(ref2), the add_option function needs update
ref: 1. https://gerrit.openbmc.org/c/openbmc/openbmc/+/57585 2. https://github.com/CLIUtils/CLI11/commit/e2e3cb2fed20b0c25eaf6d2689784b9c0e3730f1
Signed-off-by: Harvey.Wu <Harvey.Wu@quantatw.com> Change-Id: I165f35dc02d27afb56ca4e88a9e08f0564033acd
show more ...
|
24695690 | 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: I524eafe25c461b0dd987e7c31f142264866c6fa3
|
5cc62fe6 | 04-Aug-2022 |
Patrick Williams <patrick@stwcx.xyz> |
OWNERS: fix syntax
Two subdirectory OWNERS files had invalid syntax which caused the tools to crash.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Ia7cef2eae99eaf6fbdddc099b2261e35
OWNERS: fix syntax
Two subdirectory OWNERS files had invalid syntax which caused the tools to crash.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Ia7cef2eae99eaf6fbdddc099b2261e35862cb18e
show more ...
|
59ac2c2d | 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: I5055fac459cb021ea94686e058e233bcc476a32d
show more ...
|
92809b4e | 19-Nov-2021 |
Patrick Williams <patrick@stwcx.xyz> |
sdbusplus: remove usage of deprecated alias
The alias `server::match` has been deprecated since 2016. Use the new alias under bus and switch all redundant types to their `type_t` counterpart.
Sign
sdbusplus: remove usage of deprecated alias
The alias `server::match` has been deprecated since 2016. Use the new alias under bus and switch all redundant types to their `type_t` counterpart.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I9a8066ca6b01253d7bd062c3c416384db2ad65fc
show more ...
|
adc7133b | 22-Nov-2021 |
Patrick Williams <patrick@stwcx.xyz> |
nemora-postd: fix compile fail
host_manager.hpp is missing header for `std::thread`.
``` In file included from ../subprojects/nemora-postd/src/nemora.hpp:17, from ../subprojects/ne
nemora-postd: fix compile fail
host_manager.hpp is missing header for `std::thread`.
``` In file included from ../subprojects/nemora-postd/src/nemora.hpp:17, from ../subprojects/nemora-postd/src/nemora.cpp:15: ../subprojects/nemora-postd/src/host_manager.hpp:76:26: error: ‘thread’ is not a member of ‘std’ 76 | std::unique_ptr<std::thread> post_poller_; ```
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Icda54302f7770e5760dfa3c509c7086e47af75f9
show more ...
|
382d628d | 21-Oct-2021 |
Willy Tu <wltu@google.com> |
build: Update to c++20, c18, and meson >= 0.57.0
Change-Id: I6b4862f1aa2f8778d63b2b905762437071afd9c6 Signed-off-by: Willy Tu <wltu@google.com> |
14fe6698 | 08-Jun-2021 |
Nan Zhou <nanzhoumails@gmail.com> |
nemora-postd: import from gBMC
This is the POST code portion of nemorad.
Signed-off-by: Nan Zhou <nanzhoumails@gmail.com> Google-Bug-Id: 179618653 Change-Id: Icf68fe8adf62c646238cf8235918a13effa857
nemora-postd: import from gBMC
This is the POST code portion of nemorad.
Signed-off-by: Nan Zhou <nanzhoumails@gmail.com> Google-Bug-Id: 179618653 Change-Id: Icf68fe8adf62c646238cf8235918a13effa857f8
show more ...
|