[119813] trunk/dports/science/pylal
ram at macports.org
ram at macports.org
Wed May 7 08:46:12 PDT 2014
Revision: 119813
https://trac.macports.org/changeset/119813
Author: ram at macports.org
Date: 2014-05-07 08:46:12 -0700 (Wed, 07 May 2014)
Log Message:
-----------
science/pylal: apply upstream patch to fix build with newer Xcode
Modified Paths:
--------------
trunk/dports/science/pylal/Portfile
Added Paths:
-----------
trunk/dports/science/pylal/files/
trunk/dports/science/pylal/files/7194c874a9674ce9b5d6a715a24ef048195a29f9.diff
Modified: trunk/dports/science/pylal/Portfile
===================================================================
--- trunk/dports/science/pylal/Portfile 2014-05-07 14:51:18 UTC (rev 119812)
+++ trunk/dports/science/pylal/Portfile 2014-05-07 15:46:12 UTC (rev 119813)
@@ -5,6 +5,7 @@
name pylal
version 0.5.0
+revision 1
categories science
platforms darwin
maintainers ram
@@ -45,6 +46,9 @@
port:lalburst \
port:lalinspiral
+patch.pre_args -p2
+patchfiles 7194c874a9674ce9b5d6a715a24ef048195a29f9.diff
+
# py27-scipy is not universal
universal_variant no
Added: trunk/dports/science/pylal/files/7194c874a9674ce9b5d6a715a24ef048195a29f9.diff
===================================================================
--- trunk/dports/science/pylal/files/7194c874a9674ce9b5d6a715a24ef048195a29f9.diff (rev 0)
+++ trunk/dports/science/pylal/files/7194c874a9674ce9b5d6a715a24ef048195a29f9.diff 2014-05-07 15:46:12 UTC (rev 119813)
@@ -0,0 +1,21 @@
+From 7194c874a9674ce9b5d6a715a24ef048195a29f9 Mon Sep 17 00:00:00 2001
+From: Adam Mercer <adam.mercer at ligo.org>
+Date: Tue, 25 Mar 2014 20:01:11 +0000
+Subject: don't use -mfpmath=387 for pylal build
+
+---
+diff --git a/pylal/setup.py b/pylal/setup.py
+index 3422f9a..8620e70 100644
+--- a/pylal/setup.py
++++ b/pylal/setup.py
+@@ -457,7 +457,7 @@ setup(
+ library_dirs = gsl_pkg_config.libdirs + lalsimulation_pkg_config.libdirs + lal_pkg_config.libdirs,
+ runtime_library_dirs = gsl_pkg_config.libdirs + lalsimulation_pkg_config.libdirs + lal_pkg_config.libdirs,
+ libraries = gsl_pkg_config.libs + lalsimulation_pkg_config.libs + lal_pkg_config.libs,
+- extra_compile_args = ["-std=c99", "-ffast-math", "-mfpmath=387", "-O3", "-Wno-unknown-pragmas"] + gsl_pkg_config.extra_cflags + lalsimulation_pkg_config.extra_cflags + lal_pkg_config.extra_cflags, # , "-fopenmp"
++ extra_compile_args = ["-std=c99", "-ffast-math", "-O3", "-Wno-unknown-pragmas"] + gsl_pkg_config.extra_cflags + lalsimulation_pkg_config.extra_cflags + lal_pkg_config.extra_cflags, # , "-fopenmp"
+ #extra_link_args=['-fopenmp']
+ ),
+ Extension(
+--
+cgit v0.9
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140507/539a8e7f/attachment-0001.html>
More information about the macports-changes
mailing list