diff --git a/gmsh.spec b/gmsh.spec index 735442b..b314b52 100644 --- a/gmsh.spec +++ b/gmsh.spec @@ -240,7 +240,7 @@ LDFLAGS="%{__global_ldflags} -Wl,--as-needed" %cmake .. \ -DENABLE_OPENMP=ON \ $gmsh_cmake_args -make %{?_smp_mflags} +%make_build popd ### openmpi version ### @@ -256,7 +256,7 @@ LDFLAGS="%{__global_ldflags} -Wl,--as-needed" %cmake .. \ -DCMAKE_INSTALL_INCLUDEDIR=$MPI_INCLUDE \ $gmsh_cmake_args -make %{?_smp_mflags} +%make_build popd %{_openmpi_unload} %endif @@ -274,7 +274,7 @@ LDFLAGS="%{__global_ldflags} -Wl,--as-needed" %cmake .. \ -DCMAKE_INSTALL_INCLUDEDIR=$MPI_INCLUDE \ $gmsh_cmake_args -make %{?_smp_mflags} +%make_build popd %{_mpich_unload} %endif