[llvm] a32e36f - Update cloning of the DirectXShaderCompiler repo to not include DXC tests (#122178)

via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 16 10:27:59 PST 2025


Author: Brian Favela
Date: 2025-01-16T12:27:54-06:00
New Revision: a32e36faf84bd7da3df0c7d50bb9020568128417

URL: https://github.com/llvm/llvm-project/commit/a32e36faf84bd7da3df0c7d50bb9020568128417
DIFF: https://github.com/llvm/llvm-project/commit/a32e36faf84bd7da3df0c7d50bb9020568128417.diff

LOG: Update cloning of the DirectXShaderCompiler repo to not include DXC tests (#122178)

This prevents any unnecessary dependency on TAEF when building as it's
not used for dxil-dis testing

Added: 
    

Modified: 
    llvm/tools/dxil-dis/CMakeLists.txt

Removed: 
    


################################################################################
diff  --git a/llvm/tools/dxil-dis/CMakeLists.txt b/llvm/tools/dxil-dis/CMakeLists.txt
index d0541fcf802e98..1e775301064204 100644
--- a/llvm/tools/dxil-dis/CMakeLists.txt
+++ b/llvm/tools/dxil-dis/CMakeLists.txt
@@ -38,7 +38,7 @@ ExternalProject_Add(DXC
                     ${GIT_SETTINGS}
                     SOURCE_DIR ${SOURCE_DIR}
                     BINARY_DIR ${BINARY_DIR}
-                    CMAKE_ARGS -C ${SOURCE_DIR}/cmake/caches/PredefinedParams.cmake -DLLVM_INCLUDE_TESTS=On
+                    CMAKE_ARGS -C ${SOURCE_DIR}/cmake/caches/PredefinedParams.cmake -DLLVM_INCLUDE_TESTS=Off -DCLANG_INCLUDE_TESTS=Off -DHLSL_INCLUDE_TESTS=Off
                     BUILD_COMMAND ${CMAKE_COMMAND} --build ${BINARY_DIR} --target llvm-dis
                     BUILD_BYPRODUCTS ${BINARY_DIR}/bin/llvm-dis
                     INSTALL_COMMAND ""


        


More information about the llvm-commits mailing list