diff options
author | CoprDistGit <infra@openeuler.org> | 2024-12-15 17:01:38 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2024-12-15 17:01:38 +0000 |
commit | d8d1f91aeca86489933fa46d94ae7f652f32bd6b (patch) | |
tree | 8a43e1fa877373f2f83760360823585599735f1d | |
parent | e69f418f8a4e8fbfa74da306294f2519577d872d (diff) |
automatic import of lammps
-rw-r--r-- | lammps.spec | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lammps.spec b/lammps.spec index eb050e8..c2ab78b 100644 --- a/lammps.spec +++ b/lammps.spec @@ -210,7 +210,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 + cmake --build . test -n "${mpi}" && module unload mpi/${mpi}-%{_arch} done @@ -223,7 +223,7 @@ set +e set -e for mpi in '' mpich %{?with_openmpi:openmpi} ; do - %cmake_install -C build + %make_install -C build done cd python |