Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
aports
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
alpine
aports
Commits
4f0eb40b
Commit
4f0eb40b
authored
2 weeks ago
by
Leon White
Browse files
Options
Downloads
Patches
Plain Diff
community/mpir: enable on ppc64le
parent
da85e798
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
community/mpir/APKBUILD
+17
-13
17 additions, 13 deletions
community/mpir/APKBUILD
with
17 additions
and
13 deletions
community/mpir/APKBUILD
+
17
−
13
View file @
4f0eb40b
...
@@ -2,11 +2,10 @@
...
@@ -2,11 +2,10 @@
# Maintainer: Marian Buschsieweke <marian.buschsieweke@posteo.net>
# Maintainer: Marian Buschsieweke <marian.buschsieweke@posteo.net>
pkgname
=
mpir
pkgname
=
mpir
pkgver
=
3.0.0
pkgver
=
3.0.0
pkgrel
=
1
pkgrel
=
2
pkgdesc
=
"Multiple Precision Integers and Rationals"
pkgdesc
=
"Multiple Precision Integers and Rationals"
url
=
"https://github.com/wbhart/mpir"
url
=
"https://github.com/wbhart/mpir"
# ppc64le: ABI version 1 is not compatible with ABI version 2 output
arch
=
"all"
arch
=
"all !ppc64le"
license
=
"LGPL-3.0-or-later"
license
=
"LGPL-3.0-or-later"
makedepends
=
"autoconf automake texinfo libtool yasm m4"
makedepends
=
"autoconf automake texinfo libtool yasm m4"
subpackages
=
"
$pkgname
-dev
$pkgname
-doc"
subpackages
=
"
$pkgname
-dev
$pkgname
-doc"
...
@@ -32,10 +31,15 @@ prepare() {
...
@@ -32,10 +31,15 @@ prepare() {
}
}
build
()
{
build
()
{
./configure
\
local
_configure_opts
=
"--prefix=/usr --enable-cxx --disable-static"
--prefix
=
/usr
\
--enable-cxx
\
# Add host flag to omit ppc64 ABIv1 assembly code and resolve the error:
--disable-static
# ABI version 1 is not compatible with ABI version 2 output
if
[
"
$CARCH
"
=
"ppc64le"
]
;
then
_configure_opts
=
"
$_configure_opts
--host=none-alpine-linux-musl"
fi
./configure
$_configure_opts
make
make
}
}
...
@@ -50,10 +54,10 @@ check() {
...
@@ -50,10 +54,10 @@ check() {
}
}
sha512sums
=
"
sha512sums
=
"
7d37f60645c533a6638dde5d9c48f5535022fa0ea02bafd5b714649c70814e88c5e5e3b0bef4c5a749aaf8772531de89c331716ee00ba1c2f9521c2cc8f3c61b
mpir-3.0.0.tar.gz
7d37f60645c533a6638dde5d9c48f5535022fa0ea02bafd5b714649c70814e88c5e5e3b0bef4c5a749aaf8772531de89c331716ee00ba1c2f9521c2cc8f3c61b
mpir-3.0.0.tar.gz
c7b9a273156f745ba39966bfdc8d78be393bd8e72e37cf2a958f3c63894747bca23d4dd67cf8e7dfe5aa3099082644e62a86597610260e61c203cc5ec45538b8
configure-xcode12.patch
c7b9a273156f745ba39966bfdc8d78be393bd8e72e37cf2a958f3c63894747bca23d4dd67cf8e7dfe5aa3099082644e62a86597610260e61c203cc5ec45538b8
configure-xcode12.patch
f5bc7cd4590aae8c2a0012cc57b5684bc940a00aec7a77a19dcaa67c66555e0eab72c1590eab2751416c8491d6444bf7d527006e53ddd1772efcabe151b70deb
gcc14.patch
f5bc7cd4590aae8c2a0012cc57b5684bc940a00aec7a77a19dcaa67c66555e0eab72c1590eab2751416c8491d6444bf7d527006e53ddd1772efcabe151b70deb
gcc14.patch
34dada56268c9150c8bf8e2ea2a1401a9bde22d0a44913c546638fd8b09bbdeadca60eb01c4210bbac62af97ebe0f057a74c636e04d4301d39b01af45fdfe5e5
tests.patch
34dada56268c9150c8bf8e2ea2a1401a9bde22d0a44913c546638fd8b09bbdeadca60eb01c4210bbac62af97ebe0f057a74c636e04d4301d39b01af45fdfe5e5
tests.patch
00f960b5f320a12ef8ce98d457591f963e30685c94ad7f79942268c64e428f564f16c6bade001e63610817f6c22279a1d3b2473b9ca88b29c36fe9589e58d400
mpir.pc
00f960b5f320a12ef8ce98d457591f963e30685c94ad7f79942268c64e428f564f16c6bade001e63610817f6c22279a1d3b2473b9ca88b29c36fe9589e58d400
mpir.pc
c6c264b12091ef6f962cfcc819a0cd74586189afbba4af878f47d9921745e6d3634cd62a3a107a865438644181a5c60286f907b1aa4c80eb0ec1c7df44ab0f56
mpirxx.pc
c6c264b12091ef6f962cfcc819a0cd74586189afbba4af878f47d9921745e6d3634cd62a3a107a865438644181a5c60286f907b1aa4c80eb0ec1c7df44ab0f56
mpirxx.pc
"
"
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment