Skip to content

Commit 99ec42f

Browse files
committed
Opt AIX out of the change and update release notes to match
1 parent bab774e commit 99ec42f

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

clang/docs/ReleaseNotes.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -179,11 +179,11 @@ Non-comprehensive list of changes in this release
179179
Currently, the use of ``__builtin_dedup_pack`` is limited to template arguments and base
180180
specifiers, it also must be used within a template context.
181181

182-
- On non-Windows platforms, Clang now builds as a large shared library,
183-
``libclang-cpp``, by default. To revert to the old behavior of producing and
184-
linking static libraries, pass ``-DCLANG_LINK_CLANG_DYLIB=OFF`` to CMake when
185-
configuring your build. The new behavior matches LLVM, which also builds as a
186-
large shared library.
182+
- On all platforms excluding Windows and AIX, Clang now builds as a large shared
183+
library, ``libclang-cpp``, by default. To revert to the old behavior of
184+
producing and linking static libraries, pass ``-DCLANG_LINK_CLANG_DYLIB=OFF``
185+
to CMake when configuring your build. The new behavior matches LLVM, which
186+
also builds as a large shared library.
187187

188188
New Compiler Flags
189189
------------------

llvm/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -934,7 +934,7 @@ endif()
934934

935935
# Link the tools against the libllvm DSO by default.
936936
set(LLVM_LINK_LLVM_DYLIB_default ON)
937-
if (BUILD_SHARED_LIBS OR WIN32)
937+
if (BUILD_SHARED_LIBS OR WIN32 OR CMAKE_SYSTEM_NAME MATCHES "AIX")
938938
set(LLVM_LINK_LLVM_DYLIB_default OFF)
939939
endif()
940940

llvm/docs/ReleaseNotes.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -69,10 +69,10 @@ Changes to LLVM infrastructure
6969
Changes to building LLVM
7070
------------------------
7171

72-
* On non-Windows platforms, LLVM now builds as a large shared library, `libLLVM`,
73-
by default. To revert to the old behavior of producing and linking static
74-
libraries, pass ``-DLLVM_LINK_LLVM_DYLIB=OFF`` to CMake when configuring your
75-
build.
72+
* On all platforms excluding Windows and AIX, LLVM now builds as a large shared
73+
library, `libLLVM`, by default. To revert to the old behavior of producing and
74+
linking static libraries, pass ``-DLLVM_LINK_LLVM_DYLIB=OFF`` to CMake when
75+
configuring your build.
7676

7777
Changes to TableGen
7878
-------------------

0 commit comments

Comments
 (0)