File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 77 @echo " Download additional versions with:"
88 @echo " $ make llvm-<version>"
99
10+ # Args:
11+ # 1 = LLVM version
12+ # 2 = RHEL version of the package
1013define TEMPLATE =
1114llvm-$(1 ) :
1215 rm -f llvm-$(1 ) .tar.xz
13- wget --no-verbose -O llvm-$(1 ) .tar.xz https://github.com/llvm/llvm-project/releases/download/llvmorg-$(1 ) /clang+llvm-$(1 ) -powerpc64le-linux-rhel-8.4 .tar.xz
16+ wget --no-verbose -O llvm-$(1 ) .tar.xz https://github.com/llvm/llvm-project/releases/download/llvmorg-$(1 ) /clang+llvm-$(1 ) -powerpc64le-linux-rhel-$( 2 ) .tar.xz
1417 tar -xf llvm-$(1 ) .tar.xz
1518 touch $$@
1619 rm -rf llvm-$(1 ) .tar.xz llvm-$(1 )
@@ -20,12 +23,13 @@ CLEAN_DIRS += llvm-$(1)
2023ALL_TARGETS += llvm-$(1 )
2124endef
2225
23- $(eval $(call TEMPLATE,14.0.6))
24- $(eval $(call TEMPLATE,15.0.7))
25- $(eval $(call TEMPLATE,16.0.0-rc2))
26+ $(eval $(call TEMPLATE,14.0.6,8.4))
27+ $(eval $(call TEMPLATE,15.0.7,8.4))
28+ $(eval $(call TEMPLATE,16.0.6,8.7))
29+ $(eval $(call TEMPLATE,17.0.4,8.8))
2630
27- # Only download clang-15 by default
28- download : llvm-15 .0.7
31+ # Only download clang-17 by default
32+ download : llvm-17 .0.4
2933
3034prepare : download
3135
You can’t perform that action at this time.
0 commit comments