Skip to content

Commit

Permalink
[llvm] Fix resource path when building tools (microsoft#16294)
Browse files Browse the repository at this point in the history
* [llvm] Fix resource path when building tools

* update version record
  • Loading branch information
JackBoosY authored Feb 22, 2021
1 parent a037d82 commit 319b8f0
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 1 deletion.
1 change: 1 addition & 0 deletions ports/llvm/CONTROL
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
Source: llvm
Version: 11.0.0
Port-Version: 1
Homepage: https://llvm.org/
Description: The LLVM Compiler Infrastructure
Supports: !uwp
Expand Down
4 changes: 4 additions & 0 deletions ports/llvm/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,10 @@ if("polly" IN_LIST FEATURES)
list(APPEND LLVM_ENABLE_PROJECTS "polly")
endif()

if("tools" IN_LIST FEATURES)
list(APPEND FEATURE_OPTIONS -DCLANG_RESOURCE_DIR=../../lib/clang/11.0.0)
endif()

set(known_llvm_targets
AArch64
AMDGPU
Expand Down
2 changes: 1 addition & 1 deletion versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -3598,7 +3598,7 @@
},
"llvm": {
"baseline": "11.0.0",
"port-version": 0
"port-version": 1
},
"lmdb": {
"baseline": "0.9.24",
Expand Down
5 changes: 5 additions & 0 deletions versions/l-/llvm.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "9a8e86d3dc793c4404435e87c04470da6d9cccce",
"version-string": "11.0.0",
"port-version": 1
},
{
"git-tree": "0188d318ae61d867088f8717bc5ed178479f14a1",
"version-string": "11.0.0",
Expand Down

0 comments on commit 319b8f0

Please sign in to comment.