Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

ENH: use new arch tool on mac os x.

Right now, we only build for the "native" arch, but the mechanism in
place should allow for easily overridable arch builds.
  • Loading branch information...
commit ebd9038117e1398e5948de67da66a3382f3dadc4 1 parent 4f0ab57
@cournape cournape authored
Showing with 5 additions and 0 deletions.
  1. +5 −0 bscript
View
5 bscript
@@ -141,6 +141,7 @@ def post_configure(context):
conf.load("compiler_fc")
conf.load("f2py", tooldir=[WAF_TOOLDIR])
conf.load("ordered_c", tooldir=[WAF_TOOLDIR])
+ conf.load("arch", tooldir=[WAF_TOOLDIR])
if conf.env.CC_NAME == 'gcc':
conf.env.append_value('CFLAGS_PYEXT', "-Wfatal-errors")
@@ -149,6 +150,10 @@ def post_configure(context):
if sys.platform == "darwin":
conf.env["MACOSX_DEPLOYMENT_TARGET"] = "10.4"
+ conf.check_cc_default_arch()
+ archs = [conf.env.DEFAULT_CC_ARCH]
+ conf.env.ARCH = archs
+
conf.check_fortran_verbose_flag()
conf.check_fortran_clib()
conf.check_fortran_dummy_main()
Please sign in to comment.
Something went wrong with that request. Please try again.