llvmPackages/update.sh: Support LLVM 13+
This commit is contained in:
parent
0f157df1a3
commit
00e380f1be
1 changed files with 20 additions and 13 deletions
|
@ -19,6 +19,12 @@ sed -Ei \
|
|||
"$FILE"
|
||||
|
||||
readonly ATTRSET="llvmPackages_$VERSION_MAJOR"
|
||||
|
||||
if [ "$VERSION_MAJOR" -ge "13" ]; then
|
||||
readonly SOURCES=(
|
||||
"llvm.src"
|
||||
)
|
||||
else
|
||||
readonly SOURCES=(
|
||||
"clang-unwrapped.src"
|
||||
"compiler-rt.src"
|
||||
|
@ -32,6 +38,7 @@ readonly SOURCES=(
|
|||
"llvm.polly_src"
|
||||
"openmp.src"
|
||||
)
|
||||
fi
|
||||
|
||||
for SOURCE in "${SOURCES[@]}"; do
|
||||
echo "Updating the hash of $SOURCE:"
|
||||
|
|
Loading…
Reference in a new issue