-
-
Notifications
You must be signed in to change notification settings - Fork 672
Description
iml only works with MP_LIBRARY provided in SAGE_LOCAL, at least this is the case on Debian 9.
they have a very old autoconf macro to detect GMP, which it particular won't work for libgmp in some arch-specfic location such as /usr/lib64/.
This breaks #27212. It works with GMP provided by the system if I just remove the call to their macro, re-run their bootstrap, repackage tarball.
--- a/configure.ac
+++ b/configure.ac
@@ -68,13 +68,6 @@ AC_CHECK_FUNCS(calloc floor)
IML_VERBOSE_MODE
IML_DEFAULT_PATH
-IML_CHECK_GMP(,,[AC_MSG_ERROR(
-GMP not found!
-GMP version 3.1.1 or greater is required for this library to compile.
-Please make sure GMP is installed and specify the header and libraries
-location with the options --with-gmp-include=<path> and --with-gmp-lib=<path>
-respectively when running configure.
-)])
IML_CHECK_CBLAS(,,[AC_MSG_WARN(
CBLAS not found!
While we are at it, it makes sense to update iml to the latest version 1.0.5 (we are at 1.0.4).
It should also get spkg-configure.m4
tarball: http://www.cs.uwaterloo.ca/~astorjoh/iml-1.0.5.tar.bz2
CC: @embray @orlitzky @mkoeppe @isuruf
Component: build: configure
Keywords: freebsd
Author: Dima Pasechnik
Branch/Commit: 5a34c90
Reviewer: Isuru Fernando
Issue created by migration from https://trac.sagemath.org/ticket/27272