Boost logo

Boost-Build :

Subject: [Boost-build] Patch build.sh to recognize intel-darwin
From: Belcourt, Kenneth (kbelco_at_[hidden])
Date: 2010-08-06 12:43:41


Hi,

I'd like to start using the Intel compiler on Darwin to build bjam,
and need to modify build.sh to enable this. Okay to commit this patch?

-- Noel

[kbelco_at_wsblade001 boost-trunk]$ svn diff tools/build/v2/engine/src/
build.sh
Index: tools/build/v2/engine/src/build.sh
===================================================================
--- tools/build/v2/engine/src/build.sh (revision 64643)
+++ tools/build/v2/engine/src/build.sh (working copy)
@@ -29,8 +29,8 @@
      echo "### ./build.sh gcc"
      echo "###"
      echo "### Toolsets supported by this script are:"
- echo "### acc, como, darwin, gcc, intel-linux, kcc, kylix,
mipspro,"
- echo "### mingw(msys), pathscale, pgi, qcc, sun, sunpro,
tru64cxx, vacpp"
+ echo "### acc, como, darwin, gcc, intel-darwin, intel-linux,
kcc, kylix,"
+ echo "### mipspro, mingw(msys), pathscale, pgi, qcc, sun,
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"
@@ -136,6 +136,10 @@
      BOOST_JAM_CC=cc
      ;;

+ intel-darwin)
+ BOOST_JAM_CC=icc
+ ;;
+
      intel-linux)
      if test -r /opt/intel/cc/9.0/bin/iccvars.sh ; then
          BOOST_JAM_TOOLSET_ROOT=/opt/intel/cc/9.0/


Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk