Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • CMake CMake
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 4,107
    • Issues 4,107
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 19
    • Merge requests 19
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • 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
  • Merge requests
  • !5654

FindMPI: remove single quotes from include path

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Eduard Valeyev requested to merge evaleev/cmake:evaleev/fix/issue-21634 into master Dec 27, 2020
  • Overview 4
  • Commits 1
  • Pipelines 4
  • Changes 1

Intel OneAPI's MPI wraps include paths into single quotes, e.g.:

$ mpiicc -show
icc -I'/opt/intel/oneapi/mpi/2021.1.1/include' -L'/opt/intel/oneapi/mpi/2021.1.1/lib/release' -L'/opt/intel/oneapi/mpi/2021.1.1/lib' -Xlinker --enable-new-dtags -Xlinker -rpath -Xlinker '/opt/intel/oneapi/mpi/2021.1.1/lib/release' -Xlinker -rpath -Xlinker '/opt/intel/oneapi/mpi/2021.1.1/lib' -lmpifort -lmpi -ldl -lrt -lpthread

This merge request removes single quotes when sanitizing _MPI_INCLUDE_PATH.

Fixes: #21634 (closed)
Backport: release
Topic-rename: FindMPI-oneapi-single-quotes

Edited Jan 04, 2021 by Brad King
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: evaleev/fix/issue-21634