[all-commits] [llvm/llvm-project] 235306: [cmake] Add minor version to library SONAME (#79376)

Tom Stellard via All-commits all-commits at lists.llvm.org
Tue Feb 20 21:15:48 PST 2024


  Branch: refs/heads/release/18.x
  Home:   https://github.com/llvm/llvm-project
  Commit: 235306ba1f89eb1b9f9724edec5eacb295f8198f
      https://github.com/llvm/llvm-project/commit/235306ba1f89eb1b9f9724edec5eacb295f8198f
  Author: Tom Stellard <tstellar at redhat.com>
  Date:   2024-02-20 (Tue, 20 Feb 2024)

  Changed paths:
    M llvm/CMakeLists.txt
    M llvm/cmake/modules/AddLLVM.cmake
    M llvm/tools/llvm-shlib/CMakeLists.txt

  Log Message:
  -----------
  [cmake] Add minor version to library SONAME (#79376)

We need to do this now that we are bumping the minor release number when
we create the release branch.

This also results in a slight change to the library names for LLVM. The
main library now has a more convential library name:
'libLLVM.so.$major.$minor'. The old library name: libLLVM-$major.so is
now a symlink that points to the new library. However, the symlink is
not present in the build directory. It is only present in the install
directory.

The library name was changed because it helped to keep the CMake changes
more simple.

Fixes #76273

(cherry picked from commit 91a384621e5b762d9c173ffd247cfeadd5f436a2)


  Commit: 6c90f8dd546334b01c9a86387950e8c72d459f1e
      https://github.com/llvm/llvm-project/commit/6c90f8dd546334b01c9a86387950e8c72d459f1e
  Author: Tom Stellard <tstellar at redhat.com>
  Date:   2024-02-20 (Tue, 20 Feb 2024)

  Changed paths:
    M llvm/test/lit.cfg.py
    M llvm/test/lit.site.cfg.py.in

  Log Message:
  -----------
  Fix llvm-x86_64-debian-dylib buildbot

This was broken by 91a384621e5b762d9c173ffd247cfeadd5f436a2.

(cherry picked from commit ff4d6c64ee4269e4a9b67a4dae7e0b82ae1c3419)


Compare: https://github.com/llvm/llvm-project/compare/d84c1e947472...6c90f8dd5463

To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list