diff options
Diffstat (limited to 'sci-mathematics/petsc/files/petsc-3.13.0-fix_sandbox_violation.patch')
-rw-r--r-- | sci-mathematics/petsc/files/petsc-3.13.0-fix_sandbox_violation.patch | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/sci-mathematics/petsc/files/petsc-3.13.0-fix_sandbox_violation.patch b/sci-mathematics/petsc/files/petsc-3.13.0-fix_sandbox_violation.patch deleted file mode 100644 index c0dfd53a0112..000000000000 --- a/sci-mathematics/petsc/files/petsc-3.13.0-fix_sandbox_violation.patch +++ /dev/null @@ -1,18 +0,0 @@ -diff --git a/config/PETSc/options/installDir.py b/config/PETSc/options/installDir.py -index 860faf0f..87898811 100755 ---- a/config/PETSc/options/installDir.py -+++ b/config/PETSc/options/installDir.py -@@ -40,13 +40,6 @@ class Configure(config.base.Configure): - self.dir = os.path.abspath(os.path.expanduser(self.framework.argDB['prefix'])) - self.petscDir = self.dir - self.petscArch = '' -- try: -- os.makedirs(os.path.join(self.dir,'PETScTestDirectory')) -- os.rmdir(os.path.join(self.dir,'PETScTestDirectory')) -- except Exception as e: -- self.logPrint('Error trying to to test write permissions on directory '+str(e)) -- self.installSudoMessage = 'You do not have write permissions to the --prefix directory '+self.dir+'\nYou will be prompted for the sudo password for any external package installs' -- self.installSudo = 'sudo ' - else: - self.dir = os.path.abspath(os.path.join(self.petscdir.dir, self.arch.arch)) - self.petscDir = self.petscdir.dir |