Accepting request 822639 from science:HPC

- Fix %%hpc_base during hpc_init to allow for changes to %%_prefix.

OBS-URL: https://build.opensuse.org/request/show/822639
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/suse-hpc?expand=0&rev=20
This commit is contained in:
Dominique Leuenberger 2020-07-29 15:16:02 +00:00 committed by Git OBS Bridge
commit 0a5884adf3
3 changed files with 7 additions and 1 deletions

View File

@ -6,7 +6,7 @@
<param name="exclude">.git</param>
<param name="filename">suse-hpc</param>
<param name="versionformat">0.4.%h</param>
<param name="revision">d55686f0e90750122e3a56f4a38e3cb05a02381c</param>
<param name="revision">663bf86ed7dc0d3e5526d4b7c7edaf5d04de648f</param>
<param name="extract">general/dlinfo.c</param>
<param name="extract">general/macros.hpc</param>
<param name="extract">general/hpc_elf.pl</param>

View File

@ -117,6 +117,7 @@ EOF\
# -V: <arg>: set MPI version to <arg> (optional - default:)
# -e: <arg>: program name extension
%_hpc_init(Cc:Mm:v:V:e:)\
%global hpc_base %{expand:%hpc_base} \
%{-m:%{!-c:%{error: Cannot est MPI family without compiler}}} \
%{-c:%{expand: %%global hpc_compiler_family %{-c*}}} \
%{-m: %{expand: %%global hpc_mpi_family %{-m*}}} \

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Jul 23 17:42:34 UTC 2020 - Egbert Eich <eich@suse.com>
- Fix %%hpc_base during hpc_init to allow for changes to %%_prefix.
-------------------------------------------------------------------
Thu May 7 21:50:13 UTC 2020 - Egbert Eich <eich@suse.com>