[prev in list] [next in list] [prev in thread] [next in thread]
List: boost-build
Subject: Re: [Boost-build] [Boost][build] Bjam with Pathscale and Pgi
From: "K. Noel Belcourt" <kbelco () sandia ! gov>
Date: 2007-06-07 3:09:10
Message-ID: 0FCF873B-F2EF-471E-A3DD-DA720EFC5ADA () sandia ! gov
[Download RAW message or body]
On Jun 6, 2007, at 5:43 PM, Rene Rivera wrote:
> K. Noel Belcourt wrote:
>> The attached patches support building bjam with the pgi and pathscale
>> compilers. If there's no objections, I'll commit them to the HEAD.
>
> They seem OK. Are there ways to auto-detect pgi and pathscale?
I don't know the default installation location for these toolsets so
I've just added the test_path logic for Pgi and Pathscale.
-- Noel
[Attachment #3 (multipart/appledouble)]
["build.sh.diff" (application/applefile)]
["build.sh.diff;" (build.sh.diff;)]
Index: build.sh
===================================================================
RCS file: /cvsroot/boost/boost/tools/jam/src/build.sh,v
retrieving revision 1.42
diff -u -r1.42 build.sh
--- build.sh 3 Feb 2006 16:57:42 -0000 1.42
+++ build.sh 7 Jun 2007 03:04:40 -0000
@@ -30,7 +30,7 @@
echo "###"
echo "### Toolsets supported by this script are:"
echo "### acc, como, darwin, gcc, intel-linux, kcc, kylix, mipspro,"
- echo "### mingw(msys), qcc, sunpro, tru64cxx, vacpp"
+ echo "### mingw(msys), pathscale, pgi, qcc, sunpro, tru64cxx, vacpp"
echo "###"
echo "### A special toolset; cc, is available which is used as a fallback"
echo "### when a more specific toolset is not found and the cc command is"
@@ -86,6 +86,8 @@
elif test -r /opt/intel/compiler50/ia32/bin/iccvars.sh ; then
BOOST_JAM_TOOLSET=intel-linux
BOOST_JAM_TOOLSET_ROOT=/opt/intel/compiler50/ia32/
+ elif test_path pgcc ; then BOOST_JAM_TOOLSET=pgi
+ elif test_path pathcc ; then BOOST_JAM_TOOLSET=pathscale
elif test_path xlc ; then BOOST_JAM_TOOLSET=vacpp
elif test_path como ; then BOOST_JAM_TOOLSET=como
elif test_path KCC ; then BOOST_JAM_TOOLSET=kcc
@@ -183,6 +185,14 @@
BOOST_JAM_CC=cc
;;
+ pathscale)
+ BOOST_JAM_CC=pathcc
+ ;;
+
+ pgi)
+ BOOST_JAM_CC=pgcc
+ ;;
+
sunpro)
if test -z "${BOOST_JAM_TOOLSET_ROOT}" -a -r /opt/SUNWspro/bin/cc ; then
BOOST_JAM_TOOLSET_ROOT=/opt/SUNWspro/
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic