File: sundials7_MPI.patch

package info (click to toggle)
opendrop 3.3.2-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 26,940 kB
  • sloc: python: 18,944; cpp: 1,031; makefile: 25; sh: 7
file content (17 lines) | stat: -rw-r--r-- 335 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
--- a/SConstruct
+++ b/SConstruct
@@ -30,8 +30,13 @@
 
 env['BUILDDIR'] = GetOption('build_dir')
 
+env['CXX'] = 'mpicxx'
+
 env.Append(
-    ENV={'PATH': os.environ['PATH']},
+    ENV={
+        'PATH': os.environ['PATH'],
+        'HOME': os.environ['HOME'],
+    },
     CPPPATH=[env.Dir('include')],
     CCFLAGS=[
         '-O3',