SHA256
10
0
forked from pool/petsc
Files
petsc/Remove-rpath-test.patch

26 lines
1.1 KiB
Diff
Raw Permalink Normal View History

Accepting request 1181550 from home:eeich:branches:science - Update to version 3.21: - General: * Add single precision support for using HYPRE and MFEM * Require Fortran 2003 compiler with `GET_COMMAND_ARGUMENT()` support for building PETSc with Fortran bindings - Sys: * Add `PetscBench` an object class for managing benchmarks in PETSc * Deprecate `PetscVoidFunction`, `PetscVoidStarFunction`, and `PetscErrorCodeFunction` typedefs in favor of `PetscVoidFn` and `PetscErrorCodeFn`. * Add `PetscOptionsBoundedReal()` and `PetscOptionsRangeReal()`. * Rename Petsc stream types to `PETSC_STREAM_DEFAULT`, `PETSC_STREAM_NONBLOCKING`, `PETSC_STREAM_DEFAULT`_WITH_BARRIER` and `PETSC_STREAM_NONBLOCKING_WITH_BARRIER`. The root device context uses `PETSC_STREAM_DEFAULT` by default. - PetscViewer: * Change `PetscViewerRestoreSubViewer()` to no longer need a call to `PetscViewerFlush()` after it. * Introduce `PetscOptionsRestoreViewer()` that must be called after `PetscOptionsGetViewer()` and `PetscOptionsGetViewers()` to ensure thread safety. * Add `PetscViewerASCIIWORLDSetFileUnit()`. - VecScatter / PetscSF: * Add MPI-4.0 persistent neighborhood collectives support. Use `-sf_neighbor_persistent` along with `-sf_type` neighbor to enable it. * Add `PetscSFCreateStridedSF()` to communicate strided blocks of data/ - Vec: * Add `VecGhostGetGhostIS()` to get the ghost indices of a ghosted vector. * Add `-vec_mdot_use_gemv` to let `VecMDot()`, `VecMTDot()` use BLAS2 `gemv()` instead of custom unrolled kernel. Default is on. OBS-URL: https://build.opensuse.org/request/show/1181550 OBS-URL: https://build.opensuse.org/package/show/science/petsc?expand=0&rev=133
2024-06-19 16:43:14 +00:00
From: Egbert Eich <eich@suse.com>
Date: Tue Jun 18 13:02:15 2024 +0200
Subject: Remove rpath test
Patch-mainline: never
Git-commit: 470db80c9f69c6a707570732c67a1550dbe19ca1
References:
Signed-off-by: Egbert Eich <eich@suse.com>
Signed-off-by: Egbert Eich <eich@suse.de>
---
config/BuildSystem/config/setCompilers.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: petsc-3.23.0/config/BuildSystem/config/setCompilers.py
===================================================================
--- petsc-3.23.0.orig/config/BuildSystem/config/setCompilers.py
+++ petsc-3.23.0/config/BuildSystem/config/setCompilers.py
@@ -2554,7 +2554,7 @@ class Configure(config.base.Configure):
Accepting request 1181550 from home:eeich:branches:science - Update to version 3.21: - General: * Add single precision support for using HYPRE and MFEM * Require Fortran 2003 compiler with `GET_COMMAND_ARGUMENT()` support for building PETSc with Fortran bindings - Sys: * Add `PetscBench` an object class for managing benchmarks in PETSc * Deprecate `PetscVoidFunction`, `PetscVoidStarFunction`, and `PetscErrorCodeFunction` typedefs in favor of `PetscVoidFn` and `PetscErrorCodeFn`. * Add `PetscOptionsBoundedReal()` and `PetscOptionsRangeReal()`. * Rename Petsc stream types to `PETSC_STREAM_DEFAULT`, `PETSC_STREAM_NONBLOCKING`, `PETSC_STREAM_DEFAULT`_WITH_BARRIER` and `PETSC_STREAM_NONBLOCKING_WITH_BARRIER`. The root device context uses `PETSC_STREAM_DEFAULT` by default. - PetscViewer: * Change `PetscViewerRestoreSubViewer()` to no longer need a call to `PetscViewerFlush()` after it. * Introduce `PetscOptionsRestoreViewer()` that must be called after `PetscOptionsGetViewer()` and `PetscOptionsGetViewers()` to ensure thread safety. * Add `PetscViewerASCIIWORLDSetFileUnit()`. - VecScatter / PetscSF: * Add MPI-4.0 persistent neighborhood collectives support. Use `-sf_neighbor_persistent` along with `-sf_type` neighbor to enable it. * Add `PetscSFCreateStridedSF()` to communicate strided blocks of data/ - Vec: * Add `VecGhostGetGhostIS()` to get the ghost indices of a ghosted vector. * Add `-vec_mdot_use_gemv` to let `VecMDot()`, `VecMTDot()` use BLAS2 `gemv()` instead of custom unrolled kernel. Default is on. OBS-URL: https://build.opensuse.org/request/show/1181550 OBS-URL: https://build.opensuse.org/package/show/science/petsc?expand=0&rev=133
2024-06-19 16:43:14 +00:00
testFlags = []
# test '-R' before '-rpath' as sun compilers [c,fortran] don't give proper errors with wrong options.
elif not Configure.isDarwin(self.log):
- testFlags = ['-Wl,-rpath,', '-R','-rpath ' , '-Wl,-R,']
+ testFlags = []
else:
testFlags = ['-Wl,-rpath,']
# test '-R' before '-Wl,-rpath' for SUN compilers [as cc on linux accepts -Wl,-rpath, but f90 & CC do not.