Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • CMake CMake
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 4.4k
    • Issues 4.4k
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 16
    • Merge requests 16
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Artifacts
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
    • Model experiments
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • External wiki
    • External wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • CMakeCMake
  • CMakeCMake
  • Issues
  • #23691

FindOpenACC does not set OpenACC_FOUND variable

The FindOpenACC module only sets OpenACC_<lang>_FOUND variables but not OpenACC_FOUND. Subsequently, this means a find_package(OpenACC) never results in a successful feature discovery, registering OpenACC always in the PACKAGES_NOT_FOUND global property. (Evident e.g. by a call to feature_summary).

The following should be fixed in FindOpenACC to make it behave similar to the FindOpenMP package:

  1. Add support for COMPONENTS <lang> specifier to further qualify which OpenACC language support is required
  2. Set OpenACC_FOUND if all requested language components have been found.
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking