petsc-git-PKGBUILD

build template for non-complex PETSC with petsc4py
git clone git://src.adamsgaard.dk/petsc-git-PKGBUILD # fast
git clone https://src.adamsgaard.dk/petsc-git-PKGBUILD.git # slow
Log | Files | Refs Back to index

blaslapack_download.patch (899B)


      1 --- b/petsc/config/BuildSystem/config/packages/BlasLapack.py	2021-09-17 23:26:42.115594175 -0500
      2 +++ b/petsc/config/BuildSystem/config/packages/BlasLapack.py	2021-09-17 22:53:07.122154127 -0500
      3 @@ -187,7 +187,7 @@
      4          yield ('OpenBLAS with full path', None, os.path.join(self.openblas.libDir,'libopenblas.a'),self.openblas.known64,self.openblas.usesopenmp)
      5        else:
      6          yield ('OpenBLAS', None, self.openblas.lib,self.openblas.known64,self.openblas.usesopenmp)
      7 -      raise RuntimeError('--download-openblas libraries cannot be used')
      8 +      ###raise RuntimeError('--download-openblas libraries cannot be used')
      9      if 'with-blas-lib' in self.argDB and not 'with-lapack-lib' in self.argDB:
     10        raise RuntimeError('If you use the --with-blas-lib=<lib> you must also use --with-lapack-lib=<lib> option')
     11      if not 'with-blas-lib' in self.argDB and 'with-lapack-lib' in self.argDB: