diff options
-rw-r--r-- | .SRCINFO | 7 | ||||
-rw-r--r-- | PKGBUILD | 15 |
2 files changed, 13 insertions, 9 deletions
@@ -1,6 +1,6 @@ pkgbase = chapel-git pkgdesc = Programming language designed for productive parallel computing at scale - pkgver = 1.29.0.138.g0cce54a2f2 + pkgver = 1.30.0.872.gebac905c22 pkgrel = 1 url = https://chapel-lang.org/ arch = x86_64 @@ -10,8 +10,9 @@ pkgbase = chapel-git makedepends = cmake depends = python depends = perl - depends = llvm - depends = clang + depends = llvm14 + depends = llvm14-libs + depends = clang14 source = git+https://github.com/chapel-lang/chapel.git sha256sums = SKIP @@ -5,13 +5,13 @@ _gituser="chapel-lang" _gitname="chapel" pkgname=${_gitname}-git -pkgver=1.29.0.138.g0cce54a2f2 #autogenerated/written by pkgver() +pkgver=1.30.0.872.gebac905c22 #autogenerated/written by pkgver() pkgrel=1 pkgdesc="Programming language designed for productive parallel computing at scale" url="https://chapel-lang.org/" arch=('x86_64' 'arm') license=('Apache') -depends=('python' 'perl' 'llvm' 'clang') +depends=('python' 'perl' 'llvm14' 'llvm14-libs' 'clang14') # depend on 14s temporarily makedepends=('git' 'cmake') source=("git+https://github.com/${_gituser}/${_gitname}.git") sha256sums=('SKIP') # source is not static @@ -19,10 +19,13 @@ sha256sums=('SKIP') # source is not static pkgver() { cd "${srcdir}/${_gitname}" # get correct numerical version from internal file - ver_file="compiler/main/version_num.h" - major_ver=$(grep MAJOR_VERSION ${ver_file} | cut -d ' ' -f 3) - minor_ver=$(grep MINOR_VERSION ${ver_file} | cut -d ' ' -f 3) - update_ver=$(grep UPDATE_VERSION ${ver_file} | cut -d ' ' -f 3) + ver_file="CMakeLists.txt" + major_ver=$(grep set\(CHPL_MAJOR_VERSION ${ver_file} \ + | cut -d ' ' -f 2 | cut -d ')' -f 1) + minor_ver=$(grep set\(CHPL_MINOR_VERSION ${ver_file} \ + | cut -d ' ' -f 2 | cut -d ')' -f 1) + update_ver=$(grep set\(CHPL_PATCH_VERSION ${ver_file} \ + | cut -d ' ' -f 2 | cut -d ')' -f 1) ver_num="${major_ver}.${minor_ver}.${update_ver}" # keep second (correct) half of git describe result gitdescribe=$(git describe --long --tags --always) |