GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - ROCm/rocm-cmake at rocm-3.3.0

BranchesTags
Open more actions menu

Latest commit

 

History

114 Commits
114 Commits

Folders and files

NameName
Last commit message
Last commit date
share/rocm/cmake
share/rocm/cmake
 
 
test
test
 
 
.travis.yml
.travis.yml
 
 
CMakeLists.txt
CMakeLists.txt
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
appveyor.yml
appveyor.yml
 
 

Repository files navigation

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 <name>
    [DESCRIPTION <description>]
    [SECTION <section>]
    [MAINTAINER <maintainer>]
    [LDCONFIG_DIR <lib-directory>]
    [PREFIX <path>]
    [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 <target>...
    [PREFIX <path>]
    [EXPORT <export-file>]
    [INCLUDE <directory>...]
)

Install targets into the appropriate directory.

rocm_export_targets

rocm_export_targets(
    [NAMESPACE <namespace>]
    [EXPORT <export>]
    [INCLUDE <cmake-file>...]
    [NAME <name>]
    [COMPATIBILITY <compatibility>]
    [PREFIX <prefix>]
    [TARGETS <targets>...]
    [DEPENDS [PACKAGE <package-name>]...]
)

Export the installed targets so they can be consumed with find_package.

ROCMPackageConfigHelpers

rocm_configure_package_config_file

rocm_configure_package_config_file(<input> <output>
    INSTALL_DESTINATION <path>
    [PATH_VARS <var>...]
    [PREFIX <path>]
)

Configure the the config file used found be find_package.

ROCMSetupVersion

rocm_get_version

rocm_get_version(<output-variable>
    [VERSION <version>]
    [DIRECTORY <path>]
)

Get the version of directory using git tags if possible.

rocm_setup_version

rocm_setup_version(
    VERSION <version>
    [NO_GIT_TAG_VERSION]
    [PARENT <commit>]
)

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.

About

CMake modules used within the ROCm libraries

rocm.docs.amd.com/projects/ROCmCMakeBuildTools/en/latest/

Resources

Readme
License
Activity
Custom properties

Stars

78 stars

Watchers

21 watching

Forks

47 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.