aboutsummaryrefslogtreecommitdiff
path: root/ports
diff options
context:
space:
mode:
Diffstat (limited to 'ports')
-rw-r--r--ports/llvm/CONTROL1
-rw-r--r--ports/llvm/portfile.cmake4
2 files changed, 5 insertions, 0 deletions
diff --git a/ports/llvm/CONTROL b/ports/llvm/CONTROL
index 933f234d6..5782832bc 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 ddb7db92c..8d7d7b9fe 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