summaryrefslogtreecommitdiffstats
path: root/configure.ac
Commit message (Collapse)AuthorAgeFilesLines
* unit-test: Introduce unit tests to phosphor-objmgrAndrew Geissler2019-04-051-1/+84
| | | | | | | | | Move a function to make more testable and add a test case for it Testing: Verified 100% test coverage in processing.cpp Change-Id: I0a888009cfeb57bbc8ad295681bea00b79f2a23d Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* build: pkg anti-pattern: use defaultsPatrick Venture2019-02-131-3/+3
| | | | | | | | Use the defaults in the pkg check where the default error message is sufficient to identify which package is missing. Change-Id: I5bacea77a8a6814bcd21a904219f9e6cb1da58ce Signed-off-by: Patrick Venture <venture@google.com>
* Check for boost headers usedMatthew Barth2018-10-261-1/+5
| | | | | | | | | | | | | | The AX_BOOST_BASE macro checks a set of directory locations for the availability of boost which can cause an issue when one is found and its below the specified version. (A version number is required when using the AX_BOOST_BASE macro and was chosen to match the boost version within the SDK.) This fix replaces the use of the AX_BOOST_BASE macro with checking for the boost headers used. Resolves: openbmc/openbmc#3411 Change-Id: Ia24120e55f77576a45f6f85988328f7127ea00c7 Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
* Add configure check for boost libraryMatthew Barth2018-10-151-0/+1
| | | | | | | | 605206314f added use of flat_map/set and some boost algorithm. Change-Id: I63465542fb3b9c02e2890ff52ebdd3fd0e4c6e01 Signed-off-by: Matthew Barth <msbarth@us.ibm.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* Compile with c++17Vernon Mauery2018-10-041-1/+1
| | | | | | | Unlock new language and feature support. Change-Id: I171b90570cd630fc7cec03b1f5fe617ebfde5de3 Signed-off-by: Vernon Mauery <vernon.mauery@linux.intel.com>
* Implement Mapper in C++/sdbusplus/asioEd Tanous2018-09-281-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit attempts to reimplement the mapper using C++/sdbusplus in the hopes of improving performance both at startup (lower priority) and runtime (higher priority). After this patch, performance seems to be greatly improved. On an unloaded system, full introspection of all daemons clocks in at 2.23 seconds for the worst case. Prelimiary tests show this to be 7X faster than the existing client. Expect this to come down slightly once associations are implemented, as that will introduce some overhead. It should not yet be considered complete although it does function. The things that still need doing are: 1. Implement the configurable whitelist/blacklist that the existing manage implements. Today they are compiled in. Tested By: time busctl call xyz.openbmc_project.ObjectMapper /xyz/openbmc_project/object_mapper xyz.openbmc_project.ObjectMapper GetSubTree sias "/" 0 1 xyz.openbmc_project.State.Chassis a{sa{sas}} 1 "/xyz/openbmc_project/state/chassis0" 1 "xyz.openbmc_project.State.Chassis" 2 "org.freedesktop.DBus.ObjectManager" "xyz.openbmc_project.State.Chassis" C++ implementation real 0m0.092s user 0m0.040s sys 0m0.010s Python implementation real 0m0.416s user 0m0.010s sys 0m0.030s Also has been tested using reboots, daemon dropouts and reconnects. Change-Id: I46ca8c273df09261cb2a2448a3570a601ea8e9f4 Signed-off-by: Ed Tanous <ed.tanous@intel.com> Signed-off-by: James Feist <james.feist@linux.intel.com> Signed-off-by: Matt Spinler <spinler@us.ibm.com>
* Add class to monitor for unit failuresMatt Spinler2017-06-261-0/+1
| | | | | | | | | | | This class has an analyze() method that will check the state of a unit, and then stop or start a target unit if the state is failed. The units and the action are passed in via the constructor. Change-Id: Ibc8e54b8371d2261eb55cce5825c5cee6d214bab Signed-off-by: Matt Spinler <spinler@us.ibm.com>
* Add phosphor-unit-failure-monitor frameworkMatt Spinler2017-06-021-2/+5
| | | | | | | | | | | | | | | | | | | This application is designed to be called from the OnFailure directive in a systemd unit file. It will stop or start another unit when the current unit fails enough times to exceed its restart policy so it isn't restarted again. To do this, this application will check the ActiveState property of the failing unit. When it is 'failed', the target unit will be started (or stopped). The failing unit name, the target unit name, and if the target should be stopped or started are all passed in on the command line. Change-Id: I93ecccaf1c091abddb769ddad8f43ecd9902210b Signed-off-by: Matt Spinler <spinler@us.ibm.com>
* Move object_mapper per dbus path conventions.Leonel Gonzalez2017-03-201-1/+1
| | | | | | | Partial fix for openbmc/openbmc#1112. Change-Id: I964620e7b741dffbf5a680ae775f371a28143860 Signed-off-by: Leonel Gonzalez <lgonzalez@us.ibm.com>
* Correct out-of-tree builds for systemd workaroundMatthew Barth2017-01-041-1/+1
| | | | | Change-Id: I27c92f1b31da36a00585fa07376766a1f94e81df Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
* Workaround sd_bus_message_append_cmdlineMatthew Barth2016-11-231-0/+14
| | | | | | | | | | Unable to get libmapper built without systemd being patched with the sd_bus_message_append_cmdline function. Until it is pushed upstream, this is a workaround to get the available systemd install built for unit testing. Change-Id: Ieca78955a4182eebd469a860c37ccaedfe75d323 Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
* Switch to use generated config.hMatthew Barth2016-11-231-1/+1
| | | | | | | | Remove libmapper/config.h and have configure put generated config.h in libmapper directory. Change-Id: I3591b719e7b66d532ddad3499c6092166ad9a442 Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
* Add awk program check and use which one is foundMatthew Barth2016-11-181-0/+1
| | | | | Change-Id: Ia5ab161f83640189350ebe3a53d46834ea8bf9fc Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
* Convert build process to autotoolsMatthew Barth2016-11-091-0/+61
Replaced the use of a manual Makefile with the use of autotools to automatically verify and generate the necessary build files. Follow the steps outlined within the README.md file to build the package. Change-Id: Id7be6220d32e457b1171d5d98123c6d8f317b380 Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
OpenPOWER on IntegriCloud