From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 4B50913897B for ; Sun, 10 Feb 2013 22:11:24 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B802D21C001; Sun, 10 Feb 2013 22:11:23 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 4DD7821C001 for ; Sun, 10 Feb 2013 22:11:22 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id F1BA533D8FF for ; Sun, 10 Feb 2013 22:11:21 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 819BCE4073 for ; Sun, 10 Feb 2013 22:11:20 +0000 (UTC) From: "Jens-Malte Gottfried" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Jens-Malte Gottfried" Message-ID: <1360534198.0e5df6dfda0746deb6cda2caad33db7318c2bc80.jmg@gentoo> Subject: [gentoo-commits] proj/sci:master commit in: sci-mathematics/petsc/ X-VCS-Repository: proj/sci X-VCS-Files: sci-mathematics/petsc/petsc-3.3_p5.ebuild X-VCS-Directories: sci-mathematics/petsc/ X-VCS-Committer: jmg X-VCS-Committer-Name: Jens-Malte Gottfried X-VCS-Revision: 0e5df6dfda0746deb6cda2caad33db7318c2bc80 X-VCS-Branch: master Date: Sun, 10 Feb 2013 22:11:20 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: fd1c2e3d-ff54-4480-8033-9eec6f8bb163 X-Archives-Hash: 9d879f99c73658ac01b749b654609df8 commit: 0e5df6dfda0746deb6cda2caad33db7318c2bc80 Author: Jens-Malte Gottfried web de> AuthorDate: Sun Feb 10 22:09:58 2013 +0000 Commit: Jens-Malte Gottfried godefridus de> CommitDate: Sun Feb 10 22:09:58 2013 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=0e5df6df added warning about petsc threads support and swithed to scrolling config output which does not scramble tty output (but is very verbose) --- sci-mathematics/petsc/petsc-3.3_p5.ebuild | 14 +++++++++----- 1 files changed, 9 insertions(+), 5 deletions(-) diff --git a/sci-mathematics/petsc/petsc-3.3_p5.ebuild b/sci-mathematics/petsc/petsc-3.3_p5.ebuild index 6f0acd7..81de267 100644 --- a/sci-mathematics/petsc/petsc-3.3_p5.ebuild +++ b/sci-mathematics/petsc/petsc-3.3_p5.ebuild @@ -106,21 +106,25 @@ src_configure() { filter-flags -O* fi - # enable C Support on Cxx build if possible - local petscCSupp - if use cxx && ! use complex-scalars; then - petscCSupp="--with-c-support=1" + # C Support on Cxx builds is enabled if possible + # i.e. when not using complex scalars + # (no complex type for both available at the same time) + + if use threads; then + ewarn "Threads support may be incomplete on $PN-3.3 release and is not officially supported." + ewarn "Upstream recommends not to enable threads support for production runs." fi # run petsc configure script econf \ + scrollOutput=1 \ CFLAGS="${CFLAGS}" \ CXXFLAGS="${CXXFLAGS}" \ LDFLAGS="${LDFLAGS}" \ --with-shared-libraries \ --with-single-library \ --with-clanguage=${mylang} \ - $petscCSupp \ + $(use cxx && ! use complex-scalars && echo "with-c-support=1") \ --with-petsc-arch=${PETSC_ARCH} \ --with-precision=double \ --with-gnu-compilers \