[DynInst_API:] [dyninst/dyninst] e4a174: Calculate platform from CMake-provided mechanisms


Date: Fri, 06 Jan 2023 10:34:47 -0800
From: Tim Haines <noreply@xxxxxxxxxx>
Subject: [DynInst_API:] [dyninst/dyninst] e4a174: Calculate platform from CMake-provided mechanisms
  Branch: refs/heads/cmake_modernization
  Home:   https://github.com/dyninst/dyninst
  Commit: e4a174413231c181798fce021799006ceb7c87c9
      https://github.com/dyninst/dyninst/commit/e4a174413231c181798fce021799006ceb7c87c9
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2023-01-06 (Fri, 06 Jan 2023)

  Changed paths:
    M cmake/DyninstPlatform.cmake
    R scripts/dynsysname
    R scripts/sysname

  Log Message:
  -----------
  Calculate platform from CMake-provided mechanisms

These are equivalent to the existing bash, but more adaptable.


  Commit: f0930af724c6eefc8dfb8bab9c56d7bd4316e9b8
      https://github.com/dyninst/dyninst/commit/f0930af724c6eefc8dfb8bab9c56d7bd4316e9b8
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2023-01-06 (Fri, 06 Jan 2023)

  Changed paths:
    M cmake/DyninstPlatform.cmake

  Log Message:
  -----------
  Map stringy names into CMake variables


  Commit: 26075045ebef6f2592037fd05b5ab43532bff3c5
      https://github.com/dyninst/dyninst/commit/26075045ebef6f2592037fd05b5ab43532bff3c5
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2023-01-06 (Fri, 06 Jan 2023)

  Changed paths:
    M CMakeLists.txt
    M cmake/DyninstCapArchDef.cmake
    M cmake/DyninstLibrary.cmake
    M common/CMakeLists.txt
    M dyninstAPI/CMakeLists.txt
    M dyninstAPI_RT/CMakeLists.txt
    M stackwalk/CMakeLists.txt
    M symtabAPI/CMakeLists.txt

  Log Message:
  -----------
  Replace Windows platform check with DYNINST_OS_Windows


  Commit: 27861389b581814953ad0d339e26e051f53f4c1d
      https://github.com/dyninst/dyninst/commit/27861389b581814953ad0d339e26e051f53f4c1d
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2023-01-06 (Fri, 06 Jan 2023)

  Changed paths:
    M cmake/DyninstCapArchDef.cmake
    M common/CMakeLists.txt
    M dyninstAPI/CMakeLists.txt
    M dyninstAPI_RT/CMakeLists.txt
    M proccontrol/CMakeLists.txt
    M stackwalk/CMakeLists.txt
    M symtabAPI/CMakeLists.txt

  Log Message:
  -----------
  Replace Linux platform check with DYNINST_OS_Linux


  Commit: 63be47cf8db9d2d84a737862d259f86a01d50650
      https://github.com/dyninst/dyninst/commit/63be47cf8db9d2d84a737862d259f86a01d50650
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2023-01-06 (Fri, 06 Jan 2023)

  Changed paths:
    M cmake/DyninstCapArchDef.cmake
    M common/CMakeLists.txt
    M dyninstAPI/CMakeLists.txt
    M dyninstAPI_RT/CMakeLists.txt
    M proccontrol/CMakeLists.txt
    M stackwalk/CMakeLists.txt
    M symtabAPI/CMakeLists.txt

  Log Message:
  -----------
  Replace FreeBSD platform check with DYNINST_OS_FreeBSD


  Commit: d7a6d040165a0cdf79b7fa8b4ac77bb78f6b0d00
      https://github.com/dyninst/dyninst/commit/d7a6d040165a0cdf79b7fa8b4ac77bb78f6b0d00
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2023-01-06 (Fri, 06 Jan 2023)

  Changed paths:
    M cmake/DyninstCapArchDef.cmake
    M dyninstAPI/CMakeLists.txt
    M dyninstAPI_RT/CMakeLists.txt
    M stackwalk/CMakeLists.txt
    M symtabAPI/CMakeLists.txt

  Log Message:
  -----------
  Replace x86 platform check with DYNINST_OS_x86_64


  Commit: 80b76a528af0a2c5d57b2ea0ff47573ae59ed282
      https://github.com/dyninst/dyninst/commit/80b76a528af0a2c5d57b2ea0ff47573ae59ed282
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2023-01-06 (Fri, 06 Jan 2023)

  Changed paths:
    M cmake/DyninstCapArchDef.cmake
    M dyninstAPI/CMakeLists.txt
    M dyninstAPI_RT/CMakeLists.txt
    M stackwalk/CMakeLists.txt
    M symtabAPI/CMakeLists.txt

  Log Message:
  -----------
  Replace ppc platform check with DYNINST_ARCH_ppc64le


  Commit: d14daf79b6d9dc590b7413a3ab2f6e6adfccad05
      https://github.com/dyninst/dyninst/commit/d14daf79b6d9dc590b7413a3ab2f6e6adfccad05
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2023-01-06 (Fri, 06 Jan 2023)

  Changed paths:
    M cmake/DyninstCapArchDef.cmake
    M dyninstAPI/CMakeLists.txt
    M dyninstAPI_RT/CMakeLists.txt
    M stackwalk/CMakeLists.txt
    M symtabAPI/CMakeLists.txt

  Log Message:
  -----------
  Replace aarch64 platform check with DYNINST_ARCH_aarch64


  Commit: 55f0da805431dce15068e2dc8ee084c31e568232
      https://github.com/dyninst/dyninst/commit/55f0da805431dce15068e2dc8ee084c31e568232
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2023-01-06 (Fri, 06 Jan 2023)

  Changed paths:
    M cmake/DyninstCapArchDef.cmake

  Log Message:
  -----------
  Replace mangled platform checks with explicit DYNINST_{OS,ARCH}


  Commit: 9692e6827c8b0321d4a8f2c5a809cad58ffedfac
      https://github.com/dyninst/dyninst/commit/9692e6827c8b0321d4a8f2c5a809cad58ffedfac
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2023-01-06 (Fri, 06 Jan 2023)

  Changed paths:
    M cmake/DyninstConfig.cmake.in
    M cmake/DyninstPlatform.cmake

  Log Message:
  -----------
  Rename PLATFORM to DYNINST_PLATFORM and export it as legacy

This is only used in the test suite.


  Commit: 82c83f00da927ae94adfd0a6c4ddbb7eca1828d1
      https://github.com/dyninst/dyninst/commit/82c83f00da927ae94adfd0a6c4ddbb7eca1828d1
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2023-01-06 (Fri, 06 Jan 2023)

  Changed paths:
    M cmake/DyninstCapArchDef.cmake

  Log Message:
  -----------
  Don't pass -m64 explicitly on ppc64le

We only support 64-bit ppc, so this is redundant and non-portable.


  Commit: abd7b04bd746235b5cd1e4df3c4f0d6e50f1c5f4
      https://github.com/dyninst/dyninst/commit/abd7b04bd746235b5cd1e4df3c4f0d6e50f1c5f4
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2023-01-06 (Fri, 06 Jan 2023)

  Changed paths:
    M cmake/DyninstCapArchDef.cmake

  Log Message:
  -----------
  Remove commented-out define for aarch64


  Commit: 4d13a86ed078f032997c077f0eab9cde5dd01cdb
      https://github.com/dyninst/dyninst/commit/4d13a86ed078f032997c077f0eab9cde5dd01cdb
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2023-01-06 (Fri, 06 Jan 2023)

  Changed paths:
    M cmake/DyninstCapArchDef.cmake

  Log Message:
  -----------
  Simplify CapArchDef

With the new variables, only one pass over the OS names is needed.


  Commit: 35673fdca77b0cb8d3d44ffeb76bb30b51196a5e
      https://github.com/dyninst/dyninst/commit/35673fdca77b0cb8d3d44ffeb76bb30b51196a5e
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2023-01-06 (Fri, 06 Jan 2023)

  Changed paths:
    M cmake/DyninstPlatform.cmake

  Log Message:
  -----------
  Allow FreeBSD to build on i386

I previously thought it was only allowed on x86_64, but there is an old platform called i386-unknown-freebsd7.2.


  Commit: bf5f66b5766258b656c4e86d5e82bacb03bcbfc5
      https://github.com/dyninst/dyninst/commit/bf5f66b5766258b656c4e86d5e82bacb03bcbfc5
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2023-01-06 (Fri, 06 Jan 2023)

  Changed paths:
    M cmake/DyninstPlatform.cmake

  Log Message:
  -----------
  Whitespace


  Commit: 962bb05e6188a4122162e8eb011f638c8e23ee5e
      https://github.com/dyninst/dyninst/commit/962bb05e6188a4122162e8eb011f638c8e23ee5e
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2023-01-06 (Fri, 06 Jan 2023)

  Changed paths:
    M cmake/DyninstPlatform.cmake

  Log Message:
  -----------
  Add Windows to DYNINST_PLATFORM


  Commit: 88377752008d403dde8f1ebb5849ab482c27af5b
      https://github.com/dyninst/dyninst/commit/88377752008d403dde8f1ebb5849ab482c27af5b
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2023-01-06 (Fri, 06 Jan 2023)

  Changed paths:
    M common/CMakeLists.txt
    M dynC_API/CMakeLists.txt
    M parseAPI/CMakeLists.txt
    M proccontrol/CMakeLists.txt
    M symtabAPI/CMakeLists.txt

  Log Message:
  -----------
  Replace usage of WIN32 with DYNINST_OS_Windows


  Commit: 585582e1754c88ceb1fe5321861e51e5b7c8018d
      https://github.com/dyninst/dyninst/commit/585582e1754c88ceb1fe5321861e51e5b7c8018d
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2023-01-06 (Fri, 06 Jan 2023)

  Changed paths:
    M cmake/DyninstPlatform.cmake
    M dwarf/CMakeLists.txt
    M dyninstAPI/CMakeLists.txt
    M dyninstAPI_RT/CMakeLists.txt
    M elf/CMakeLists.txt
    M proccontrol/CMakeLists.txt
    M stackwalk/CMakeLists.txt
    M symlite/CMakeLists.txt
    M symtabAPI/CMakeLists.txt

  Log Message:
  -----------
  Replace usage of UNIX with DYNINST_OS_UNIX


  Commit: e67f15c9a1ebb502a5ccdd073904a0a03dcc4039
      https://github.com/dyninst/dyninst/commit/e67f15c9a1ebb502a5ccdd073904a0a03dcc4039
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2023-01-06 (Fri, 06 Jan 2023)

  Changed paths:
    M stackwalk/CMakeLists.txt
    M symtabAPI/CMakeLists.txt

  Log Message:
  -----------
  Merge Linux+FreeBSD checks into UNIX check


  Commit: 9c43a74554972c6183ff54f8120ac3ca68cbfa7c
      https://github.com/dyninst/dyninst/commit/9c43a74554972c6183ff54f8120ac3ca68cbfa7c
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2023-01-06 (Fri, 06 Jan 2023)

  Changed paths:
    M symtabAPI/CMakeLists.txt

  Log Message:
  -----------
  symtabAPI - replace i386 check


Compare: https://github.com/dyninst/dyninst/compare/41d3a95b6e49...9c43a7455497
[← Prev in Thread] Current Thread [Next in Thread→]
  • [DynInst_API:] [dyninst/dyninst] e4a174: Calculate platform from CMake-provided mechanisms, Tim Haines <=