Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add various recent LLVM versions #517

Merged
merged 8 commits into from
Jun 28, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cmake/configs/default.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ hunter_default_version(JsonSpirit VERSION 0.0.4-hunter)
hunter_default_version(KTX-Software VERSION 4.0.0-efc9f09-p0)
hunter_default_version(KhronosDataFormat VERSION 1.3.1-1f8c852-p3)
hunter_default_version(LAPACK VERSION 3.7.1)
hunter_default_version(LLVM VERSION 6.0.1-p0) # Clang
hunter_default_version(LLVM VERSION 13.0.1) # Clang
hunter_default_version(LLVMCompilerRT VERSION 6.0.1) # Clang
hunter_default_version(Lager VERSION 0.0.0-dbc1fde-p0)
hunter_default_version(Leathers VERSION 0.1.8)
Expand Down
49 changes: 49 additions & 0 deletions cmake/projects/LLVM/hunter.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,51 @@ include(hunter_configuration_types)
include(hunter_download)
include(hunter_pick_scheme)
include(hunter_report_broken_package)
include(hunter_source_subdir)

hunter_add_version(
PACKAGE_NAME
LLVM
VERSION
"13.0.1"
URL
"https://github.com/llvm/llvm-project/archive/llvmorg-13.0.1.tar.gz"
SHA1
FF95B6A8A507B334EE63C207FD6ADDDD794C19A3
)

hunter_add_version(
PACKAGE_NAME
LLVM
VERSION
"13.0.0"
URL
"https://github.com/llvm/llvm-project/archive/llvmorg-13.0.0.tar.gz"
SHA1
807949B6C957B1D93B707DB45CB6E7DFFC886FA1
)

hunter_add_version(
PACKAGE_NAME
LLVM
VERSION
"12.0.1"
URL
"https://github.com/llvm/llvm-project/archive/llvmorg-12.0.1.tar.gz"
SHA1
B608C40C5B946CE2D78C0EFA96754244FEBCF46B
)

hunter_add_version(
PACKAGE_NAME
LLVM
VERSION
"11.0.1"
URL
"https://github.com/llvm/llvm-project/archive/llvmorg-11.0.1.tar.gz"
SHA1
99290C28654EFE520247B7859ED45CF7BC895641
)

hunter_add_version(
PACKAGE_NAME
Expand Down Expand Up @@ -88,6 +133,10 @@ hunter_add_version(
c5287384d0b95ecb0fd7f024be2cdfb60cd94bc9
)

if(HUNTER_LLVM_VERSION VERSION_GREATER 6.0.1)
hunter_source_subdir(LLVM SOURCE_SUBDIR llvm)
endif()

hunter_cmake_args(
LLVM
CMAKE_ARGS
Expand Down