[cig-commits] commit: Modify ifort options for Mac

Mercurial hg at geodynamics.org
Tue Oct 25 14:21:54 PDT 2011


changeset:   42:c71f0400b515
tag:         tip
user:        Walter Landry <wlandry at caltech.edu>
date:        Tue Oct 25 14:20:15 2011 -0700
files:       wscript
description:
Modify ifort options for Mac


diff -r e57c5dbe19c4 -r c71f0400b515 wscript
--- a/wscript	Fri Oct 21 17:01:53 2011 -0700
+++ b/wscript	Tue Oct 25 14:20:15 2011 -0700
@@ -43,8 +43,13 @@ def options(opt):
     other.add_option('--use-ctfft', action='store_true', default=False,
                      help='Use slow internal CTFFT instead of MKL or FFTW')
 
+def ifort_modifier_darwin(conf):
+    from waflib.Tools import fc_config
+    fc_config.fortran_modifier_darwin(conf)
 
 def configure(cnf):
+    from waflib.Configure import conf
+    conf(ifort_modifier_darwin)
     cnf.load('compiler_c compiler_fc')
 
     # Find Proj



More information about the CIG-COMMITS mailing list