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,168
    • Issues 4,168
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 18
    • Merge requests 18
  • 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
  • !8041

IntelLLVM: Avoid finding not-yet-supported icpx on Windows

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged scivision requested to merge scivision/cmake:oneapi-win into master Dec 22, 2022
  • Overview 8
  • Commits 3
  • Pipelines 4
  • Changes 2

Intel oneAPI 2023.0 added the icpx compiler front-end on Windows. It uses a GNU-like command-line, and is not yet supported by CMake. Avoid finding icpx as the CXX compiler on Windows until support is added.

Original Description

This works around #24266 (closed) by first looking for icx on Windows before icpx. This allows if someday oneAPI Windows decides to only have icpx. This also retains current MSVC-like driver default for those user projects relying on this default.

A long-term preference by me would be for CMake to also support icpx on Windows (perhaps !8032 (closed)), but this maintaining of icx driver default on Windows is also important.

The second commit documents which compiler drivers are supported.

Fixes: #24266 (closed)
Issue: #24314
Backport: release
Topic-rename: IntelLLVM-no-icpx-on-Windows

Edited Jan 12, 2023 by Brad King
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: oneapi-win