Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Trac #16747: Add optional Arb package (arbitrary-precision floating-p…
…oint ball arithmetic) Add Arb [http://fredrikj.net/arb/] as an optional/experimental package. Source code here: [https://www.math.aau.at/user/cheuberg/sage/arb-2.3.0.tar.gz] (This is a renamed version of the original tarball at [https://github.com/fredrik-johansson/arb/archive/2.3.0.tar.gz], see the comment by [comment:15 jdemeyer]) URL: http://trac.sagemath.org/16747 Reported by: ktkohl Ticket author(s): Karen Kohl, Laura Peskin, Clemens Heuberger Reviewer(s): Jeroen Demeyer
- Loading branch information
Showing
5 changed files
with
61 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,29 @@ | ||
= arb = | ||
|
||
== Description == | ||
|
||
Arb is a C library for arbitrary-precision floating-point ball | ||
arithmetic, developed by Fredrik Johansson | ||
(fredrik.johansson@gmail.com). It supports efficient high-precision | ||
computation with polynomials, power series, matrices and special | ||
functions over the real and complex numbers, with automatic, rigorous | ||
error control. | ||
|
||
== License == | ||
|
||
GNU General Public License v2+ | ||
|
||
|
||
== Upstream Contact == | ||
|
||
* Fredrik Johansson: fredrik.johansson@gmail.com | ||
|
||
|
||
== Dependencies == | ||
|
||
* FLINT | ||
* MPIR or GMP | ||
* MPFR | ||
|
||
== Special Update/Build Instructions == | ||
|
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,4 @@ | ||
tarball=arb-VERSION.tar.gz | ||
sha1=e96a54950b88e762fc80ab5eb88b2273aaf79be1 | ||
md5=4a98e6aaa1108adfc5a46f1f64be0ec1 | ||
cksum=1828799562 |
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,2 @@ | ||
2.3.0 | ||
|
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,4 @@ | ||
#!/usr/bin/env bash | ||
|
||
cd src | ||
$MAKE check |
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,22 @@ | ||
#!/usr/bin/env bash | ||
|
||
cd src | ||
|
||
./configure --prefix="$SAGE_LOCAL" --with-flint="$SAGE_LOCAL" \ | ||
--with-gmp="$SAGE_LOCAL" --with-mpfr="$SAGE_LOCAL" | ||
if [ $? -ne 0 ]; then | ||
echo >&2 "Error configuring arb." | ||
exit 1 | ||
fi | ||
|
||
$MAKE | ||
if [ $? -ne 0 ]; then | ||
echo >&2 "Error building arb." | ||
exit 1 | ||
fi | ||
|
||
$MAKE install | ||
if [ $? -ne 0 ]; then | ||
echo >&2 "Error installing arb." | ||
exit 1 | ||
fi |