Rocm cmake modules ================== ROCM cmake modules provides cmake modules for common build tasks needed for the ROCM software stack. To install from source, just run: ``` mkdir build cd build cmake .. cmake --build . --target install ``` ROCMCreatePackage ================= rocm_create_package ------------------- rocm_create_package( NAME [DESCRIPTION ] [SECTION
] [MAINTAINER ] [LDCONFIG_DIR ] [PREFIX ] [LDCONFIG] ) Sets up CPack packaging. ROCMInstallSymlinks =================== rocm_install_symlink_subdir --------------------------- rocm_install_symlink_subdir(subdir) Install symlinks which point into the `subdir` directory. ROCMInstallTargets ================== rocm_install_targets -------------------- rocm_install_targets( TARGETS ... [PREFIX ] [EXPORT ] [INCLUDE ...] ) Install targets into the appropriate directory. rocm_export_targets ------------------- rocm_export_targets( [NAMESPACE ] [EXPORT ] [INCLUDE ...] [NAME ] [COMPATIBILITY ] [PREFIX ] [TARGETS ...] [DEPENDS [PACKAGE ]...] ) Export the installed targets so they can be consumed with `find_package`. ROCMPackageConfigHelpers ======================== rocm_configure_package_config_file ---------------------------------- rocm_configure_package_config_file( INSTALL_DESTINATION [PATH_VARS ...] [PREFIX ] ) Configure the the config file used found be `find_package`. ROCMSetupVersion ================ rocm_get_version ---------------- rocm_get_version( [VERSION ] [DIRECTORY ] ) Get the version of directory using git tags if possible. rocm_setup_version ------------------ rocm_setup_version( VERSION [NO_GIT_TAG_VERSION] [PARENT ] ) Setup the version for the project. This will try to use git tag to set the version if possible unless `NO_GIT_TAG_VERSION` is passed. The `PARENT` argument can be used to set the commit to start the count of number of commits to the current revision.