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
Steps to build libgeopm
are as follows:
- 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
. - 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
. - Run
make -j
to build libgeopm and other build outputs. The library will be written to the./.libs
directory. - Run
make install
to copy the build outputs to their installation destinations.
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
.