From patchwork Thu Jul 17 14:11:26 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Roman Gareev X-Patchwork-Id: 371181 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]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 13111140080 for ; Fri, 18 Jul 2014 00:11:39 +1000 (EST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender :mime-version:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; q=dns; s=default; b=bha5Jq2B5ea61j+S8L BzlltXyzzs5+P7APemKDliUxUI/IYy6GceXdqDoIWK7Pxwft1u439OJD7IWkdeNc BgmKB6OVChgkx45GhKLShjZHzE65Y9KwSqoyW7siqpFo6zYJxpcLaeHwW1Oi+sts cEe8jBxn05lqAiEe/c9mTMty0= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender :mime-version:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; s=default; bh=hyKUIx265jFYm44kcEdMzCwe vDI=; b=nwVyQ8UgBLpX0CQPgrcnjRYn2MryvuAocBPENJ3mZ/la6D5nsvIafoCO Yi8eZzM9bATWSEZHBmmmv8my1gVH358g7V+VSjfBpjI6BXibeAw7IwfRRKjasFbX md5SE5l/c2M3qzljthzTdLrlp7XFAs3ojZw9TWuU4tjdYO3JwHE= Received: (qmail 21366 invoked by alias); 17 Jul 2014 14:11:32 -0000 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 Received: (qmail 21349 invoked by uid 89); 17 Jul 2014 14:11:31 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.7 required=5.0 tests=AWL, BAYES_00, FREEMAIL_FROM, RCVD_IN_DNSWL_LOW, SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-pa0-f45.google.com Received: from mail-pa0-f45.google.com (HELO mail-pa0-f45.google.com) (209.85.220.45) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Thu, 17 Jul 2014 14:11:29 +0000 Received: by mail-pa0-f45.google.com with SMTP id eu11so3452225pac.32 for ; Thu, 17 Jul 2014 07:11:27 -0700 (PDT) MIME-Version: 1.0 X-Received: by 10.68.252.7 with SMTP id zo7mr28624100pbc.102.1405606287523; Thu, 17 Jul 2014 07:11:27 -0700 (PDT) Received: by 10.70.128.74 with HTTP; Thu, 17 Jul 2014 07:11:26 -0700 (PDT) In-Reply-To: <53C66BC7.3010506@grosser.es> References: <53A1E2B9.3090205@grosser.es> <53A7F4F6.6000707@grosser.es> <53A82B9A.5000104@grosser.es> <53C3B4AE.1010705@arm.com> <53C54A1E.3030604@grosser.es> <53C649D3.7010807@grosser.es> <53C66BC7.3010506@grosser.es> Date: Thu, 17 Jul 2014 20:11:26 +0600 Message-ID: Subject: Re: [GSoC] Addition of ISL AST generation to Graphite From: Roman Gareev To: Tobias Grosser Cc: Mircea Namolaru , Richard Biener , kyrylo.tkachov@arm.com, Rainer Orth , gcc-patches@gcc.gnu.org I've attached the patch, which adds the requirement for isl 0.12. Tobias, is it important to accept only 0.12.1, 0.12.2 and forbid 0.12? --- Cheers, Roman Gareev 2014-07-12 Roman Gareev * configure.ac: Don't accept isl 0.11. * configure: Regenerate. Index: configure =================================================================== --- configure (revision 212756) +++ configure (working copy) @@ -5898,54 +5898,6 @@ LDFLAGS="${_isl_saved_LDFLAGS} ${isllibs}" LIBS="${_isl_saved_LIBS} -lisl" - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for version 0.11 of ISL" >&5 -$as_echo_n "checking for version 0.11 of ISL... " >&6; } - if test "$cross_compiling" = yes; then : - gcc_cv_isl=yes -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - #include -int -main () -{ -if (strncmp (isl_version (), "isl-0.11", strlen ("isl-0.11")) != 0) - return 1; - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_run "$LINENO"; then : - gcc_cv_isl=yes -else - gcc_cv_isl=no -fi -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ - conftest.$ac_objext conftest.beam conftest.$ac_ext -fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_isl" >&5 -$as_echo "$gcc_cv_isl" >&6; } - - CFLAGS=$_isl_saved_CFLAGS - LDFLAGS=$_isl_saved_LDFLAGS - LIBS=$_isl_saved_LIBS - fi - - - if test "${gcc_cv_isl}" = no ; then - - if test "${ENABLE_ISL_CHECK}" = yes ; then - _isl_saved_CFLAGS=$CFLAGS - _isl_saved_LDFLAGS=$LDFLAGS - _isl_saved_LIBS=$LIBS - - CFLAGS="${_isl_saved_CFLAGS} ${islinc} ${gmpinc}" - LDFLAGS="${_isl_saved_LDFLAGS} ${isllibs}" - LIBS="${_isl_saved_LIBS} -lisl" - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for version 0.12 of ISL" >&5 $as_echo_n "checking for version 0.12 of ISL... " >&6; } if test "$cross_compiling" = yes; then : @@ -5983,7 +5935,6 @@ fi - fi Index: configure.ac =================================================================== --- configure.ac (revision 212756) +++ configure.ac (working copy) @@ -1650,10 +1650,7 @@ dnl with user input. ISL_INIT_FLAGS dnl The versions of ISL that work for Graphite - ISL_CHECK_VERSION(0,11) - if test "${gcc_cv_isl}" = no ; then - ISL_CHECK_VERSION(0,12) - fi + ISL_CHECK_VERSION(0,12) 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.])])