summarylogtreecommitdiffstats
path: root/use_external_ecos.patch
diff options
context:
space:
mode:
authorGuillaume Horel2017-01-20 10:54:53 -0500
committerGuillaume Horel2017-01-20 10:55:19 -0500
commit2da083ab235dc33ffffd55ce78a1fe9417bd32d9 (patch)
treeeca987f646811339ae4e32f612d140d74d1b56f4 /use_external_ecos.patch
downloadaur-2da083ab235dc33ffffd55ce78a1fe9417bd32d9.tar.gz
initial import
Diffstat (limited to 'use_external_ecos.patch')
-rw-r--r--use_external_ecos.patch39
1 files changed, 39 insertions, 0 deletions
diff --git a/use_external_ecos.patch b/use_external_ecos.patch
new file mode 100644
index 00000000000..34e2e916338
--- /dev/null
+++ b/use_external_ecos.patch
@@ -0,0 +1,39 @@
+--- ecos-python-2.0.4-orig/setup.py 2015-09-10 11:33:19.000000000 -0400
++++ ecos-python-2.0.4/setup.py 2017-01-20 10:35:13.330569455 -0500
+@@ -9,7 +9,7 @@
+ from platform import system
+ import numpy
+
+-lib = []
++lib = ['ecos']
+ if system() == 'Linux':
+ lib += ['rt']
+
+@@ -21,25 +21,8 @@
+ ('DLONG', None),
+ ('LDL_LONG', None),
+ ('CTRLC', 1)],
+- include_dirs = ['ecos/include', numpy.get_include(),
+- 'ecos/external/amd/include',
+- 'ecos/external/ldl/include',
+- 'ecos/external/SuiteSparse_config'],
+- sources = ['src/ecosmodule.c',
+- 'ecos/external/ldl/src/ldl.c',
+- 'ecos/src/cone.c',
+- 'ecos/src/ctrlc.c',
+- 'ecos/src/ecos.c',
+- 'ecos/src/equil.c',
+- 'ecos/src/expcone.c',
+- 'ecos/src/kkt.c',
+- 'ecos/src/preproc.c',
+- 'ecos/src/spla.c',
+- 'ecos/src/splamm.c',
+- 'ecos/src/timer.c',
+- 'ecos/src/wright_omega.c'
+- ] + glob('ecos/external/amd/src/*.c')
+- + glob('ecos/ecos_bb/*.c')) # glob bb source files
++ include_dirs = ['/usr/include/ecos/', numpy.get_include()],
++ sources = ['src/ecosmodule.c'])
+
+ setup(
+ name = 'ecos',