Skip to content

Commit

Permalink
LLVM 15 Update to 15.0.3 and latest vcpkg tag (#982)
Browse files Browse the repository at this point in the history
  • Loading branch information
ekilmer authored Oct 25, 2022
1 parent c526ec0 commit 9feefef
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 8 deletions.
5 changes: 2 additions & 3 deletions ports/llvm-15/0021-fix-find_dependency.patch
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
diff --git a/llvm/cmake/modules/LLVMConfig.cmake.in b/llvm/cmake/modules/LLVMConfig.cmake.in
index fbf28d36bedf..a9a5b83852b5 100644
index f1362fa032c2..a9a5b83852b5 100644
--- a/llvm/cmake/modules/LLVMConfig.cmake.in
+++ b/llvm/cmake/modules/LLVMConfig.cmake.in
@@ -51,16 +51,18 @@ set(LLVM_ENABLE_ASSERTIONS @LLVM_ENABLE_ASSERTIONS@)
Expand All @@ -23,7 +23,7 @@ index fbf28d36bedf..a9a5b83852b5 100644
endif()

set(LLVM_ENABLE_THREADS @LLVM_ENABLE_THREADS@)
@@ -69,22 +71,23 @@ set(LLVM_ENABLE_UNWIND_TABLES @LLVM_ENABLE_UNWIND_TABLES@)
@@ -69,21 +71,23 @@ set(LLVM_ENABLE_UNWIND_TABLES @LLVM_ENABLE_UNWIND_TABLES@)

set(LLVM_ENABLE_ZLIB @LLVM_ENABLE_ZLIB@)
if(LLVM_ENABLE_ZLIB)
Expand All @@ -34,7 +34,6 @@ index fbf28d36bedf..a9a5b83852b5 100644

set(LLVM_ENABLE_ZSTD @LLVM_ENABLE_ZSTD@)
if(LLVM_ENABLE_ZSTD)
- set(zstd_ROOT @zstd_ROOT@)
- find_package(zstd)
+ find_dependency(zstd)
endif()
Expand Down
4 changes: 2 additions & 2 deletions ports/llvm-15/portfile.cmake
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
set(LLVM_VERSION "15.0.1")
set(LLVM_VERSION "15.0.3")

vcpkg_check_linkage(ONLY_STATIC_LIBRARY)

vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO llvm/llvm-project
REF llvmorg-${LLVM_VERSION}
SHA512 d518de4860bd953c4728f00cb52aba37e1e8c2a0825b0a6cc046494f2ad4d1e1d07d36524c2aca87c7f27a5c07c21cdcf18ac73a03c2eed813ca46d24f31f445
SHA512 0d52d96222db159bf77261d2525c59f1605b29ab899a986114c706b77508f62742b07228f6877ab2fca43e2e71697317f0779f6a4a679db74242889ee6110441
HEAD_REF main
PATCHES
0001-Fix-install-paths.patch # This patch fixes paths in ClangConfig.cmake, LLVMConfig.cmake, LLDConfig.cmake etc.
Expand Down
3 changes: 1 addition & 2 deletions ports/llvm-15/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"name": "llvm-15",
"version": "15.0.1",
"port-version": 1,
"version": "15.0.3",
"description": "The LLVM Compiler Infrastructure.",
"homepage": "https://llvm.org",
"license": "Apache-2.0",
Expand Down
2 changes: 1 addition & 1 deletion vcpkg_info.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
https://github.com/microsoft/vcpkg.git
6ca56aeb457f033d344a7106cb3f9f1abf8f4e98
2022.10.19

0 comments on commit 9feefef

Please sign in to comment.