mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-24 18:29:01 +08:00
Merge pull request #2519 from fcharlie/master
[llvm]: update llvm to 5.0.1
This commit is contained in:
commit
43f8af863a
@ -1,4 +1,4 @@
|
||||
Source: llvm
|
||||
Version: 5.0.0-4
|
||||
Version: 5.0.1
|
||||
Description: The LLVM Compiler Infrastructure
|
||||
Build-Depends: atlmfc
|
||||
|
@ -7,23 +7,23 @@ if(VCPKG_CMAKE_SYSTEM_NAME STREQUAL "WindowsStore")
|
||||
endif()
|
||||
|
||||
include(vcpkg_common_functions)
|
||||
set(SOURCE_PATH ${CURRENT_BUILDTREES_DIR}/src/llvm-5.0.0.src)
|
||||
set(SOURCE_PATH ${CURRENT_BUILDTREES_DIR}/src/llvm-5.0.1.src)
|
||||
vcpkg_download_distfile(ARCHIVE
|
||||
URLS "http://releases.llvm.org/5.0.0/llvm-5.0.0.src.tar.xz"
|
||||
FILENAME "llvm-5.0.0.src.tar.xz"
|
||||
SHA512 e6d8fdcb5bf27bded814d02f39f69c6171bc3a512d5957c03e5ac2e231f903b7de87634b059bd5c5da670f7c3a8f7a538f6299225799f15f921857f1452f6b3a
|
||||
URLS "http://releases.llvm.org/5.0.1/llvm-5.0.1.src.tar.xz"
|
||||
FILENAME "llvm-5.0.1.src.tar.xz"
|
||||
SHA512 bee1d45fca15ce725b1f2b1339b13eb6f750a3a321cfd099075477ec25835a8ca55b5366172c4aad46592dfd8afe372349ecf264f581463d017f9cee2d63c1cb
|
||||
)
|
||||
vcpkg_extract_source_archive(${ARCHIVE})
|
||||
|
||||
vcpkg_download_distfile(CLANG_ARCHIVE
|
||||
URLS "http://releases.llvm.org/5.0.0/cfe-5.0.0.src.tar.xz"
|
||||
FILENAME "cfe-5.0.0.src.tar.xz"
|
||||
SHA512 14acdd622310122b544c952ee5b932b7006d9d8424319f0e3974f2503d40a0cec4200fdd3d813a32ce0d877bcfbb9a5bd5c36f6142b4330e6c814f113ca2efe8
|
||||
URLS "http://releases.llvm.org/5.0.1/cfe-5.0.1.src.tar.xz"
|
||||
FILENAME "cfe-5.0.1.src.tar.xz"
|
||||
SHA512 6619177a2ff9934fe8b15d6aa229abb8e34d0b1a75228d9efba9393daf71d6419a7256de57b31e2f9f829f71f842118556f996e86ee076f1e0a7cd394dfd31a2
|
||||
)
|
||||
vcpkg_extract_source_archive(${CLANG_ARCHIVE} ${SOURCE_PATH}/tools)
|
||||
|
||||
if(NOT EXISTS ${SOURCE_PATH}/tools/clang)
|
||||
file(RENAME ${SOURCE_PATH}/tools/cfe-5.0.0.src ${SOURCE_PATH}/tools/clang)
|
||||
file(RENAME ${SOURCE_PATH}/tools/cfe-5.0.1.src ${SOURCE_PATH}/tools/clang)
|
||||
endif()
|
||||
|
||||
vcpkg_apply_patches(
|
||||
|
Loading…
Reference in New Issue
Block a user