From patchwork Mon Jan 14 14:29:18 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Biener X-Patchwork-Id: 211797 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) by ozlabs.org (Postfix) with SMTP id 042372C00A6 for ; Tue, 15 Jan 2013 01:29:35 +1100 (EST) Comment: DKIM? See http://www.dkim.org DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=gcc.gnu.org; s=default; x=1358778577; h=Comment: DomainKey-Signature:Received:Received:Received:Received:Date: From:To:Cc:Subject:Message-ID:User-Agent:MIME-Version: Content-Type:Mailing-List:Precedence:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:Sender:Delivered-To; bh=I3dv96c RpIa5m21ylgGYEF2uWR8=; b=rhTqtAtew1BJlPNn0thS6yu75243IFDOMownIVM 4wDRB0tmxTo36RcELa+fj5xLMyVpxw+ZA+TOwEyyL9GVQDBt5xh1CynfKxe1X8pR 1qUr9Q8dlCnPvhEQYdSNV2wr1R/sm3eT0Wdb74xvZKuoVFMmPxAZGrfUbWrZHx3p ItHI= Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=gcc.gnu.org; h=Received:Received:X-SWARE-Spam-Status:X-Spam-Check-By:Received:Received:Date:From:To:Cc:Subject:Message-ID:User-Agent:MIME-Version:Content-Type:Mailing-List:Precedence:List-Id:List-Unsubscribe:List-Archive:List-Post:List-Help:Sender:Delivered-To; b=oko0raTURTt7i0JfGLu66IBpVCa00ILQu/54cIewJm0tduKjgSLnrURdy4Qcqf /ByJntO1wcIfXLqezAfU0vALzpsju6uTOQy1KUiejObtmhyxtN9WHAZdlGTFSqUi EMuNVAUyxgTvjYTa7Doa4mX/1Zc917EFRVH8kl0MV6OS8=; Received: (qmail 5441 invoked by alias); 14 Jan 2013 14:29:31 -0000 Received: (qmail 5432 invoked by uid 22791); 14 Jan 2013 14:29:30 -0000 X-SWARE-Spam-Status: No, hits=-5.4 required=5.0 tests=AWL, BAYES_00, KHOP_RCVD_UNTRUST, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from cantor2.suse.de (HELO mx2.suse.de) (195.135.220.15) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 14 Jan 2013 14:29:20 +0000 Received: from relay2.suse.de (unknown [195.135.220.254]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx2.suse.de (Postfix) with ESMTP id BFAD4A3DDF; Mon, 14 Jan 2013 15:29:18 +0100 (CET) Date: Mon, 14 Jan 2013 15:29:18 +0100 (CET) From: Richard Biener To: gcc-patches@gcc.gnu.org Cc: Jakub Jelinek Subject: [PATCH] Allow new ISL/CLooG versions Message-ID: User-Agent: Alpine 2.00 (LNX 1167 2008-08-23) MIME-Version: 1.0 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org This makes us accept the CLooG 0.18.0 and ISL 0.11.1 combo. It's probably not the best stage to move the version checks to gcc/ where we can rely on built in-tree ISL/CLooG, so this avoids it with the caveat that in-tree CLooG 0.18.0 will fail the version check (they no longer ship built version.h but only version.h.in). I verified all GRAPHITE tests pass with 0.18.0/0.11.1. Ok for trunk? Or do people prefer to move CLooG/ISL checks to gcc/ configure time to fix the in-tree use of 0.18.0 and also do version checks of in-tree ISL at all (they don't have a version.h). Thanks, Richard. 2013-01-14 Richard Biener * configure.ac (cloog/isl): Also allow ISL 0.11.x and CLooG 0.18.0. * configure: Re-generate. Index: configure.ac =================================================================== --- configure.ac (revision 195144) +++ configure.ac (working copy) @@ -1606,8 +1606,11 @@ if test "x$with_isl" != "xno" && dnl Provide configure switches and initialize islinc & isllibs dnl with user input. ISL_INIT_FLAGS - dnl The minimal version of ISL required for Graphite. + dnl The versions of ISL that work for Graphite ISL_CHECK_VERSION(0,10) + if test "${gcc_cv_isl}" = no ; then + ISL_CHECK_VERSION(0,11) + fi dnl Only execute fail-action, if ISL has been requested. ISL_IF_FAILED([ AC_MSG_ERROR([Unable to find a usable ISL. See config.log for details.])]) @@ -1617,11 +1620,11 @@ if test "x$with_isl" != "xno" && dnl Provide configure switches and initialize clooginc & clooglibs dnl with user input. CLOOG_INIT_FLAGS - dnl The minimal version of CLooG required for Graphite. - dnl - dnl If we use CLooG-Legacy, the provided version information is - dnl ignored. + dnl The versions of CLooG that work for Graphite. CLOOG_CHECK_VERSION(0,17,0) + if test "${gcc_cv_cloog}" = no ; then + CLOOG_CHECK_VERSION(0,18,0) + fi dnl Only execute fail-action, if CLooG has been requested. CLOOG_IF_FAILED([