#
76ca53e6 |
| 03-Mar-2025 |
Patrick Williams <patrick@stwcx.xyz> |
meson: reformat with meson formatter
Apply the `meson format` results.
Change-Id: Ia403525f2ceab5047e8292c86d1bc9bb3b464e25 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
|
#
31ca09ab |
| 29-Nov-2023 |
Patrick Williams <patrick@stwcx.xyz> |
build: use allowed over enabled
Meson feature options are typically in a tri-state of enabled, disabled, or auto. The enabled and disabled functions on an option (from `get_option`) no longer retur
build: use allowed over enabled
Meson feature options are typically in a tri-state of enabled, disabled, or auto. The enabled and disabled functions on an option (from `get_option`) no longer return true for auto features. Instead, the expectation is to use `allowed()` which is true for both enabled and auto.
Switch all uses of `enabled` to `allowed`.
Change-Id: I934c9ef13747134f41da36ee538d094c72fefdce Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
show more ...
|
#
83a3bfe7 |
| 26-Jul-2023 |
Manojkiran Eda <manojkiran.eda@gmail.com> |
use fs.copyfile instead of deprecated copy
copy arg in configure_file API is deprecated since meson version 0.64.0. As we moved to meson version 1.1.1 we can leverage the filesystem module copyfile(
use fs.copyfile instead of deprecated copy
copy arg in configure_file API is deprecated since meson version 0.64.0. As we moved to meson version 1.1.1 we can leverage the filesystem module copyfile() to achive the same result.
Tested: 1. With this change made sure that ninja install copied the service file into the systemd unit directory on fedora.
``` [manojeda@fedora build]$ ninja install [0/1] Installing files. Installation failed due to insufficient permissions. Attempt to use /usr/bin/sudo to gain elevated privileges? [y/n] y [sudo] password for manojeda: Installing xyz.openbmc_project.Time.Manager.service to /usr/lib/systemd/system Installing phosphor-time-manager to /usr/local/bin [manojeda@fedora build]$ cat /usr/lib/systemd/system/xyz.openbmc_project.Time.Manager.service [Unit] Description=Phosphor Time Manager daemon Wants=mapper-wait@-xyz-openbmc_project-time-sync_method.service After=mapper-wait@-xyz-openbmc_project-time-sync_method.service
[Service] Restart=always ExecStart=/usr/bin/phosphor-time-manager Type=dbus BusName=xyz.openbmc_project.Time.Manager
[Install] WantedBy=multi-user.target ```
Change-Id: Ie95cd19e2f025ff6b564293fdb1b62a8898a8a40 Signed-off-by: Manojkiran Eda <manojkiran.eda@gmail.com>
show more ...
|
#
4f0dfa2c |
| 17-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: I35bca64638976c0e20346
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: I35bca64638976c0e20346d78d46311a580245503 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
show more ...
|
#
3afad188 |
| 18-Jul-2023 |
Lei YU <yulei.sh@bytedance.com> |
Add default time sync object path
The time sync object path is empty by default and is initialized by a dbus call at runtime. It works OK in BMC but the unit tests in the repo is broken due to the e
Add default time sync object path
The time sync object path is empty by default and is initialized by a dbus call at runtime. It works OK in BMC but the unit tests in the repo is broken due to the empty string used in the sdbus matcht_t.
Add a config option to initialize the default time sync object path, so that it works both on BMC and in unit tests.
Signed-off-by: Lei YU <yulei.sh@bytedance.com> Change-Id: Iccdaef58434a1227c4ea73230ba23b4e618a2d2d
show more ...
|
#
4c5143f0 |
| 12-Apr-2023 |
Patrick Williams <patrick@stwcx.xyz> |
meson: remove deprecated get_pkgconfig_variable
Since meson 0.56, the `get_pkgconfig_variable` has been deprecated. In meson 0.58 the `get_variable` was enhanced to no longer require the `pkgconfig
meson: remove deprecated get_pkgconfig_variable
Since meson 0.56, the `get_pkgconfig_variable` has been deprecated. In meson 0.58 the `get_variable` was enhanced to no longer require the `pkgconfig` keyword argument. Ensure meson 0.58 is required and update the usage of all `get_pkgconfig_variable` and `get_variable` to be the modern variant.
Change-Id: Ica7f741355ff02a7c4eb84c6c1dfc47e0b42a3f8 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
show more ...
|
#
f1d54aec |
| 01-Sep-2022 |
George Liu <liuxiwei@inspur.com> |
Remove the inheritance between epoch base and bmc epoch
The epoch_base exists because it was managing bmc_time and host_time before, and now the host_time has been removed, so the dependency on epoc
Remove the inheritance between epoch base and bmc epoch
The epoch_base exists because it was managing bmc_time and host_time before, and now the host_time has been removed, so the dependency on epoch_base and bmc_epoch should be removed.
Tested: Built phosphor-time-manager successfully and CI passed.
Signed-off-by: George Liu <liuxiwei@inspur.com> Change-Id: Iff87f18d450095f8a673b2d73c50092c65adca20
show more ...
|
#
667563c3 |
| 01-Aug-2022 |
Pavithra Barithaya <pavithra.b@ibm.com> |
meson: Fix deprecated meson warnings
Fix the warnings related to deprecated meson functions:
WARNING: Project targeting '>= 0.57.0' but tried to use feature deprecated since '0.56.0': Dependency.ge
meson: Fix deprecated meson warnings
Fix the warnings related to deprecated meson functions:
WARNING: Project targeting '>= 0.57.0' but tried to use feature deprecated since '0.56.0': Dependency.get_pkgconfig_variable. use Dependency.get_variable(pkgconfig : ...) instead
Tested: Verified that there are no such warnings in local CI.
Change-Id: Ie9952c3aceeb6faaed8abe40439bf91e8fc21c2f Signed-off-by: Pavithra Barithaya <pavithra.b@ibm.com>
show more ...
|
#
0fb8ed4d |
| 01-Jul-2022 |
George Liu <liuxiwei@inspur.com> |
meson: update dependency
Add subprojects file and update .gitignore
Also, remove the test/Makefile.am file.
Signed-off-by: George Liu <liuxiwei@inspur.com> Change-Id: I39be4b64d53d2aef1884ce0b7475
meson: update dependency
Add subprojects file and update .gitignore
Also, remove the test/Makefile.am file.
Signed-off-by: George Liu <liuxiwei@inspur.com> Change-Id: I39be4b64d53d2aef1884ce0b7475c2cfc39c7ac4
show more ...
|
#
3e16f772 |
| 18-Oct-2021 |
Patrick Williams <patrick@stwcx.xyz> |
build: remove explicit C++ standard check
Very few repositories have this extra check that the C++ standard matches a particular version and instead choose to rely on compiler header checks to verif
build: remove explicit C++ standard check
Very few repositories have this extra check that the C++ standard matches a particular version and instead choose to rely on compiler header checks to verify particular features are present. This repository itself compiles with C++17 for now, so remove the explicit check for C++20.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I366dc22f1daff483872db168ed5311233c839bae
show more ...
|
#
915109d0 |
| 06-Oct-2021 |
Patrick Williams <patrick@stwcx.xyz> |
build: switch to C++20
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I8e48e5949e210ef9b77ee9c1438f7b7963a12584
|
#
f901e9ce |
| 02-Feb-2021 |
Ratan Gupta <ratagupt@linux.vnet.ibm.com> |
Move service file into its own repo
Move the service file for phosphor-time-manager from the bitbake recipe to the source repository.
There is no need of making the root object path and the busname
Move service file into its own repo
Move the service file for phosphor-time-manager from the bitbake recipe to the source repository.
There is no need of making the root object path and the busname as configurable variable,Hence this commit also removes those configure variables.
Tested: Service file were getting installed where expected.
Signed-off-by: Ratan Gupta <ratagupt@linux.vnet.ibm.com> Change-Id: Ib297b4a1b35400ce34962b1bdaa59c6441f24b19
show more ...
|
#
8af2a894 |
| 02-Feb-2021 |
Ratan Gupta <ratagupt@in.ibm.com> |
Enable Meson Build system for phoshphor-time-manager
- This commit enables the meson build system for the phoshphor-time-manager repo.
Tested By: - Code compiles both in arm & x86 sdks without er
Enable Meson Build system for phoshphor-time-manager
- This commit enables the meson build system for the phoshphor-time-manager repo.
Tested By: - Code compiles both in arm & x86 sdks without errors or warnings. - All the unit test cases are getting passed.
Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com> Change-Id: I311bf33f34c6c71860e9c845b6ca3c591af8fa6a
show more ...
|