Skip to content

Latest commit

 

History

History

libgeopm

libgeopm Directory

C and C++ source files for libgeopm and associated command line tools. Directories include:

  • debian: Configuration files for debian packaging scripts
  • include: Public headers installed for use with libgeopm
  • src: Source code, including headers that do not get installed
  • test: Test code for libgeopm

Building

Steps to build libgeopm are as follows:

  1. This library is built with autotools, and may be distributed with an autoconf script. If you haven't been provided a ./configure script (e.g., if you cloned the repository yourself), then generate one by running ./autogen.sh.
  2. Run ./configure --prefix=$HOME/build/geopm (or modify the prefix to wherever you want to install GEOPM). Additional options are shown when you run ./configure --help.
  3. Run make -j to build libgeopm and other build outputs. The library will be written to the ./.libs directory.
  4. Run make install to copy the build outputs to their installation destinations.

Testing

Run make checkprogs -j to build the test suite.

Run make check to run the full test suite. Basic pass/fail information is printed to the screen. Detailed test logs are written to test-suite.log.

Run a subset of tests by using gtest filters. For example, to run only MonitorAgentTest test cases, run GTEST_FILTER='MonitorAgentTest*' make check.