Commit 07f34b35 authored by Chris Cantwell's avatar Chris Cantwell
Browse files

Fixed cmake-out-of-tree build problem in fedora 33.

Hard-coded parallelisation of build to 4 procs.
parent 7cb47bf9
Pipeline #2488 canceled with stages
in 3 minutes and 17 seconds
......@@ -410,7 +410,7 @@ cd $MPI_COMPILER; \
-DNEKTAR_USE_CCM=OFF \\\
-DNEKTAR_USE_PYTHON3=ON \\\
.. ; \
make %{?_smp_mflags} ; \
make -j4 ; \
cd ..
%build
......
......@@ -412,7 +412,7 @@ cd $MPI_COMPILER; \
-DNEKTAR_USE_CCM=OFF \\\
-DNEKTAR_USE_PYTHON3=ON \\\
.. ; \
make %{?_smp_mflags} ; \
make -j4 ; \
cd ..
%build
......
......@@ -417,7 +417,7 @@ cd $MPI_COMPILER; \
-DNEKTAR_USE_CCM=OFF \\\
-DNEKTAR_USE_PYTHON3=ON \\\
.. ; \
make %{?_smp_mflags} ; \
make -j4 ; \
cd ..
%build
......
......@@ -386,6 +386,7 @@ Shallow water flow solver for Nektar++ (MPICH)
%prep
%setup -qn nektar-v%{version}
%global __cmake_in_source_build 1
%define dobuild() \
mkdir $MPI_COMPILER; \
......@@ -417,7 +418,7 @@ cd $MPI_COMPILER; \
-DNEKTAR_USE_CCM=OFF \\\
-DNEKTAR_USE_PYTHON3=ON \\\
.. ; \
make %{?_smp_mflags} ; \
make -j4 ; \
cd ..
%build
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment