[all-commits] [llvm/llvm-project] 1c58a6: [orc-rt] Add ORC_ENABLE_OSX to control whether to ...

Ben Langmuir via All-commits all-commits at lists.llvm.org
Thu Dec 14 15:28:59 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1c58a6b8b457dfbab53edd1058a0ca97ff2621be
      https://github.com/llvm/llvm-project/commit/1c58a6b8b457dfbab53edd1058a0ca97ff2621be
  Author: Ben Langmuir <blangmuir at apple.com>
  Date:   2023-12-14 (Thu, 14 Dec 2023)

  Changed paths:
    M compiler-rt/cmake/config-ix.cmake
    M compiler-rt/lib/orc/tests/CMakeLists.txt

  Log Message:
  -----------
  [orc-rt] Add ORC_ENABLE_OSX to control whether to build the orc runtime (#75536)

Embedded Darwin platforms have generalized COMPILER_RT_ENABLE_<PLATFORM>
configuration settings, but currently 'osx' is always eabled on Darwin.
Add ORC_ENABLE_OSX to allow explicitly *disabling* the orc runtime for
macOS platform. This can be useful if you only want to build a specific
embedded platform. It would be nice to generalize this to handle other
compiler-rt projects (i.e. add COMPILER_RT_ENABLE_OSX), but would
require additional attention from each compiler-rt project.

Note: some tests currently only are configured for osx, so these are
disabled when osx is disabled.




More information about the All-commits mailing list