[DynInst_API:] [dyninst/dyninst] e70b10: improve cmake install dirs (#1721)


Date: Tue, 09 Apr 2024 08:21:40 -0700
From: kupsch <noreply@xxxxxxxxxx>
Subject: [DynInst_API:] [dyninst/dyninst] e70b10: improve cmake install dirs (#1721)
  Branch: refs/heads/master
  Home:   https://github.com/dyninst/dyninst
  Commit: e70b1001eb5082bb0204b602e3ca1cfccd67fc94
      https://github.com/dyninst/dyninst/commit/e70b1001eb5082bb0204b602e3ca1cfccd67fc94
  Author: kupsch <kupsch@xxxxxxxxxxx>
  Date:   2024-04-09 (Tue, 09 Apr 2024)

  Changed paths:
    M .github/workflows/consumers.yaml
    M .github/workflows/pr-tests.yaml
    M .github/workflows/system-libs.yaml
    M .github/workflows/unit-tests.yaml
    M cmake/DyninstLibrarySettings.cmake
    M parseThat/CMakeLists.txt

  Log Message:
  -----------
  improve cmake install dirs (#1721)

* Use cmake's GNUInstallDirs to get the lib, bin and include directory
  names instead of always using 'lib', 'bin', and 'include'.  This 
  results in two changes to the installation:

  - lib directory becomes 'lib64' on platforms where this is the
    convention

  - the lib, bin and include may be overwritten using the cmake 
    variables CMAKE_INSTALL_BINDIR, CMAKE_INSTALL_LIBDIR and
    CMAKE_INSTALL_INCLUDEDIR respectively

* Update github workflows to handle the lib install dir lib64:

  - use Dyninst_ROOT instead of Dyninst_DIR as it searches for the
    directory used

  - for non-cmake uses search for lib* to find either lib or lib64



To unsubscribe from these emails, change your notification settings at https://github.com/dyninst/dyninst/settings/notifications
[← Prev in Thread] Current Thread [Next in Thread→]
  • [DynInst_API:] [dyninst/dyninst] e70b10: improve cmake install dirs (#1721), kupsch <=