mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-09-25 04:09:36 +03:00
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:
@@ -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``.
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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 ...
|
||||
|
||||
Reference in New Issue
Block a user