|
| 1 | +PKGNAME=fricas |
| 2 | +PKGSEC=math |
| 3 | + |
| 4 | +# Note: x11-lib is used in the HyperDoc. |
| 5 | +PKGDEP__SBCL="gawk x11-lib sbcl" |
| 6 | +PKGDEP__ECL="gawk x11-lib ecl" |
| 7 | +PKGDEP__AMD64="$PKGDEP__SBCL" |
| 8 | + |
| 9 | +# FIXME: Continue out of heap while build with sbcl on PPC64EL and ARM64 |
| 10 | +#PKGDEP__PPC64EL="$PKGDEP__SBCL" |
| 11 | +#PKGDEP__ARM64="$PKGDEP__SBCL" |
| 12 | +PKGDEP="$PKGDEP__ECL" |
| 13 | + |
| 14 | +# Note: Ref. https://fricas.github.io/install.html#latex-optional |
| 15 | +PKGSUG="texlive emacs" |
| 16 | + |
| 17 | +# Note: In order to build the graphical examples, xvfb |
| 18 | +# must be used, it is in this package. From FriCAS document |
| 19 | +# |
| 20 | +# If you compile FriCAS from the FriCAS git repository, |
| 21 | +# and configure does not detect the xvfb-run program, |
| 22 | +# then graphic examples will not be built. This results |
| 23 | +# in broken HyperDoc pages – all graphic examples will |
| 24 | +# be missing (and trying to access them will crash hypertex). |
| 25 | +# |
| 26 | +# Ref. https://fricas.github.io/install.html#hyperdoc-and-graphics |
| 27 | +# |
| 28 | +# FIXME: Disable now, since fricas2d have bug related to |
| 29 | +# "double free or corruption (!prev)", and I can't fix it:P |
| 30 | +# |
| 31 | +#BUILDDEP="xorg-server" |
| 32 | + |
| 33 | +PKGDES="General purpose computer algebra system" |
| 34 | + |
| 35 | +AUTOTOOLS_AFTER__ECL=( |
| 36 | + --with-lisp=ecl |
| 37 | +) |
| 38 | +AUTOTOOLS_AFTER__SBCL=( |
| 39 | + --with-lisp='sbcl --dynamic-space-size 4096' |
| 40 | + --enable-gmp |
| 41 | +) |
| 42 | +AUTOTOOLS_AFTER__AMD64=("${AUTOTOOLS_AFTER__SBCL[@]}") |
| 43 | + |
| 44 | +# FIXME: Continue out of heap while build with sbcl on PPC64EL and ARM64 |
| 45 | +#AUTOTOOLS_AFTER__ARM64="$AUTOTOOLS_AFTER__SBCL" |
| 46 | +#AUTOTOOLS_AFTER__PPC64EL="$AUTOTOOLS_AFTER__SBCL" |
| 47 | +AUTOTOOLS_AFTER=("${AUTOTOOLS_AFTER__ECL[@]}") |
| 48 | + |
| 49 | +# Note: Else sbcl version of the software will not run, |
| 50 | +# it seems FRICASsys got a lot of things inside. |
| 51 | +ABSTRIP__AMD64=0 |
| 52 | +ABSTRIP__PPC64EL=0 |
| 53 | +ABSTRIP__ARM64=0 |
0 commit comments