diff options
author | CoprDistGit <infra@openeuler.org> | 2024-12-12 17:56:08 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2024-12-12 17:56:08 +0000 |
commit | 6edc68c27afc9332bbff9a52e045fe37071af830 (patch) | |
tree | 58e7e1387eaab17cd7ecc53da3ef43b884e275d5 /lammps.spec | |
parent | bb8704e78df9313c155c0a88c8b0741c578aa93b (diff) |
automatic import of lammps
Diffstat (limited to 'lammps.spec')
-rw-r--r-- | lammps.spec | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lammps.spec b/lammps.spec index ec2f41a..0654dc2 100644 --- a/lammps.spec +++ b/lammps.spec @@ -253,7 +253,7 @@ for mpi in '' mpich %{?with_openmpi:openmpi} ; do -DCMAKE_INSTALL_BINDIR=${MPI_BIN:-%{_bindir}} -DCMAKE_INSTALL_LIBDIR=${MPI_LIB:-%{_libdir}} -DLAMMPS_MACHINE="${MPI_SUFFIX#_}" -DLAMMPS_LIB_SUFFIX="${MPI_SUFFIX#_}" -DCMAKE_INSTALL_MANDIR=${MPI_MAN:-%{_mandir}} \ ${mpi:+-DBUILD_MPI=ON -DFFT_USE_HEFFTE=ON -DCMAKE_EXE_LINKER_FLAGS="%{__global_ldflags} -Wl,-rpath -Wl,${MPI_LIB} -Wl,--enable-new-dtags" -DCMAKE_SHARED_LINKER_FLAGS="%{__global_ldflags} -Wl,-rpath -Wl,${MPI_LIB} -Wl,--enable-new-dtags" $(test "$mpi" != openmpi || echo "-DMPIEXEC_PREFLAGS=--oversubscribe") } \ $(test -z "${mpi}" && echo -DBUILD_MPI=OFF -DBUILD_LAMMPS_SHELL=ON -DBUILD_TOOLS=ON) - %cmake_build + %make_build test -n "${mpi}" && module unload mpi/${mpi}-%{_arch} done @@ -266,7 +266,7 @@ set +e set -e for mpi in '' mpich %{?with_openmpi:openmpi} ; do - %cmake_install + %make_install done cd python |