-
-
Notifications
You must be signed in to change notification settings - Fork 491
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build/pkgs/{givaro,fflas_ffpack,linbox}: Accept matching sets of old …
…and new versions
- Loading branch information
Matthias Koeppe
committed
Feb 2, 2024
1 parent
5ad42e8
commit db7703c
Showing
3 changed files
with
14 additions
and
6 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
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
SAGE_SPKG_CONFIGURE([givaro], [ | ||
PKG_CHECK_MODULES([GIVARO], | ||
[givaro >= 4.1.1], | ||
[givaro >= 4.1.1],dnl The version test is refined in linbox/spkg-configure.m4 | ||
[sage_spkg_install_givaro=no], | ||
[sage_spkg_install_givaro=yes]) | ||
]) |
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 |
---|---|---|
@@ -1,8 +1,16 @@ | ||
SAGE_SPKG_CONFIGURE([linbox], [ | ||
SAGE_SPKG_DEPCHECK([fflas_ffpack flint fplll givaro gmp iml m4ri m4rie mpfr ntl], [ | ||
PKG_CHECK_MODULES([LINBOX], | ||
[linbox >= 1.6.3 linbox <= 1.6.4], | ||
[sage_spkg_install_linbox=no], | ||
[sage_spkg_install_linbox=yes]) | ||
PKG_CHECK_MODULES([LINBOX],dnl Check for a set of matching old versions | ||
[linbox >= 1.6.3 linbox <= 1.6.4 fflas-ffpack >= 2.4.0 fflas-ffpack < 2.5.0 givaro >= 4.1.1 givaro < 4.2.0], | ||
[sage_spkg_install_linbox=no], | ||
[PKG_CHECK_MODULES([LINBOX],dnl Check for a set of matching new versions | ||
[linbox >= 1.7.0 linbox <= 1.7.0 fflas-ffpack >= 2.5.0 givaro >= 4.2.0 givaro < 4.3.0], | ||
[sage_spkg_install_linbox=no], | ||
[sage_spkg_install_linbox=yes])]) | ||
]) | ||
], [dnl REQUIRED_CHECK | ||
], [dnl PRE | ||
], [dnl POST | ||
sage_spkg_install_fflas_ffpack=$sage_spkg_install_linbox | ||
sage_spkg_install_givaro=$sage_spkg_install_linbox | ||
]) |