makedeb


llvm13 13.r5140.g972b6a3a3471-1


Low Level Virtual Machine 13 for clasp

Click here to go back to the commit logs for llvm13.

Commit:


Hash: 2f6989eae31d780b2feed23b51dcb22378b3a35f

Message: Update version

Diff


diff --git a/.SRCINFO b/.SRCINFO
index fecd9f3..c6153a2 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
 pkgbase = llvm13
 	pkgdesc = Low Level Virtual Machine 13 for clasp
-	pkgver = 13.0.0.r383356.972b6a3a3471
+	pkgver = 13.r5140.g972b6a3a3471
 	pkgrel = 1
 	url = https://llvm.org/
 	arch = x86_64
@@ -12,6 +12,7 @@ pkgbase = llvm13
 	makedepends = libxml2-dev
 	makedepends = binutils-dev
 	makedepends = python3-distutils
+	depends = binutils
 	options = staticlibs
 	source = llvm-project::git+https://github.com/llvm/llvm-project.git#commit=972b6a3a3471c2a742c5c5d8ec004ff640d544c4
 	md5sums = SKIP
diff --git a/PKGBUILD b/PKGBUILD
index e9376f6..f98de48 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,12 +1,13 @@
 # Maintainer: Tarn W. Burton <twburton@gmail.com>
 
 pkgname=('llvm13')
-pkgver=13.0.0.r383356.972b6a3a3471
+pkgver=13.r5140.g972b6a3a3471
 pkgrel=1
 pkgdesc="Low Level Virtual Machine 13 for clasp"
 arch=('x86_64')
 url="https://llvm.org/"
 license=('custom:Apache 2.0 with LLVM Exception')
+depends=('binutils')
 makedepends=('cmake' 'libffi-dev' 'libedit-dev' 'libncurses-dev' 'libxml2-dev' 'binutils-dev' 'python3-distutils')
 options=('staticlibs')
 source=("llvm-project::git+https://github.com/llvm/llvm-project.git#commit=972b6a3a3471c2a742c5c5d8ec004ff640d544c4")
@@ -14,19 +15,14 @@ md5sums=('SKIP')
 sha512sums=('SKIP')
 
 
-pkgver() {
-  cd llvm-project/llvm
-
-  # This will almost match the output of `llvm-config --version` when the
-  # LLVM_APPEND_VC_REV cmake flag is turned on. The only difference is
-  # dash being replaced with underscore because of Pacman requirements.
-  local _pkgver=$(awk -F 'MAJOR |MINOR |PATCH |)' \
-          'BEGIN { ORS="." ; i=0 } \
-           /set\(LLVM_VERSION_/ { print $2 ; i++ ; if (i==2) ORS="" } \
-           END { print "\n" }' \
-           CMakeLists.txt).r$(git rev-list --count HEAD).$(git rev-parse --short HEAD)
-  echo "$_pkgver"
-}
+#pkgver() {
+#  if [ -d "llvm-project" ]; then
+#    cd llvm-project
+#    git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g' | sed -E 's/[a-z]+\.//g'
+#  else
+#    echo $pkgver
+#  fi
+#}
 
 build() {
   sed -i 's/::lldb_private::Timer _scoped_timer(_cat, LLVM_PRETTY_FUNCTION)/::lldb_private::Timer _scoped_timer(_cat, "%s", LLVM_PRETTY_FUNCTION)/g' llvm-project/lldb/include/lldb/Utility/Timer.h