[llvm] Fix resource path when building tools (#16294)

* [llvm] Fix resource path when building tools

* update version record
This commit is contained in:
Jack·Boos·Yu 2021-02-22 10:49:55 -08:00 committed by GitHub
parent a037d82649
commit 319b8f06eb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 11 additions and 1 deletions

View File

@ -1,5 +1,6 @@
Source: llvm Source: llvm
Version: 11.0.0 Version: 11.0.0
Port-Version: 1
Homepage: https://llvm.org/ Homepage: https://llvm.org/
Description: The LLVM Compiler Infrastructure Description: The LLVM Compiler Infrastructure
Supports: !uwp Supports: !uwp

View File

@ -119,6 +119,10 @@ if("polly" IN_LIST FEATURES)
list(APPEND LLVM_ENABLE_PROJECTS "polly") list(APPEND LLVM_ENABLE_PROJECTS "polly")
endif() endif()
if("tools" IN_LIST FEATURES)
list(APPEND FEATURE_OPTIONS -DCLANG_RESOURCE_DIR=../../lib/clang/11.0.0)
endif()
set(known_llvm_targets set(known_llvm_targets
AArch64 AArch64
AMDGPU AMDGPU

View File

@ -3598,7 +3598,7 @@
}, },
"llvm": { "llvm": {
"baseline": "11.0.0", "baseline": "11.0.0",
"port-version": 0 "port-version": 1
}, },
"lmdb": { "lmdb": {
"baseline": "0.9.24", "baseline": "0.9.24",

View File

@ -1,5 +1,10 @@
{ {
"versions": [ "versions": [
{
"git-tree": "9a8e86d3dc793c4404435e87c04470da6d9cccce",
"version-string": "11.0.0",
"port-version": 1
},
{ {
"git-tree": "0188d318ae61d867088f8717bc5ed178479f14a1", "git-tree": "0188d318ae61d867088f8717bc5ed178479f14a1",
"version-string": "11.0.0", "version-string": "11.0.0",