blob: 07c36eb67d29fb5c73f40c2a39a2006917f589e3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
--- a/config/BuildSystem/config/packages/petsc4py.py
+++ b/config/BuildSystem/config/packages/petsc4py.py
@@ -46,7 +46,7 @@
# if installing prefix location then need to set new value for PETSC_DIR/PETSC_ARCH
if self.argDB['prefix'] and not 'package-prefix-hash' in self.argDB:
- newdir = 'PETSC_DIR='+os.path.abspath(os.path.expanduser(self.argDB['prefix']))+' '+'PETSC_ARCH= MPICC=${PCC} '
+ newdir = 'MPICC=${PCC} '
else:
newdir = 'MPICC=${PCC} '
|