Skip to content
Snippets Groups Projects
Commit 2eb73f6c authored by Krassy Boykinov's avatar Krassy Boykinov Committed by Andy Postnikov
Browse files

main/mpdecimal: upgrade to 4.0.0

parent bf73b25d
No related branches found
No related tags found
1 merge request!59120main/mpdecimal: upgrade to 4.0.0
--- a-mpdecimal-2.5.1/tests++/runshort.sh
+++ b-mpdecimal-2.5.1/tests++/runshort.sh
@@ -12,9 +12,11 @@
export MallocLogFile=/dev/null
export MallocDebugReport=crash
;;
- AIX)
+ AIX|Linux)
# The thread stack size on AIX (96K) makes std::thread unusable
# for runtest.cc, which needs around 300K.
+ #
+ # The same applies to Alpine Linux (musl).
THREAD="--pthread"
;;
*)
--- a-mpdecimal-2.5.1/tests++/runshort_alloc.sh
+++ b-mpdecimal-2.5.1/tests++/runshort_alloc.sh
@@ -12,9 +12,11 @@
export MallocLogFile=/dev/null
export MallocDebugReport=crash
;;
- AIX)
+ AIX|Linux)
# The thread stack size on AIX (96K) makes std::thread unusable
# for runtest.cc, which needs around 300K.
+ #
+ # The same applies to Alpine Linux (musl).
THREAD="--pthread"
;;
*)
# Contributor: Stefan Stutz <stutz@pm.me>
# Maintainer: Stefan Stutz <stutz@pm.me>
pkgname=mpdecimal
pkgver=2.5.1
pkgrel=2
pkgver=4.0.0
pkgrel=0
pkgdesc="complete implementation of the General Decimal Arithmetic Specification"
url="https://www.bytereef.org/mpdecimal/index.html"
arch="all"
license="BSD-2-Clause"
subpackages="$pkgname-doc $pkgname-dev"
source="https://www.bytereef.org/software/mpdecimal/releases/mpdecimal-$pkgver.tar.gz 10-pthreads.patch"
source="https://www.bytereef.org/software/mpdecimal/releases/mpdecimal-$pkgver.tar.gz"
build() {
./configure \
......@@ -28,5 +28,6 @@ check() {
package() {
make install DESTDIR="$pkgdir"
}
sha512sums="710cb5cb71dbcf3e170ca15869c148df0547b848400c6b6dd70c67d9961dbe1190af8fb4d1623bfb0ca2afe44f369a42e311ab5225ed89d4031cb49a3bd70f30 mpdecimal-2.5.1.tar.gz
ca22894e5a01c2ad8107a86968692071c7c4dfc6ecad04972d278b45611ea4b5ed02259772a24800da43fbec5bb4335604f6745f599c2cbf0cc452238f7710b3 10-pthreads.patch"
sha512sums="
7610ac53ac79f7a8a33fa7a3e61515810444ec73ebca859df7a9ddc18e96b990c99323172810c9cc7f6d6e1502c0be308cd443d6c2d5d0c871648e4842e05d59 mpdecimal-4.0.0.tar.gz
"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment