SHA256
1
0
forked from pool/openmpi4

Remove unused extra macro file

OBS-URL: https://build.opensuse.org/package/show/science:HPC/openmpi4?expand=0&rev=4
This commit is contained in:
Nicolas Morey-Chaisemartin 2020-03-19 15:25:13 +00:00 committed by Git OBS Bridge
parent 4c599c6422
commit 57c526deae

View File

@ -1,69 +0,0 @@
%mpi_flavor @MPI_FLAVOR@
%mpi_vers @MPI_VERS@
%mpi_vers_nodots @MPI_VERS_NODOTS@
%mpi_major @MPI_MAJOR@
%mpi_flavor_ver @MPI_FLAVOR_VER@
%mpi_base %{hpc_base}
%mpi_prefix %{hpc_prefix}
%mpi_exec_prefix %{hpc_exec_prefix}
%mpi_sysconfdir %{hpc_sysconfdir}
%mpi_localstatedir %{hpc_localstatedir}
%mpi_sharedstatedir %{hpc_sharedstatedir}
%mpi_bindir %{hpc_bindir}
%mpi_datadir %{hpc_datadir}
%mpi_includedir %{hpc_includedir}
%mpi_libdir %{hpc_libdir}
%mpi_libexecdir %{hpc_libexecdir}
%mpi_sbindir %{hpc_sbindir}
%mpi_docdir %{hpc_docdir}
%mpi_infodir %{hpc_infodir}
%mpi_mandir %{hpc_mandir}
%mpi_pkgconfigdir %{hpc_pkgconfigdir}
%mpi_cmake_dir %{hpc_cmake_dir}
%mpi_cmake_moddir %{hpc_cmake_moddir}
# ----------------------------------------------------
%mpi_init source %{mpi_bindir}/mpivars.sh
%mpi_run %{mpi_bindir}/mpirun
%mpi_set_compilers \
export CC=mpicc \
export CXX=mpicxx \
export F77=mpif77 \
export FC=mpif90 \
export MPICC=$CC \
export MPICXX=$CXX \
export MPIF77=$F77 \
export MPIFC=$FC \
%{nil}
#
# Autotools
#
%mpi_configure \
%{mpi_set_compilers} \
%{hpc_configure}
#
# man pages
#
# %{mpi_compress_man <num>} compress man page in %mpi_mandir/man<num>
%mpi_compress_man %hpc_compress_man
# wraps macro from macros.cmake - paths replaced by MPI paths.
%mpi_cmake \
%{mpi_set_compilers} \
%{hpc_cmake}
# wraps macro from macros.meson - paths replaced by MPI paths.
%mpi_meson \
%{mpi_set_compilers} \
%{hpc_meson}