|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r59508 - trunk/tools/build/v2/tools
From: ghost_at_[hidden]
Date: 2010-02-05 06:51:47
Author: vladimir_prus
Date: 2010-02-05 06:51:46 EST (Fri, 05 Feb 2010)
New Revision: 59508
URL: http://svn.boost.org/trac/boost/changeset/59508
Log:
Use the pathf90 compiler for all compilation.
Patch from Spencer E. Olson.
Here's the explanation from email:
The version of pathscale that I have access to is 3.2 and there doesn't seem
to be a pathf77 executable. The man pages do not reference it, and there is
also not a -f77 option that specifies that the code is fortran 77. Rather,
the man pages indicate that pathscale only recognizes the difference between
free form and fixed form fortran instead of F77 vs F90 vs F95.
Does anyone have an available installation that differs from this? If not,
I'll submit another small patch for changing this to using pathf90 to compile
f77 code--I've tested it and it appears to work well enough.
Text files modified:
trunk/tools/build/v2/tools/pathscale.jam | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
Modified: trunk/tools/build/v2/tools/pathscale.jam
==============================================================================
--- trunk/tools/build/v2/tools/pathscale.jam (original)
+++ trunk/tools/build/v2/tools/pathscale.jam 2010-02-05 06:51:46 EST (Fri, 05 Feb 2010)
@@ -36,7 +36,7 @@
# fortran support
local f-command = [ common.get-invocation-command pathscale : pathf90 : $(command) ] ;
- local command_f = $(command_f[1--2]) $(f-command[-1]:B=pathf77) ;
+ local command_f = $(command_f[1--2]) $(f-command[-1]:B=pathf90) ;
local command_f90 = $(command_f[1--2]) $(f-command[-1]:B=pathf90) ;
toolset.flags pathscale CONFIG_F_COMMAND $(condition) : $(command_f) ;
@@ -87,7 +87,7 @@
actions compile.fortran
{
- "$(CONFIG_F_COMMAND)" -f77 $(OPTIONS) -D$(DEFINES) -I"$(INCLUDES)" -c -o "$(<)" "$(>)"
+ "$(CONFIG_F_COMMAND)" $(OPTIONS) -D$(DEFINES) -I"$(INCLUDES)" -c -o "$(<)" "$(>)"
}
rule compile.fortran90 ( targets * : sources * : properties * )
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