This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Cloog ISL - and linking of libisl
- From: Tobias Burnus <burnus at net-b dot de>
- To: Sebastian Pop <sebpop at gmail dot com>, Tobias Grosser <grosser at fim dot uni-passau dot de>, gcc patches <gcc-patches at gcc dot gnu dot org>
- Date: Tue, 15 Feb 2011 20:07:43 +0100
- Subject: Cloog ISL - and linking of libisl
Dear Sebastian and Tobias, hello all,
I think GCC should automatically link libisl ("-lisl") if one configures
GCC to use cloog-isl. That's the first patch at
http://gcc.gnu.org/ml/gcc-patches/2010-11/msg01272.html , which remains
unreviewed. (The second part about "-lpwl" looks a bit odd.)
The issue came also up today at #gfortran - and the proposed solutions
was the same.
I think automatically linking libisl makes sense and is also in line
with PPL, which is linked via the toplevel configure.ac (cf. second -
bogus - part of the linked patch or simply the file itself).
The patch I am talking about is:
Index: config/cloog.m4
===================================================================
--- config/cloog.m4 (revision 166641)
+++ config/cloog.m4 (working copy)
@@ -143,7 +143,7 @@
;;
"ISL")
clooginc="${clooginc} ${_cloogorginc}"
- clooglibs="${clooglibs} -lcloog-isl"
+ clooglibs="${clooglibs} -lcloog-isl -lisl"
cloog_org=yes
;;
"PPL")
Tobias