diff --git a/ports/llvm/CONTROL b/ports/llvm/CONTROL index 933f234d60bf10..5782832bc84b8e 100644 --- a/ports/llvm/CONTROL +++ b/ports/llvm/CONTROL @@ -1,5 +1,6 @@ Source: llvm Version: 11.0.0 +Port-Version: 1 Homepage: https://llvm.org/ Description: The LLVM Compiler Infrastructure Supports: !uwp diff --git a/ports/llvm/portfile.cmake b/ports/llvm/portfile.cmake index ddb7db92c80f50..8d7d7b9feaa631 100644 --- a/ports/llvm/portfile.cmake +++ b/ports/llvm/portfile.cmake @@ -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 diff --git a/versions/baseline.json b/versions/baseline.json index 23c88be443d332..422406d2427213 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -3594,7 +3594,7 @@ }, "llvm": { "baseline": "11.0.0", - "port-version": 0 + "port-version": 1 }, "lmdb": { "baseline": "0.9.24", diff --git a/versions/l-/llvm.json b/versions/l-/llvm.json index 5385da85f49547..b149b5beef5138 100644 --- a/versions/l-/llvm.json +++ b/versions/l-/llvm.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "9a8e86d3dc793c4404435e87c04470da6d9cccce", + "version-string": "11.0.0", + "port-version": 1 + }, { "git-tree": "0188d318ae61d867088f8717bc5ed178479f14a1", "version-string": "11.0.0",