From: "Andrea Arteaga" <andyspiros@gmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/auto-numerical-bench:unstable commit in: /
Date: Mon, 8 Aug 2011 11:53:01 +0000 (UTC) [thread overview]
Message-ID: <e5a2c34a80bc1cfd984789f8c82a84c70c19f8bb.spiros@gentoo> (raw)
commit: e5a2c34a80bc1cfd984789f8c82a84c70c19f8bb
Author: Andrea Arteaga <andyspiros <AT> gmail <DOT> com>
AuthorDate: Mon Aug 8 11:50:33 2011 +0000
Commit: Andrea Arteaga <andyspiros <AT> gmail <DOT> com>
CommitDate: Mon Aug 8 11:50:33 2011 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/auto-numerical-bench.git;a=commit;h=e5a2c34a
Solve a PBLAS block issue. Log the pkg-config runs.
---
basemodule.py | 6 ++++++
pblas.py | 2 +-
2 files changed, 7 insertions(+), 1 deletions(-)
diff --git a/basemodule.py b/basemodule.py
index 8a1d180..b55adfc 100644
--- a/basemodule.py
+++ b/basemodule.py
@@ -181,9 +181,13 @@ class BaseTest:
# 1. Run with no requires
pfile = pc.GetFile(self.libname, self.impl, self.root)
flags = pc.Run(pfile, self.root, False)
+ logfile = file(pjoin(self.logdir, 'pkg-config.log'), 'w')
+ print >> logfile, "File:", pfile
+ print >> logfile, "Result:", flags
# 2. Get requires
requires = pc.Requires(pfile)
+ print >> logfile, "Requires:", requires
# 3.Substitute requires and add flags
for r in requires:
@@ -192,6 +196,8 @@ class BaseTest:
flags += ' ' + pc.Run(pfile)
else:
flags += ' ' + pc.Run(r)
+ print >> logfile, "Third run:", flags
+ logfile.close()
return shlex.split(flags)
diff --git a/pblas.py b/pblas.py
index 64d1eb7..e4a7d73 100644
--- a/pblas.py
+++ b/pblas.py
@@ -62,7 +62,7 @@ class PBLASTest(btlbase.BTLTest):
@staticmethod
def _btl_includes():
- return ["libs/BLAS", "libs/BLACS", "libs/PBLAS", "libs/STL"]
+ return ["libs/"+i for i in ("BLAS", "LAPACK", "BLACS", "PBLAS", "STL")]
def _btl_defines(self):
return ["PBLASNAME="+self.libname]
\ No newline at end of file
next reply other threads:[~2011-08-08 11:53 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-08-08 11:53 Andrea Arteaga [this message]
-- strict thread matches above, loose matches on Subject: below --
2011-08-14 12:35 [gentoo-commits] proj/auto-numerical-bench:master commit in: / Andrea Arteaga
2011-08-14 11:15 ` [gentoo-commits] proj/auto-numerical-bench:unstable " Andrea Arteaga
2011-08-14 11:15 Andrea Arteaga
2011-08-09 0:00 [gentoo-commits] proj/auto-numerical-bench:master " Andrea Arteaga
2011-08-14 11:15 ` [gentoo-commits] proj/auto-numerical-bench:unstable " Andrea Arteaga
2011-08-08 11:53 Andrea Arteaga
2011-08-05 17:23 Andrea Arteaga
2011-07-25 11:23 Andrea Arteaga
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=e5a2c34a80bc1cfd984789f8c82a84c70c19f8bb.spiros@gentoo \
--to=andyspiros@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