1 If you would like to build the RPMs locally you will need a CentOS7 platform.
2 Set an environment variable called WORKSPACE to /tmp.
3 Make sure $PERL_MM_OPT is not set as an environment variable.
6 * sudo -E ./install_dependencies.sh
7 * sudo -E ./build_rpm.sh
9 This will create 3 directories in /tmp: collectd, intel-cmt-cat and rpmbuild.
11 The built RPMs can be found in rpmbuild/RPMS/x86_64/.