optionally use imath for arbitrary precision integers
authorSebastian Pop <spop@codeaurora.org>
Wed, 12 Feb 2014 17:13:15 +0000 (11:13 -0600)
committerSven Verdoolaege <skimo@kotnet.org>
Thu, 29 May 2014 09:35:29 +0000 (11:35 +0200)
commit60703e3ee89b9d5d4d1afb6a3f611292c0884574
treef68a4a34ab11da33950ffa5b8cb37d6306ccc107
parent399dcf13bef188b1e9c70e48777ec1c72edc375d
optionally use imath for arbitrary precision integers

Some projects such as LLVM and Polly prefer not to use any
LGPL licensed libraries such as GMP.  The optional use of
the MIT licensed IMath library allows them to avoid this.

IMath is included as a submodule to ensure that a single
version of IMath is used for any given version of isl.
The public symbols are prefixed with isl_ to avoid conflicts
with other copies of IMath that may independently be used by
the users of isl.

The deprecated isl_int functions are not supported when IMath is used
since they depend on GMP.  We rename them when IMath is used to ensure
that any attempt to use them in an IMath enabled isl results in
a linker error.

The subdir-objects automake option is turned on since this is the
first time we use source files in subdirectories and since this
option will become the default in future versions of automake.

Signed-off-by: David Peixotto <dpeixott@codeaurora.org>
Signed-off-by: Sebastian Pop <spop@codeaurora.org>
Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
23 files changed:
.gitmodules [new file with mode: 0644]
Makefile.am
basis_reduction_tab.c
configure.ac
doc/user.pod
imath [new submodule]
imath_wrap/gmp_compat.c [new file with mode: 0644]
imath_wrap/gmp_compat.h [new file with mode: 0644]
imath_wrap/imath.c [new file with mode: 0644]
imath_wrap/imath.h [new file with mode: 0644]
imath_wrap/imrat.c [new file with mode: 0644]
imath_wrap/imrat.h [new file with mode: 0644]
imath_wrap/wrap.h [new file with mode: 0644]
isl_hide_deprecated.h [new file with mode: 0644]
isl_imath.c [new file with mode: 0644]
isl_imath.h [new file with mode: 0644]
isl_int.h
isl_int_gmp.h [new file with mode: 0644]
isl_int_imath.h [new file with mode: 0644]
isl_val_imath.c [new file with mode: 0644]
isl_version.c
m4/ax_detect_gmp.m4
m4/ax_detect_imath.m4 [new file with mode: 0644]