[clang] [llvm] [DirectX] Promote to an official target (PR #214066)

Justin Bogner via cfe-commits cfe-commits at lists.llvm.org
Mon Aug 24 10:46:32 PDT 2026


================
@@ -527,9 +527,7 @@ option(CLANG_INCLUDE_TESTS
        "Generate build targets for the Clang unit tests."
        ${LLVM_INCLUDE_TESTS})
 
-option(CLANG_ENABLE_HLSL "Include HLSL build products" Off)
-# While HLSL support is experimental this should stay hidden.
-mark_as_advanced(CLANG_ENABLE_HLSL)
+option(CLANG_ENABLE_HLSL "Include HLSL build products" On)
----------------
bogner wrote:

Note that `clang-dxc` is just `clang --driver-mode=dxc`. The situation here is equivalent to calling clang with a triple for a target you haven't built. I guess we could technically avoid creating the symlink if there aren't any compatible targets, but I don't really think that would be worthwhile.

https://github.com/llvm/llvm-project/pull/214066


More information about the cfe-commits mailing list