summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2024-12-15 18:48:58 +0000
committerCoprDistGit <infra@openeuler.org>2024-12-15 18:48:58 +0000
commitf071a23f5344ff27833f32fb9b8a1687eefa830d (patch)
tree95c1f3133a9c5b2226ed9514d3a0d7a5c0ce9f2f
parent11535d4b173a0ba4fcb47ed5d83a0463fbad25e5 (diff)
automatic import of lammps
-rw-r--r--lammps.spec2
1 files changed, 1 insertions, 1 deletions
diff --git a/lammps.spec b/lammps.spec
index 778cf9a..8533b7a 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 . -j8
+ cmake --build . -j64
test -n "${mpi}" && module unload mpi/${mpi}-%{_arch}
done