Skip to content

Commit

Permalink
Trac #28231: spkg-configure.m4 for lrcalc
Browse files Browse the repository at this point in the history
lrcalc is available in Debian (`lrcalc` and `liblrcalc-dev`) and in
Fedora (`lrcalc-devel`)

On Fedora one also needs to run "module load lrcalc-x86_64" to add the
location of `rlcalc` binaries to PATH, although it appears to be not
important, as only the dylib of lrcalc is used in Sage.

URL: https://trac.sagemath.org/28231
Reported by: dimpase
Ticket author(s): Dima Pasechnik
Reviewer(s): Isuru Fernando
  • Loading branch information
Release Manager committed Aug 4, 2019
2 parents 7ff2a50 + 6afb95a commit 189a96b
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions build/pkgs/lrcalc/spkg-configure.m4
@@ -0,0 +1,9 @@
SAGE_SPKG_CONFIGURE([lrcalc], [
AC_CHECK_HEADERS([lrcalc/schublib.h], [
AC_SEARCH_LIBS([mult_poly_schubert], [lrcalc], [], [sage_spkg_install_lrcalc=yes])
], [sage_spkg_install_lrcalc=yes],
[[#ifndef _HASHTAB_H
#include <lrcalc/hashtab.h>
#include <lrcalc/vector.h>
#endif]])
])

0 comments on commit 189a96b

Please sign in to comment.