This is an archive of the discontinued LLVM Phabricator instance.

[CMake] Add `CLANG_ENABLE_HLSL` CMake option
ClosedPublic

Authored by beanz on Sep 26 2022, 7:47 PM.

Details

Summary

The HLSL support in clang is in proress 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.

Diff Detail

Event Timeline

beanz created this revision.Sep 26 2022, 7:47 PM
Herald added a project: Restricted Project. · View Herald TranscriptSep 26 2022, 7:47 PM
Herald added a subscriber: Anastasia. · View Herald Transcript
beanz requested review of this revision.Sep 26 2022, 7:47 PM
Herald added a project: Restricted Project. · View Herald TranscriptSep 26 2022, 7:47 PM
phosek accepted this revision.Sep 26 2022, 11:33 PM

LGTM (there's a typo in your summary in case you use it for the commit message: "proress" instead of "progress").

This revision is now accepted and ready to land.Sep 26 2022, 11:33 PM
This revision was automatically updated to reflect the committed changes.