b80c584e | 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: Ie3bd23911d86a3097f21b036a94f1dda3e38b511 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
show more ...
|
91214423 | 16-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: I1328f3ee46fdfd4b0285a235fe0dda51e36066e8 Signed-off-by: Manojkiran Eda <manojkiran.eda@gmail.com>
show more ...
|
05f53021 | 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
Signed-off-by: George Liu <liuxiwei@inspur.com> Change-Id: Ida0b62337f249e7d96f58c2006c6ca4160825b6c
show more ...
|
c6b3d0fb | 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: I2be965deb65ea5623d80e3d131801a6c43bb6755 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
show more ...
|
0f68a6ff | 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: Iad4f36b3bc82de1780344
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: Iad4f36b3bc82de17803443beed8469794ea45684 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
show more ...
|
ab995c50 | 12-Jul-2023 |
Patrick Williams <patrick@stwcx.xyz> |
fd: avoid move-to-self
When compiling with C++23, GCC-13 raises the following compiler failure: ``` ../test/internal/fd.cpp:182:8: error: moving ‘fd’ of type ‘gpioplus::internal::Fd’ to itself [-Wer
fd: avoid move-to-self
When compiling with C++23, GCC-13 raises the following compiler failure: ``` ../test/internal/fd.cpp:182:8: error: moving ‘fd’ of type ‘gpioplus::internal::Fd’ to itself [-Werror=self-move] ```
Switch to an explicit `static_cast` to test the same functionality but avoid the error.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I81e36b05d51fd8b11b1e99d62426dd516c3676ed
show more ...
|
0ceda043 | 12-Jul-2023 |
Patrick Williams <patrick@stwcx.xyz> |
add cstdint include
The aspeed.hpp uses `uint*_t` types without the cstdint include, which fails on some compilers on some architectures. Add it.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz
add cstdint include
The aspeed.hpp uses `uint*_t` types without the cstdint include, which fails on some compilers on some architectures. Add it.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Ia692a9dc9bb4787ae1850690e7027643238152da
show more ...
|
7ba248ad | 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: I3a681a9dd632fc31b26bf2df50de0cf4b65f8ec0 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
show more ...
|
01bc0bf6 | 07-Dec-2022 |
Patrick Williams <patrick@stwcx.xyz> |
clang-ignore: remove unneeded file
openbmc-build-scripts by default uses git-ls-files and so does meson. There is no reason to add untracked files into the .clang-ignore.
Signed-off-by: Patrick Wil
clang-ignore: remove unneeded file
openbmc-build-scripts by default uses git-ls-files and so does meson. There is no reason to add untracked files into the .clang-ignore.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I915bea3378c3ebf53956d0ddfbcd493f6b06947d
show more ...
|
1f6cd3bc | 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: I0aa5795b56ee3f9f42ffaf02e3c3a9f94e888c2a Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
show more ...
|
42c77add | 30-Sep-2022 |
Patrick Williams <patrick@stwcx.xyz> |
OWNERS: switch 'matches' to 'matchers'
The original OWNERS template had a mistake which used 'matches' instead of the field supported by the Gerrit plugin 'matchers'. Update the OWNERS file to have
OWNERS: switch 'matches' to 'matchers'
The original OWNERS template had a mistake which used 'matches' instead of the field supported by the Gerrit plugin 'matchers'. Update the OWNERS file to have the correct field.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I4412a829e8862efc3b89c7a765566760eb33a667
show more ...
|
64fe7174 | 30-Sep-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: Ibdcc48ebcdceba494ec2b9aa293b7745526dd604
|
8944f2e2 | 22-Oct-2021 |
Manojkiran Eda <manojkiran.eda@gmail.com> |
Add OWNERS file
Signed-off-by: Manojkiran Eda <manojkiran.eda@gmail.com> Change-Id: I5f7c6fc76e8682a7d597e6227d1f1df8fb353799 |
71e795a2 | 16-Apr-2021 |
William A. Kennington III <wak@google.com> |
meson: Update to c++20
Change-Id: Ia527700f3bbc718eff1f298864fd6aec08cb2021 Signed-off-by: William A. Kennington III <wak@google.com> |
3f49f01e | 16-Apr-2021 |
William A. Kennington III <wak@google.com> |
meson: Update minimum version to 0.57.0
Required for c++20 suppport.
Change-Id: Ida3bdf9615505f7fcc360f5dd246fda5066d6ba5 Signed-off-by: William A. Kennington III <wak@google.com> |
e0ca47cd | 16-Apr-2021 |
William A. Kennington III <wak@google.com> |
meson: Remove werror override
Change-Id: Iffcfab4611747ad9a5592e4e66f66b851ef54cc4 Signed-off-by: William A. Kennington III <wak@google.com> |
6398d728 | 16-Apr-2021 |
William A. Kennington III <wak@google.com> |
meson: Fix formatting
Change-Id: I090c9c74e27fb2a33ce29b55a3cb154e80a4f2a5 Signed-off-by: William A. Kennington III <wak@google.com> |
6797f8a0 | 08-Aug-2020 |
William A. Kennington III <wak@google.com> |
subprojects: Bump to HEAD
Change-Id: I4cff901031cf792bca0ca2f08e7f372cea17c141 Signed-off-by: William A. Kennington III <wak@google.com> |
2f8444ce | 03-Jun-2020 |
William A. Kennington III <wak@google.com> |
meson: Make googletest vendorable
This is a quality of life improvement so that users trying to work with the project don't need to have an external install of the googletest dependency for the test
meson: Make googletest vendorable
This is a quality of life improvement so that users trying to work with the project don't need to have an external install of the googletest dependency for the tests to build.
Change-Id: I44b4cbae14c5006eaef0a5b42a1f6b753b07b405 Signed-off-by: William A. Kennington III <wak@google.com>
show more ...
|
778baa2a | 03-Jun-2020 |
William A. Kennington III <wak@google.com> |
meson: Don't build tests or examples in subprojects
When being included in a subproject these are not helpful and just slow down the build process.
Change-Id: I613bee1a630809bf16314418ac401ff0aa8db
meson: Don't build tests or examples in subprojects
When being included in a subproject these are not helpful and just slow down the build process.
Change-Id: I613bee1a630809bf16314418ac401ff0aa8db5fd Signed-off-by: William A. Kennington III <wak@google.com>
show more ...
|
a9bf8b70 | 03-Jun-2020 |
William A. Kennington III <wak@google.com> |
README: Fix for meson instructions
The old autotools instructions were left behind and needed to be updated to document how to build with meson.
Change-Id: I3165e823601e95e6c15b8b66491e7f6f28b04d4f
README: Fix for meson instructions
The old autotools instructions were left behind and needed to be updated to document how to build with meson.
Change-Id: I3165e823601e95e6c15b8b66491e7f6f28b04d4f Signed-off-by: William A. Kennington III <wak@google.com>
show more ...
|
d67babcd | 30-May-2019 |
William A. Kennington III <wak@google.com> |
autotools: Remove
Meson is now used to build this package in all necessary places.
Change-Id: Icd01dd86ee22414c221fe2461c76be56d69eaf9c Signed-off-by: William A. Kennington III <wak@google.com>
|
48e6288d | 03-Apr-2019 |
William A. Kennington III <wak@google.com> |
meson: Use declare_dependency for libraries
Now example binaries and tests don't have to be aware of the nuances for configuring the build to use the library. This makes the project library look lik
meson: Use declare_dependency for libraries
Now example binaries and tests don't have to be aware of the nuances for configuring the build to use the library. This makes the project library look like any other system dependency.
Change-Id: Ib042c253adedb6f949c8a8897ed9a34e61d2a888 Signed-off-by: William A. Kennington III <wak@google.com>
show more ...
|
9dd00de7 | 01-Apr-2019 |
William A. Kennington III <wak@google.com> |
meson: Fix pc file generation
The previous commit adding meson support forgot to add the gpioplus library to the pkgconfig file, so anything depending on gpioplus wouldn't get the linker flag that i
meson: Fix pc file generation
The previous commit adding meson support forgot to add the gpioplus library to the pkgconfig file, so anything depending on gpioplus wouldn't get the linker flag that is required to link against it.
Change-Id: Id0ed6dabede79bd137ae5f56806e7202f8a238c9 Signed-off-by: William A. Kennington III <wak@google.com>
show more ...
|
15658977 | 27-Mar-2019 |
William A. Kennington III <wak@google.com> |
meson: Add build system
Change-Id: Ia57836a0f7b5287ddb490ba6de01192ce0ef6382 Signed-off-by: William A. Kennington III <wak@google.com> |