[all-commits] [llvm/llvm-project] e43210: [CMake] Add `CLANG_ENABLE_HLSL` CMake option

Chris B via All-commits all-commits at lists.llvm.org
Tue Sep 27 10:33:42 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e432108bf25456f428a3956fd79d29ea7fc196ac
      https://github.com/llvm/llvm-project/commit/e432108bf25456f428a3956fd79d29ea7fc196ac
  Author: Chris Bieneman <chris.bieneman at me.com>
  Date:   2022-09-27 (Tue, 27 Sep 2022)

  Changed paths:
    M clang/CMakeLists.txt
    M clang/cmake/caches/HLSL.cmake
    M clang/lib/Headers/CMakeLists.txt
    M clang/tools/driver/CMakeLists.txt

  Log Message:
  -----------
  [CMake] Add `CLANG_ENABLE_HLSL` CMake option

The HLSL support in clang is in progress and not fully functioning. As
such we don't want to install the related optional build components by
default (yet), but we do need an option to build and install them
locally for testing and for some key users.

This adds the `CLANG_ENABLE_HLSL` option which is off by default and can
be enabled to install the HLSL clang headers and the clang-dxc symlink.

Reviewed By: phosek

Differential Revision: https://reviews.llvm.org/D134693




More information about the All-commits mailing list