This repository was archived by the owner on Sep 12, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 6 files changed +591
-4
lines changed Expand file tree Collapse file tree 6 files changed +591
-4
lines changed Original file line number Diff line number Diff line change @@ -36,6 +36,17 @@ endif()
3636# on top of the Clang tooling platform. We keep them in a separate repository
3737# to keep the primary Clang repository small and focused.
3838# It also may be included by LLVM_EXTERNAL_CLANG_TOOLS_EXTRA_SOURCE_DIR.
39+ if (HUNTER_ENABLED)
40+ hunter_add_package(ClangToolsExtra) # CLANGTOOLSEXTRA_ROOT
41+ set (
42+ LLVM_EXTERNAL_CLANG_TOOLS_EXTRA_SOURCE_DIR
43+ "${CLANGTOOLSEXTRA_ROOT} "
44+ CACHE
45+ PATH
46+ "Path to Clang tools extra"
47+ FORCE
48+ )
49+ endif ()
3950add_llvm_external_project(clang-tools-extra extra)
4051
4152# libclang may require clang-tidy in clang-tools-extra.
Original file line number Diff line number Diff line change @@ -36,6 +36,11 @@ if(NOT DEFINED LLVM_VERSION_SUFFIX)
3636 set (LLVM_VERSION_SUFFIX "" )
3737endif ()
3838
39+ HunterGate(
40+ URL "https://github.com/DEEP-IMPACT-AG/hunter/archive/refs/tags/v0.23.295.t13.tar.gz"
41+ SHA1 "24f17851d23077e55291807553267815cc3a0d74"
42+ )
43+
3944if (NOT PACKAGE_VERSION )
4045 set (PACKAGE_VERSION
4146 "${LLVM_VERSION_MAJOR} .${LLVM_VERSION_MINOR} .${LLVM_VERSION_PATCH}${LLVM_VERSION_SUFFIX} " )
@@ -67,6 +72,8 @@ if (NOT CMAKE_BUILD_TYPE AND NOT CMAKE_CONFIGURATION_TYPES)
6772 set (CMAKE_BUILD_TYPE "Debug" CACHE STRING "Build type (default Debug)" FORCE)
6873endif ()
6974
75+
76+
7077# Side-by-side subprojects layout: automatically set the
7178# LLVM_EXTERNAL_${project}_SOURCE_DIR using LLVM_ALL_PROJECTS
7279# This allows an easy way of setting up a build directory for llvm and another
You can’t perform that action at this time.
0 commit comments