IBMFlang: Rename compiler id from IBMLLVMFlang

Rename the compiler id from commit ee76398d23 (IBMLLVMFlang: Add support
for this compiler, 2026-05-25) to mention only the direct vendor, IBM.

Issue: #27863
This commit is contained in:
Brad King
2026-06-09 08:14:23 -04:00
parent 604c33b782
commit 4969297469
4 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -99,7 +99,7 @@ Compilers
See :manual:`cmake-cxxmodules(7)`.
* The ``ibm-flang`` compiler is now supported with
:variable:`compiler id <CMAKE_<LANG>_COMPILER_ID>` ``IBMLLVMFlang``.
:variable:`compiler id <CMAKE_<LANG>_COMPILER_ID>` ``IBMFlang``.
* The `Pelles C`_ toolchain is now supported with
:variable:`compiler id <CMAKE_<LANG>_COMPILER_ID>` ``PellesC``.
+1 -1
View File
@@ -54,7 +54,7 @@ Value Name
``XL``, ``VisualAge``, ``zOS`` IBM XL
``XLClang`` IBM Clang-based XL
``IBMClang`` IBM LLVM-based Compiler
``IBMLLVMFlang`` IBM LLVM/Flang-based Fortran Compiler
``IBMFlang`` IBM LLVM/Flang-based Fortran Compiler
=============================== ===============================================
This variable is not guaranteed to be defined for all compilers or
+1 -1
View File
@@ -249,7 +249,7 @@ function(CMAKE_DETERMINE_COMPILER_ID lang flagvar src)
endif()
# The IBM LLVM Flang compiler version is extracted from --version output
if(CMAKE_${lang}_COMPILER_ID STREQUAL "IBMLLVMFlang")
if(CMAKE_${lang}_COMPILER_ID STREQUAL "IBMFlang")
execute_process(
COMMAND "${CMAKE_${lang}_COMPILER}" --version
OUTPUT_VARIABLE output
+3 -3
View File
@@ -134,9 +134,9 @@ if(NOT CMAKE_Fortran_COMPILER_ID_RUN)
list(APPEND CMAKE_Fortran_COMPILER_ID_VENDORS NAG) # Numerical Algorithms Group
set(CMAKE_Fortran_COMPILER_ID_VENDOR_FLAGS_NAG "-V")
set(CMAKE_Fortran_COMPILER_ID_VENDOR_REGEX_NAG "NAG Fortran Compiler")
list(APPEND CMAKE_Fortran_COMPILER_ID_VENDORS IBMLLVMFlang)
set(CMAKE_Fortran_COMPILER_ID_VENDOR_FLAGS_IBMLLVMFlang "--version")
set(CMAKE_Fortran_COMPILER_ID_VENDOR_REGEX_IBMLLVMFlang "IBM Open XL Fortran")
list(APPEND CMAKE_Fortran_COMPILER_ID_VENDORS IBMFlang)
set(CMAKE_Fortran_COMPILER_ID_VENDOR_FLAGS_IBMFlang "--version")
set(CMAKE_Fortran_COMPILER_ID_VENDOR_REGEX_IBMFlang "IBM Open XL Fortran")
# Match the link line from xcodebuild output of the form
# Ld ...