Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(215)

Unified Diff: third_party/scons/scons-local/SCons/Tool/ifort.py

Issue 17024: Update to SCons 1.2.0. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 12 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/scons/scons-local/SCons/Tool/ifl.py ('k') | third_party/scons/scons-local/SCons/Tool/ilink.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/scons/scons-local/SCons/Tool/ifort.py
===================================================================
--- third_party/scons/scons-local/SCons/Tool/ifort.py (revision 7505)
+++ third_party/scons/scons-local/SCons/Tool/ifort.py (working copy)
@@ -1,7 +1,7 @@
"""SCons.Tool.ifort
Tool-specific initialization for newer versions of the Intel Fortran Compiler
-for Linux.
+for Linux/Windows (and possibly Mac OS X).
There normally shouldn't be any need to import this module directly.
It will usually be imported through the generic SCons.Tool.Tool()
@@ -32,7 +32,7 @@
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#
-__revision__ = "src/engine/SCons/Tool/ifort.py 3603 2008/10/10 05:46:45 scons"
+__revision__ = "src/engine/SCons/Tool/ifort.py 3842 2008/12/20 22:59:52 scons"
import string
@@ -47,7 +47,7 @@
fscan = FortranScan("FORTRANPATH")
SCons.Tool.SourceFileScanner.add_scanner('.i', fscan)
SCons.Tool.SourceFileScanner.add_scanner('.i90', fscan)
-
+
if not env.has_key('FORTRANFILESUFFIXES'):
env['FORTRANFILESUFFIXES'] = ['.i']
else:
@@ -75,6 +75,9 @@
for var in ['%sCOM' % dialect, '%sPPCOM' % dialect,
'SH%sCOM' % dialect, 'SH%sPPCOM' % dialect]:
env[var] = string.replace(env[var], '-o $TARGET', '-object:$TARGET')
+ env['FORTRANMODDIRPREFIX'] = "/module:"
+ else:
+ env['FORTRANMODDIRPREFIX'] = "-module "
def exists(env):
return env.Detect('ifort')
« no previous file with comments | « third_party/scons/scons-local/SCons/Tool/ifl.py ('k') | third_party/scons/scons-local/SCons/Tool/ilink.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698