Skip to content

Commit 5f18e2b

Browse files
authored
Add HctGen of DXIL.rst back to build without LLVM_BUILD_DOCS required (microsoft#7346)
HctGen of DXIL.rst should happen on every ordinary build, and be updated with other HctGen modified files. This isn't about building the doc, it's about updating it when definitions change in hctdb.py. We've been missing updates to DXIL.rst for quite a while due to this issue, introduced [here](https://github.com/microsoft/DirectXShaderCompiler/pull/6715/files#diff-1e7de1ae2d059d21e1dd75d5812d5a34b0222cef273b7c3a2af62eb747f9d20aR768-R770). This also brings DXIL.rst up to date.
1 parent ea3d846 commit 5f18e2b

File tree

2 files changed

+380
-322
lines changed

2 files changed

+380
-322
lines changed

CMakeLists.txt

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -762,9 +762,7 @@ if (LLVM_INCLUDE_DOCS)
762762
add_subdirectory(docs)
763763
endif()
764764

765-
if (LLVM_BUILD_DOCS)
766-
add_hlsl_hctgen(DxilDocs OUTPUT docs/DXIL.rst CODE_TAG) # HLSL Change
767-
endif()
765+
add_hlsl_hctgen(DxilDocs OUTPUT docs/DXIL.rst CODE_TAG) # HLSL Change
768766

769767
add_subdirectory(cmake/modules)
770768

0 commit comments

Comments
 (0)