Skip to content

Commit

Permalink
Add various recent LLVM versions (#517)
Browse files Browse the repository at this point in the history
* Add LLVM 11.0.1

* Added LLVM 12.0.1

* Update LLVM to 13.0.0

* Add LLVM 13.0.1

* Bump latest LLVM version

---------

Co-authored-by: Layle | Luca <ioncodes@users.noreply.github.com>
  • Loading branch information
mrexodia and ioncodes authored Jun 28, 2023
1 parent 2030b5a commit 658f9b2
Show file tree
Hide file tree
Showing 2 changed files with 50 additions and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/configs/default.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,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

0 comments on commit 658f9b2

Please sign in to comment.