summaryrefslogtreecommitdiff
path: root/configure.sh
diff options
context:
space:
mode:
authorGereon Kremer <nafur42@gmail.com>2021-06-15 23:00:47 +0200
committerGitHub <noreply@github.com>2021-06-15 21:00:47 +0000
commit44299210154706701d56bfa40e8cb5c58079e9ca (patch)
treeb7447be8cd5401b738b986971f036f8022cfbb64 /configure.sh
parent6bae871954c48993009ed91d4b907c136017ed38 (diff)
Add cocoalib (#6731)
This PR adds CoCoALib as an optional dependency. It will be used in the CAD-based nonlinear solver for computer algebra routines beyond the capabilities of libpoly like quotient rings and polynomial factorization.
Diffstat (limited to 'configure.sh')
-rwxr-xr-xconfigure.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/configure.sh b/configure.sh
index 3e59cadc9..487bbcb5a 100755
--- a/configure.sh
+++ b/configure.sh
@@ -63,6 +63,7 @@ The following flags enable optional packages (disable with --no-<option name>).
--cryptominisat use the CryptoMiniSat SAT solver
--kissat use the Kissat SAT solver
--poly use the LibPoly library [default=yes]
+ --cocoa use the CoCoA library
--symfpu use SymFPU for floating point solver [default=yes]
--editline support the editline library
@@ -121,6 +122,7 @@ glpk=default
gpl=default
kissat=default
poly=ON
+cocoa=default
muzzle=default
ninja=default
profiling=default
@@ -240,6 +242,9 @@ do
--poly) poly=ON;;
--no-poly) poly=OFF;;
+ --cocoa) cocoa=ON;;
+ --no-cocoa) cocoa=OFF;;
+
--muzzle) muzzle=ON;;
--no-muzzle) muzzle=OFF;;
@@ -391,6 +396,8 @@ cmake_opts=""
&& cmake_opts="$cmake_opts -DUSE_KISSAT=$kissat"
[ $poly != default ] \
&& cmake_opts="$cmake_opts -DUSE_POLY=$poly"
+[ $cocoa != default ] \
+ && cmake_opts="$cmake_opts -DUSE_COCOA=$cocoa"
[ $symfpu != default ] \
&& cmake_opts="$cmake_opts -DUSE_SYMFPU=$symfpu"
[ "$abc_dir" != default ] \
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback