Closed koomie closed 6 months ago
This PR enables use of cpack to accommodate building of RPM and DEB packages. Install paths have also been updated to reflect ROCm conventions. e.g.
cpack
bin/ libexec/ share/
The primary omniperf utility is intended to be accessed from bin/omniperf which is a soft link to the full python install in libexec, e.g.
bin/omniperf
libexec
$ ls -l /tmp/omniperf/bin/omniperf lrwxrwxrwx 1 user group 28 Apr 18 10:35 /tmp/omniperf/bin/omniperf -> ../libexec/omniperf/omniperf*
Some new cmake vars introduced:
PACKAGE_REQUIRES
INSTALL_TESTS
CHECK_PYTHON_DEPS
Note that if INSTALL_TESTS=ON, a separate omniperf-tests package will be generated containing testing collateral.
INSTALL_TESTS=ON
omniperf-tests
This PR enables use of
cpack
to accommodate building of RPM and DEB packages. Install paths have also been updated to reflect ROCm conventions. e.g.The primary omniperf utility is intended to be accessed from
bin/omniperf
which is a soft link to the full python install inlibexec
, e.g.Some new cmake vars introduced:
PACKAGE_REQUIRES
: external package dependencies (defaults to roc profiler)INSTALL_TESTS
: controls whether test collateral is installed (defaults to NO)CHECK_PYTHON_DEPS
: whether to check for python and associated runtime dependencies (defaults to YES)Note that if
INSTALL_TESTS=ON
, a separateomniperf-tests
package will be generated containing testing collateral.