mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-04 12:01:41 +02:00
testing/ponyc: upgrade to 0.33.0
Add static subpackage and rework failing march/mtune patch. New version defaults to statically linking against llvm-libs. Use `link=llvm-dynamic` to revert.
This commit is contained in:
parent
34b781e0c2
commit
7ffb9c86bb
@ -2,7 +2,7 @@
|
||||
# Contributor: Jakub Jirutka <jakub@jirutka.cz>
|
||||
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
|
||||
pkgname=ponyc
|
||||
pkgver=0.32.0
|
||||
pkgver=0.33.0
|
||||
pkgrel=0
|
||||
pkgdesc="An open-source, actor-model, capabilities-secure, high performance programming language"
|
||||
url="https://www.ponylang.org"
|
||||
@ -15,8 +15,8 @@ checkdepends="openssl-dev pcre2-dev"
|
||||
makedepends="libexecinfo-dev llvm$_llvmver-dev ncurses-dev paxmark
|
||||
zlib-dev linux-headers"
|
||||
options="!check"
|
||||
subpackages="$pkgname-dev $pkgname-doc"
|
||||
source="$pkgname-$pkgver.tar.gz::https://github.com/ponylang/ponyc/archive/$pkgver.tar.gz
|
||||
subpackages="$pkgname-static $pkgname-dev $pkgname-doc"
|
||||
source="ponyc-$pkgver.tar.gz::https://github.com/ponylang/ponyc/archive/$pkgver.tar.gz
|
||||
more-portable-ln.patch
|
||||
makefile-remove-march-mtune.patch"
|
||||
|
||||
@ -28,6 +28,7 @@ build() {
|
||||
make \
|
||||
config=release \
|
||||
default_pic=true \
|
||||
link=llvm-dynamic \
|
||||
verbose=true
|
||||
|
||||
paxmark m build/release/ponyc \
|
||||
@ -45,6 +46,7 @@ package() {
|
||||
make \
|
||||
config=release \
|
||||
default_pic=true \
|
||||
link=llvm-dynamic \
|
||||
ponydir="$pkgdir"/usr/lib/pony/$pkgver \
|
||||
prefix="$pkgdir"/usr \
|
||||
install
|
||||
@ -71,6 +73,6 @@ dev() {
|
||||
mv "$pkgdir"/usr/lib/pony/$pkgver/include "$subpkgdir"/usr
|
||||
}
|
||||
|
||||
sha512sums="16fb61d952017e9c40dd2683fd7ca78b2da1cabbf813f16374b8ab080e28c8c0cd8fd284b9eacd8e05e828dbf1ab647d4d1970be5c7aafd8d2a7e8162e768bf0 ponyc-0.32.0.tar.gz
|
||||
sha512sums="bc867af4334ca4aff5c4eefad9ac5ee3ea6027a4f021c5af4ae144a310f14c99207878ca24017face7c543bb7b4f8ee801c49d9368f5a3e6e7763abc5f867a6a ponyc-0.33.0.tar.gz
|
||||
38aa40f6000dcb823be7b542cdad8d04b6ac4cd0a4fff1a472520a7cb71631fb34e5bee74914fe559674594dd901aede91390809e143dd96c5d68a16f8ac196c more-portable-ln.patch
|
||||
c78156bc68332705c41e7f4f8ff65bb77a778d8ee1685e9376473041c9c0b815e96ebc4cfd68b03c5c5c9d53cff8e6c0deba0fc19a9bcb29b7f91caaa15a0803 makefile-remove-march-mtune.patch"
|
||||
ce98aa2e33d057714703364509afd15e42ba53b5fefd42b66b9996a69036767595b868ddda592695bb109f09a7e1de118a53f262c2b23cbdf0b84063245f8b1b makefile-remove-march-mtune.patch"
|
||||
|
||||
@ -25,7 +25,7 @@ index 50f4936..8f28e1a 100644
|
||||
|
||||
# Determine pointer size in bits.
|
||||
BITS := $(bits)
|
||||
@@ -135,11 +135,6 @@ ifeq ($(BITS),64)
|
||||
@@ -147,11 +147,6 @@
|
||||
endif
|
||||
endif
|
||||
|
||||
@ -34,6 +34,6 @@ index 50f4936..8f28e1a 100644
|
||||
- LINKER_FLAGS += -mfpu=$(fpu)
|
||||
-endif
|
||||
-
|
||||
PONY_BUILD_DIR ?= build/$(config)
|
||||
PONY_SOURCE_DIR ?= src
|
||||
PONY_TEST_DIR ?= test
|
||||
ifdef link
|
||||
ifeq (,$(filter $(link),static llvm-static llvm-dynamic))
|
||||
$(error Unknown linking strategy "$(link)")
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user