File: numpy_paths.patch

package info (click to toggle)
adios 1.13.1-31
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 23,692 kB
  • sloc: ansic: 133,236; f90: 8,791; sh: 7,779; python: 7,648; xml: 3,793; makefile: 2,996; cpp: 2,340; java: 626; sed: 16; perl: 8
file content (31 lines) | stat: -rw-r--r-- 1,204 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
Author: Alastair McKinstry <mckinstry@debian.org>
Description: Hack to enable wrappers to work in-situ during build for testing
Last-Updated: 2015-12-30
Forwarded: not-needed

Index: adios-1.13.0/wrappers/numpy/setup.py
===================================================================
--- adios-1.13.0.orig/wrappers/numpy/setup.py
+++ adios-1.13.0/wrappers/numpy/setup.py
@@ -18,7 +18,7 @@ from subprocess import check_output
 m1 = Extension('adios.adios',
                sources=['adios.cpp'],
                define_macros=[('_NOMPI', None)],
-               include_dirs = [np.get_include()],
+               include_dirs = [np.get_include(), '../../src/public'],
                library_dirs = [],
                libraries = [],
                extra_objects = [],
Index: adios-1.13.0/wrappers/numpy/setup_mpi.py
===================================================================
--- adios-1.13.0.orig/wrappers/numpy/setup_mpi.py
+++ adios-1.13.0/wrappers/numpy/setup_mpi.py
@@ -27,7 +27,7 @@ import argparse
 #   sys.exit(0)
 
 # Default option values
-include_dirs = []
+include_dirs = [np.get_include(), '../../src/public'],
 library_dirs = []
 extra_compile_args = []
 extra_link_args = []