On Wed, 29 May 2013, Satish Balay wrote: > ok - pushed this commit - and the removal of __SDIR__ to > 'balay/remove-sdir' [which is branched off 'jed/gnumake'] > > The SDIR removal affects quiet a few routines - and a few > structures. And its probable I missed fixed something [or fixed > something incorrectly that the compiler didn't catch] > > Basic builds run fine. > > >>>>>> > commit 4a020275677b3c7c915947a9a8df98db6a86b95d > Author: Satish Balay <ba...@mcs.anl.gov> > Date: Wed May 29 00:11:17 2013 -0500 > > __SDIR__: remove usage of __SDIR__ from PETSc sources. > > commit ef9cb020c7e6703c909e2bfcf036c7598315ce88 > Author: Satish Balay <ba...@mcs.anl.gov> > Date: Wed May 29 00:09:35 2013 -0500 > > __SDIR__: fix all-legacy targets to use ${PWD} instead of LOCDIR/__INSDIR > in compiles
BTW: If we are to cherry-pick ef9cb020c7e6703c909e2bfcf036c7598315ce88 - it would need something like the following - to avoid error messages like: [0]PETSC ERROR: PCSetType() line 68 in "unknowndirectory/"C:\cygwin\home\balay\PETSC~1.CLO\src\ksp\pc\INTERF~1\pcset.c Satish ------------------- $ git diff include/petscerror.h diff --git a/include/petscerror.h b/include/petscerror.h index ddcdcf6..c6e0c7d 100644 --- a/include/petscerror.h +++ b/include/petscerror.h @@ -80,7 +80,7 @@ #define PetscStringizeArg(a) #a #define PetscStringize(a) PetscStringizeArg(a) -#define __SDIR__ PetscStringize(__INSDIR__) +#define __SDIR__ NULL #if defined(PETSC_USE_ERRORCHECKING)