Skip to content
Snippets Groups Projects

Intel: Add support for Intel LLVM-based compilers

Merged William R. Dieter requested to merge williamr/cmake:intel-llvm3 into master

Here is a first pass at support for the Intel LLVM-based compilers in oneAPI. It seems to work for Fortran, C, and C++ (ifx, icx, and icpx) on Linux. More testing is needed for Windows and DPC++. I did the testing before rebasing on the latest master. I see that some other changes have gone in regarding the new LLVM-based compilers for Visual Studio.

I am making the merge request while continuing to test hoping to get feedback on whether this approach looks reasonable.

The last two commits in the sequence were trying to fix some test failures due to paths with symbolic links not matching. They could probably be excluded.

Cc: @Harini
Issue: #21560, #21561 (closed)
Topic-rename: intel-llvm-compilers

Edited by Brad King

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • In a couple places you have updated if( <> MATCHES "Intel") to handle "IntelLLVM". I don't think this change is needed as the original MATCHES should capture both

  • added 4 commits

    • af79930f - Remove incomplete support for DPCPP as a language
    • a8972c43 - Remove changes that associate ISPC with IntelLLVM
    • 3990bd9e - Avoid macro name clash between Intel and IntelLLVM compilers
    • 1983bc57 - When regex matching, only explicitly match "LLVM" when required

    Compare with previous version

  • added 1 commit

    • 1356066c - Fix C/C++ version number computation for IntelLLVM compilers

    Compare with previous version

  • added 4 commits

    • ff22e4fb - Update IDs for Intel LLVM-based compilers
    • bca5d42b - Remove warnings in Fortran test with return type on function declarations
    • 0c8f293b - Canonicalize paths when comparing them
    • d8f1010f - Make GCOV test more robust to symbolic links in paths

    Compare with previous version

  • Brad King
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Please register or sign in to reply
    Loading