-
Notifications
You must be signed in to change notification settings - Fork 428
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: ghbrown <[email protected]>
- Loading branch information
Showing
2 changed files
with
60 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
pkgbase = chapel-git | ||
pkgdesc = Programming language designed for productive parallel computing at scale | ||
pkgver = 1.26.cc0241ef9c | ||
pkgrel = 1 | ||
url = https://chapel-lang.org/ | ||
arch = x86_64 | ||
arch = arm | ||
license = Apache | ||
makedepends = git | ||
makedepends = cmake | ||
depends = python | ||
depends = perl | ||
depends = llvm | ||
depends = clang | ||
source = git+https://github.com/mppf/chapel.git | ||
sha256sums = SKIP | ||
|
||
pkgname = chapel-git |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
|
||
# Maintainer: Gabriel Brown <[email protected]> | ||
|
||
#_gituser="chapel-lang" | ||
_gituser="mppf" #temp: until PR #19913 is merged | ||
_gitname="chapel" | ||
|
||
pkgname=${_gitname}-git | ||
_basepkgver=1.26 | ||
pkgver=1.26.cc0241ef9c | ||
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') | ||
makedepends=('git' 'cmake') | ||
source=("git+https://github.com/${_gituser}/${_gitname}.git") | ||
sha256sums=('SKIP') # source is not static | ||
|
||
pkgver() { | ||
cd "${srcdir}/${_gitname}" | ||
git describe --long --tags --always | sed 's/\-/\./' | echo "${_basepkgver}.$(cat -)" | ||
} | ||
|
||
build() { | ||
cd "${srcdir}/${_gitname}" | ||
git checkout less-la #temp: until PR #19913 is merged | ||
./configure --prefix=/usr | ||
make | ||
} | ||
|
||
check() { | ||
cd "${srcdir}/${_gitname}" | ||
export PATH="${srcdir}/${_gitname}/bin/linux64-x86_64:${PATH}" | ||
make check | ||
} | ||
|
||
package() { | ||
cd "${_gitname}" | ||
make DESTDIR="${pkgdir}" install | ||
} |