Skip to content

Commit

Permalink
Treat Intel LLVM compiler as standard Intel compiler (dftd4#252) (dft…
Browse files Browse the repository at this point in the history
…d4#253)

* Treat Intel LLVM compiler as standard Intel compiler (dftd4#252)

These changes ensure that the Intel LLVM compiler is treated the same as the standard Intel compiler during the meson build process.
  • Loading branch information
hongyi-zhao authored Aug 8, 2024
1 parent 97b23b4 commit 047977c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions config/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ if has_cc
endif
fc_id = fc.get_id()

# Treat Intel LLVM compiler as standard Intel compiler for compatibility
if fc_id == 'intel-llvm'
fc_id = 'intel'
endif
if fc_id == 'gcc'
add_project_arguments(
'-ffree-line-length-none',
Expand Down

0 comments on commit 047977c

Please sign in to comment.