[all-commits] [llvm/llvm-project] 56e8e0: [cmake] Include GNUInstallDirs before using variab...

Michał Górny via All-commits all-commits at lists.llvm.org
Tue Jan 14 01:40:19 PST 2025


  Branch: refs/heads/release/19.x
  Home:   https://github.com/llvm/llvm-project
  Commit: 56e8e0447d6a89c70d024e40f17a57ba454364dc
      https://github.com/llvm/llvm-project/commit/56e8e0447d6a89c70d024e40f17a57ba454364dc
  Author: Vassil Vassilev <v.g.vassilev at gmail.com>
  Date:   2025-01-14 (Tue, 14 Jan 2025)

  Changed paths:
    M llvm/cmake/modules/Findzstd.cmake

  Log Message:
  -----------
  [cmake] Include GNUInstallDirs before using variables defined by it. (#83807)

This fixes an odd problem with the regex when `CMAKE_INSTALL_LIBDIR` is
not defined:

`string sub-command REGEX, mode REPLACE: regex "$" matched an empty
string.`

Fixes llvm/llvm-project#83802

(cherry picked from commit 5bbd5984306ab0bdd89a2e81cd4965e5ae51c3fb)


  Commit: 37aaa06c44451233c1bae40c71738032f9b16bdc
      https://github.com/llvm/llvm-project/commit/37aaa06c44451233c1bae40c71738032f9b16bdc
  Author: Michał Górny <mgorny at gentoo.org>
  Date:   2025-01-14 (Tue, 14 Jan 2025)

  Changed paths:
    M llvm/cmake/modules/Findzstd.cmake

  Log Message:
  -----------
  [cmake] Extend zstd.dll finding logic from MSVC to Clang (#121437)

Extend the special logic for finding `zstd.dll` in `Findzstd` to apply
to all MSVC-compatible configurations such as Clang targeting MSVC.

Fixes #121345

(cherry picked from commit 62d0aff3eb934439acac47348e2385f0751a1444)


Compare: https://github.com/llvm/llvm-project/compare/3bf9b25b1627...37aaa06c4445

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