Boost logo

Boost-Commit :

From: kbelco_at_[hidden]
Date: 2007-12-03 15:50:59


Author: noel_belcourt
Date: 2007-12-03 15:50:58 EST (Mon, 03 Dec 2007)
New Revision: 41663
URL: http://svn.boost.org/trac/boost/changeset/41663

Log:
Changes to support pgi-7.0 on Linux.
  * pthread requires rt
  * force IEEE 754 math for slow, but correct, numerics

Text files modified:
   trunk/tools/build/v2/tools/pgi.jam | 3 ++-
   1 files changed, 2 insertions(+), 1 deletions(-)

Modified: trunk/tools/build/v2/tools/pgi.jam
==============================================================================
--- trunk/tools/build/v2/tools/pgi.jam (original)
+++ trunk/tools/build/v2/tools/pgi.jam 2007-12-03 15:50:58 EST (Mon, 03 Dec 2007)
@@ -49,6 +49,7 @@
 generators.register-fortran-compiler pgi.compile.fortran : FORTRAN : OBJ : <toolset>pgi ;
 
 # Declare flags and actions for compilation
+flags pgi.compile OPTIONS : -Kieee ;
 flags pgi.compile OPTIONS <link>shared : -shared -fpic ;
 flags pgi.compile OPTIONS <debug-symbols>on : -g ;
 flags pgi.compile OPTIONS <profiling>on : -xprofile=tcov ;
@@ -93,7 +94,7 @@
 flags pgi.link LINKPATH <library-path> ;
 flags pgi.link FINDLIBS-ST <find-static-library> ;
 flags pgi.link FINDLIBS-SA <find-shared-library> ;
-flags pgi.link FINDLIBS-SA <threading>multi : pthread ;
+flags pgi.link FINDLIBS-SA <threading>multi : pthread rt ;
 flags pgi.link LIBRARIES <library-file> ;
 flags pgi.link LINK-RUNTIME <runtime-link>static : static ;
 flags pgi.link LINK-RUNTIME <runtime-link>shared : dynamic ;


Boost-Commit 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