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,101
    • Issues 4,101
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 13
    • Merge requests 13
  • 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
  • !6806

VS: Fix detecting icx.exe with Intel Compiler toolsets newer than 2021

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged William R. Dieter requested to merge williamr/cmake:oneapi-msvc-toolset-selection into master Dec 15, 2021
  • Overview 11
  • Commits 1
  • Pipelines 3
  • Changes 1

Update CMAKE_VS_PLATFORM_TOOLSET matching rules for Intel compilers.

The logic added by !5579 (merged) matches a specific toolset known to be the icx.exe compiler, and assumes all other Intel C++ compilers (that are not DPC++) must be icl.exe.

Since icx.exe is officially replacing icl.exe, use a regex that matches the now-fixed set of toolsets known to use icl.exe. Any other Intel C++ compiler will be assumed to be icx.exe.

Backport: release
Topic-rename: vs-intel-oneapi-toolset

Edited Dec 15, 2021 by Brad King
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: oneapi-msvc-toolset-selection