]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - contrib/download_prerequisites
replace ISL with isl
[thirdparty/gcc.git] / contrib / download_prerequisites
index cc27143ea25436147695ac4821e586c0ff5b660c..cf97ec9daa89dceb4c168b1303c6890ee7e582de 100755 (executable)
 # You should have received a copy of the GNU General Public License
 # along with this program. If not, see http://www.gnu.org/licenses/.
 
-# If you want to build GCC with the Graphite loop optimizations,
-# set GRAPHITE_LOOP_OPT=yes to download optional prerequisties
-# ISL Library and CLooG.
+# If you want to disable Graphite loop optimizations while building GCC,
+# DO NOT set GRAPHITE_LOOP_OPT as yes so that the isl package will not
+# be downloaded.
 GRAPHITE_LOOP_OPT=yes
 
+if [ ! -e gcc/BASE-VER ] ; then
+       echo "You must run this script in the top level GCC source directory."
+       exit 1
+fi
+
 # Necessary to build GCC.
 MPFR=mpfr-2.4.2
 GMP=gmp-4.3.2
@@ -43,14 +48,9 @@ ln -sf $MPC mpc || exit 1
 
 # Necessary to build GCC with the Graphite loop optimizations.
 if [ "$GRAPHITE_LOOP_OPT" = "yes" ] ; then
-  ISL=isl-0.12.2
-  CLOOG=cloog-0.18.1
+  ISL=isl-0.15
 
   wget ftp://gcc.gnu.org/pub/gcc/infrastructure/$ISL.tar.bz2 || exit 1
   tar xjf $ISL.tar.bz2  || exit 1
   ln -sf $ISL isl || exit 1
-
-  wget ftp://gcc.gnu.org/pub/gcc/infrastructure/$CLOOG.tar.gz || exit 1
-  tar xzf $CLOOG.tar.gz || exit 1
-  ln -sf $CLOOG cloog || exit 1
 fi