public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Guillaume Horel" <guillaume.horel@gmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/sci:master commit in: sci-mathematics/scilab/
Date: Thu, 18 Oct 2012 14:06:57 +0000 (UTC)	[thread overview]
Message-ID: <1350569186.772b10e89a1c8f16862d3b25b076e68eaa4ee360.guillaume_horel@gentoo> (raw)

commit:     772b10e89a1c8f16862d3b25b076e68eaa4ee360
Author:     Guillaume Horel <guillaume.horel <AT> gmail <DOT> com>
AuthorDate: Thu Oct 18 14:06:26 2012 +0000
Commit:     Guillaume Horel <guillaume.horel <AT> gmail <DOT> com>
CommitDate: Thu Oct 18 14:06:26 2012 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=772b10e8

[sci-mathematics/scilab] revert part of commit 033255b367

---
 sci-mathematics/scilab/scilab-5.3.3-r1.ebuild |    4 ++++
 sci-mathematics/scilab/scilab-5.4.0.ebuild    |    4 ++++
 2 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/sci-mathematics/scilab/scilab-5.3.3-r1.ebuild b/sci-mathematics/scilab/scilab-5.3.3-r1.ebuild
index 912bb81..a9883ea 100644
--- a/sci-mathematics/scilab/scilab-5.3.3-r1.ebuild
+++ b/sci-mathematics/scilab/scilab-5.3.3-r1.ebuild
@@ -93,6 +93,10 @@ pkg_pretend() {
 
 pkg_setup() {
 	if use openmp; then
+		if [[ $(tc-getCC) == *gcc* ]] && ! tc-has-openmp; then
+			ewarn "You are using a gcc without OpenMP capabilities"
+			die "Need an OpenMP capable compiler"
+		fi
 		FORTRAN_NEED_OPENMP=1
 	fi
 	FORTRAN_STANDARD="77 90"

diff --git a/sci-mathematics/scilab/scilab-5.4.0.ebuild b/sci-mathematics/scilab/scilab-5.4.0.ebuild
index 0b245d6..f2e4e6c 100644
--- a/sci-mathematics/scilab/scilab-5.4.0.ebuild
+++ b/sci-mathematics/scilab/scilab-5.4.0.ebuild
@@ -96,6 +96,10 @@ pkg_pretend() {
 
 pkg_setup() {
 	if use openmp; then
+		if [[ $(tc-getCC) == *gcc* ]] && ! tc-has-openmp; then
+			ewarn "You are using a gcc without OpenMP capabilities"
+			die "Need an OpenMP capable compiler"
+		fi
 		FORTRAN_NEED_OPENMP=1
 	fi
 	FORTRAN_STANDARD="77 90"


             reply	other threads:[~2012-10-18 14:07 UTC|newest]

Thread overview: 44+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-18 14:06 Guillaume Horel [this message]
  -- strict thread matches above, loose matches on Subject: below --
2021-12-16 10:57 [gentoo-commits] proj/sci:master commit in: sci-mathematics/scilab/ Andrew Ammerlaan
2021-03-21 12:38 Andrew Ammerlaan
2021-01-25  8:46 Andrew Ammerlaan
2021-01-24 21:05 Andrew Ammerlaan
2021-01-24 21:05 Andrew Ammerlaan
2021-01-24 21:05 Andrew Ammerlaan
2021-01-24 21:05 Andrew Ammerlaan
2021-01-24 21:05 Andrew Ammerlaan
2021-01-24 21:05 Andrew Ammerlaan
2021-01-24 21:05 Andrew Ammerlaan
2021-01-19 16:56 Andrew Ammerlaan
2021-01-11 18:12 Andrew Ammerlaan
2021-01-11 18:11 Andrew Ammerlaan
2015-09-21 19:05 Justin Lecher
2015-09-01  7:57 Justin Lecher
2015-07-31 10:09 Justin Lecher
2015-07-31 10:09 Justin Lecher
2015-07-23 21:06 Jauhien Piatlicki
2015-07-10  3:59 Nicolas Bock
2015-02-01  3:01 Guillaume Horel
2015-02-01  3:01 Guillaume Horel
2014-11-01 16:44 Guillaume Horel
2014-05-05 22:44 Guillaume Horel
2013-11-01  1:59 Guillaume Horel
2013-11-01  1:59 Guillaume Horel
2013-10-21 21:41 Christoph Junghans
2013-06-03 23:33 Christoph Junghans
2013-05-10  0:34 Guillaume Horel
2013-02-22 10:15 Justin Lecher
2013-01-19 17:46 Guillaume Horel
2013-01-08  2:27 Guillaume Horel
2012-11-27  3:30 Guillaume Horel
2012-10-18  4:34 Guillaume Horel
2012-10-18  4:28 Guillaume Horel
2012-10-02  5:50 Guillaume Horel
2012-09-25  6:08 Guillaume Horel
2012-08-11 22:23 Guillaume Horel
2012-05-30  1:26 Guillaume Horel
2011-12-23  1:02 Guillaume Horel
2011-09-19  3:45 Guillaume Horel
2011-06-30 13:44 Guillaume Horel
2011-06-30 13:44 Guillaume Horel
2011-06-24 17:09 Justin Lecher

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1350569186.772b10e89a1c8f16862d3b25b076e68eaa4ee360.guillaume_horel@gentoo \
    --to=guillaume.horel@gmail.com \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox