diff --git a/interpreter/llvm-project/llvm-project.tag b/interpreter/llvm-project/llvm-project.tag index 79540edf8d75c..93088e79b86c8 100644 --- a/interpreter/llvm-project/llvm-project.tag +++ b/interpreter/llvm-project/llvm-project.tag @@ -1 +1 @@ -ROOT-llvm18-20250110-01 +ROOT-llvm18-20250113-01 diff --git a/interpreter/llvm-project/llvm/CMakeLists.txt b/interpreter/llvm-project/llvm/CMakeLists.txt index b49f594908a8f..909a965cd86c8 100644 --- a/interpreter/llvm-project/llvm/CMakeLists.txt +++ b/interpreter/llvm-project/llvm/CMakeLists.txt @@ -1197,7 +1197,7 @@ if( LLVM_INCLUDE_UTILS ) add_subdirectory(utils/UnicodeData) add_subdirectory(utils/yaml-bench) add_subdirectory(utils/split-file) - # add_subdirectory(utils/mlgo-utils) + add_subdirectory(utils/mlgo-utils) if( LLVM_INCLUDE_TESTS ) add_subdirectory(${LLVM_THIRD_PARTY_DIR}/unittest ${CMAKE_CURRENT_BINARY_DIR}/third-party/unittest) endif() diff --git a/interpreter/llvm-project/llvm/utils/mlgo-utils/CMakeLists.txt b/interpreter/llvm-project/llvm/utils/mlgo-utils/CMakeLists.txt index 3129331d58c75..18f0c15410ba2 100644 --- a/interpreter/llvm-project/llvm/utils/mlgo-utils/CMakeLists.txt +++ b/interpreter/llvm-project/llvm/utils/mlgo-utils/CMakeLists.txt @@ -1,11 +1,13 @@ -configure_lit_site_cfg( - "${CMAKE_CURRENT_SOURCE_DIR}/tests/lit.site.cfg.in" - "${CMAKE_CURRENT_BINARY_DIR}/lit.site.cfg" -) +if(LLVM_INCLUDE_TESTS) + configure_lit_site_cfg( + "${CMAKE_CURRENT_SOURCE_DIR}/tests/lit.site.cfg.in" + "${CMAKE_CURRENT_BINARY_DIR}/lit.site.cfg" + ) -add_lit_testsuite(check-mlgo-utils "Running mlgo-utils tests" - ${CMAKE_CURRENT_BINARY_DIR} - DEPENDS "FileCheck" "not" "count" "split-file" "yaml2obj" "llvm-objcopy" -) + add_lit_testsuite(check-mlgo-utils "Running mlgo-utils tests" + ${CMAKE_CURRENT_BINARY_DIR} + DEPENDS "FileCheck" "not" "count" "split-file" "yaml2obj" "llvm-objcopy" + ) -set_target_properties(check-mlgo-utils PROPERTIES FOLDER "Tests") + set_target_properties(check-mlgo-utils PROPERTIES FOLDER "Tests") +endif()