summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
Diffstat (limited to 'util')
-rwxr-xr-xutil/crossgcc/buildgcc22
-rw-r--r--util/crossgcc/sum/cfe-9.0.0.src.tar.xz.cksum1
-rw-r--r--util/crossgcc/sum/clang-10.0.1.src.tar.xz.cksum1
-rw-r--r--util/crossgcc/sum/clang-tools-extra-10.0.1.src.tar.xz.cksum1
-rw-r--r--util/crossgcc/sum/clang-tools-extra-9.0.0.src.tar.xz.cksum1
-rw-r--r--util/crossgcc/sum/compiler-rt-10.0.1.src.tar.xz.cksum1
-rw-r--r--util/crossgcc/sum/compiler-rt-9.0.0.src.tar.xz.cksum1
-rw-r--r--util/crossgcc/sum/llvm-10.0.1.src.tar.xz.cksum1
-rw-r--r--util/crossgcc/sum/llvm-9.0.0.src.tar.xz.cksum1
9 files changed, 15 insertions, 15 deletions
diff --git a/util/crossgcc/buildgcc b/util/crossgcc/buildgcc
index 548bb537d3..cb0f0ed4d1 100755
--- a/util/crossgcc/buildgcc
+++ b/util/crossgcc/buildgcc
@@ -44,7 +44,7 @@ IASL_VERSION=20200717
PYTHON_VERSION=3.8.5
EXPAT_VERSION=2.2.9
# CLANG version number
-CLANG_VERSION=9.0.0
+CLANG_VERSION=10.0.1
CMAKE_VERSION=3.18.1
NASM_VERSION=2.15.03
@@ -62,16 +62,16 @@ IASL_ARCHIVE="https://acpica.org/sites/acpica/files/acpica-unix2-${IASL_VERSION}
PYTHON_ARCHIVE="https://www.python.org/ftp/python/${PYTHON_VERSION}/Python-${PYTHON_VERSION}.tar.xz"
EXPAT_ARCHIVE="https://downloads.sourceforge.net/sourceforge/expat/expat-${EXPAT_VERSION}.tar.bz2"
# CLANG toolchain archive locations
-LLVM_ARCHIVE="https://releases.llvm.org/${CLANG_VERSION}/llvm-${CLANG_VERSION}.src.tar.xz"
-CFE_ARCHIVE="https://releases.llvm.org/${CLANG_VERSION}/cfe-${CLANG_VERSION}.src.tar.xz"
-CRT_ARCHIVE="https://releases.llvm.org/${CLANG_VERSION}/compiler-rt-${CLANG_VERSION}.src.tar.xz"
-CTE_ARCHIVE="https://releases.llvm.org/${CLANG_VERSION}/clang-tools-extra-${CLANG_VERSION}.src.tar.xz"
+LLVM_ARCHIVE="https://github.com/llvm/llvm-project/releases/download/llvmorg-${CLANG_VERSION}/llvm-${CLANG_VERSION}.src.tar.xz"
+CLANG_ARCHIVE="https://github.com/llvm/llvm-project/releases/download/llvmorg-${CLANG_VERSION}/clang-${CLANG_VERSION}.src.tar.xz"
+CRT_ARCHIVE="https://github.com/llvm/llvm-project/releases/download/llvmorg-${CLANG_VERSION}/compiler-rt-${CLANG_VERSION}.src.tar.xz"
+CTE_ARCHIVE="https://github.com/llvm/llvm-project/releases/download/llvmorg-${CLANG_VERSION}/clang-tools-extra-${CLANG_VERSION}.src.tar.xz"
CMAKE_ARCHIVE="https://cmake.org/files/v3.18/cmake-${CMAKE_VERSION}.tar.gz"
NASM_ARCHIVE="https://www.nasm.us/pub/nasm/releasebuilds/${NASM_VERSION}/nasm-${NASM_VERSION}.tar.bz2"
ALL_ARCHIVES="$GMP_ARCHIVE $MPFR_ARCHIVE $MPC_ARCHIVE \
$GCC_ARCHIVE $BINUTILS_ARCHIVE $GDB_ARCHIVE $IASL_ARCHIVE \
- $PYTHON_ARCHIVE $EXPAT_ARCHIVE $LLVM_ARCHIVE $CFE_ARCHIVE \
+ $PYTHON_ARCHIVE $EXPAT_ARCHIVE $LLVM_ARCHIVE $CLANG_ARCHIVE \
$CRT_ARCHIVE $CTE_ARCHIVE $CMAKE_ARCHIVE $NASM_ARCHIVE"
# GCC toolchain directories
@@ -88,7 +88,7 @@ PYTHON_DIR="Python-${PYTHON_VERSION}"
EXPAT_DIR="expat-${EXPAT_VERSION}"
# CLANG toolchain directories
LLVM_DIR="llvm-${CLANG_VERSION}.src"
-CFE_DIR="cfe-${CLANG_VERSION}.src"
+CLANG_DIR="clang-${CLANG_VERSION}.src"
CRT_DIR="compiler-rt-${CLANG_VERSION}.src"
CTE_DIR="clang-tools-extra-${CLANG_VERSION}.src"
CMAKE_DIR="cmake-${CMAKE_VERSION}"
@@ -851,7 +851,7 @@ build_IASL() {
build_LLVM() {
cd .. || exit 1
- ln -sf "$PWD/$CFE_DIR" "$LLVM_DIR/tools/clang"
+ ln -sf "$PWD/$CLANG_DIR" "$LLVM_DIR/tools/clang"
ln -sf "$PWD/$CTE_DIR" "$LLVM_DIR/tools/clang/tools/extra"
ln -sf "$PWD/$CRT_DIR" "$LLVM_DIR/projects/compiler-rt"
cd - || exit 1
@@ -863,8 +863,8 @@ build_LLVM() {
$MAKE $JOBS || touch .failed
$MAKE install || touch .failed
- cp -a ../$CFE_DIR/tools/scan-build/* "$DESTDIR$TARGETDIR/bin"
- cp -a ../$CFE_DIR/tools/scan-view/* "$DESTDIR$TARGETDIR/bin"
+ cp -a ../$CLANG_DIR/tools/scan-build/* "$DESTDIR$TARGETDIR/bin"
+ cp -a ../$CLANG_DIR/tools/scan-view/* "$DESTDIR$TARGETDIR/bin"
# create symlinks to work around broken --print-librt-file-name
# when used with -target.
@@ -1014,7 +1014,7 @@ case "$PACKAGE" in
CLANG|clang)
NAME="LLVM clang"
LLVM_VERSION=${CLANG_VERSION}
- PACKAGES="CMAKE LLVM CFE CRT CTE"
+ PACKAGES="CMAKE LLVM CLANG CRT CTE"
CMAKE=${DESTDIR}${TARGETDIR}/bin/cmake
;;
IASL|iasl)
diff --git a/util/crossgcc/sum/cfe-9.0.0.src.tar.xz.cksum b/util/crossgcc/sum/cfe-9.0.0.src.tar.xz.cksum
deleted file mode 100644
index e39bea12bb..0000000000
--- a/util/crossgcc/sum/cfe-9.0.0.src.tar.xz.cksum
+++ /dev/null
@@ -1 +0,0 @@
-6977cf7a802a053c57fa74138d3648b563e71e88 tarballs/cfe-9.0.0.src.tar.xz
diff --git a/util/crossgcc/sum/clang-10.0.1.src.tar.xz.cksum b/util/crossgcc/sum/clang-10.0.1.src.tar.xz.cksum
new file mode 100644
index 0000000000..6e0d86371d
--- /dev/null
+++ b/util/crossgcc/sum/clang-10.0.1.src.tar.xz.cksum
@@ -0,0 +1 @@
+0e61e92b22a620fe7f833fa8b2a56f2db96f7335 tarballs/clang-10.0.1.src.tar.xz
diff --git a/util/crossgcc/sum/clang-tools-extra-10.0.1.src.tar.xz.cksum b/util/crossgcc/sum/clang-tools-extra-10.0.1.src.tar.xz.cksum
new file mode 100644
index 0000000000..1b880c7ce4
--- /dev/null
+++ b/util/crossgcc/sum/clang-tools-extra-10.0.1.src.tar.xz.cksum
@@ -0,0 +1 @@
+26c996da082677aca1016bcf2141dbff01dc7300 tarballs/clang-tools-extra-10.0.1.src.tar.xz
diff --git a/util/crossgcc/sum/clang-tools-extra-9.0.0.src.tar.xz.cksum b/util/crossgcc/sum/clang-tools-extra-9.0.0.src.tar.xz.cksum
deleted file mode 100644
index 47eba2cca0..0000000000
--- a/util/crossgcc/sum/clang-tools-extra-9.0.0.src.tar.xz.cksum
+++ /dev/null
@@ -1 +0,0 @@
-ac64403321d8486699d8bea5376b2438663dbb41 tarballs/clang-tools-extra-9.0.0.src.tar.xz
diff --git a/util/crossgcc/sum/compiler-rt-10.0.1.src.tar.xz.cksum b/util/crossgcc/sum/compiler-rt-10.0.1.src.tar.xz.cksum
new file mode 100644
index 0000000000..2efb4136b1
--- /dev/null
+++ b/util/crossgcc/sum/compiler-rt-10.0.1.src.tar.xz.cksum
@@ -0,0 +1 @@
+ee6077b4728b3c750e476938cead11cea45b49ff tarballs/compiler-rt-10.0.1.src.tar.xz
diff --git a/util/crossgcc/sum/compiler-rt-9.0.0.src.tar.xz.cksum b/util/crossgcc/sum/compiler-rt-9.0.0.src.tar.xz.cksum
deleted file mode 100644
index 15f1a61e70..0000000000
--- a/util/crossgcc/sum/compiler-rt-9.0.0.src.tar.xz.cksum
+++ /dev/null
@@ -1 +0,0 @@
-4e00cb231ff87fd4f970f35b2da86185a612e0e2 tarballs/compiler-rt-9.0.0.src.tar.xz
diff --git a/util/crossgcc/sum/llvm-10.0.1.src.tar.xz.cksum b/util/crossgcc/sum/llvm-10.0.1.src.tar.xz.cksum
new file mode 100644
index 0000000000..a6919e89ad
--- /dev/null
+++ b/util/crossgcc/sum/llvm-10.0.1.src.tar.xz.cksum
@@ -0,0 +1 @@
+25d07260f3b7bf4f647e115c4a663fdeda130fbd tarballs/llvm-10.0.1.src.tar.xz
diff --git a/util/crossgcc/sum/llvm-9.0.0.src.tar.xz.cksum b/util/crossgcc/sum/llvm-9.0.0.src.tar.xz.cksum
deleted file mode 100644
index 4fb1c2daad..0000000000
--- a/util/crossgcc/sum/llvm-9.0.0.src.tar.xz.cksum
+++ /dev/null
@@ -1 +0,0 @@
-7ef2527ba3da7603a41ce3592a8cd890f8d27ffa tarballs/llvm-9.0.0.src.tar.xz