netgen/tests/build_ngsolve.sh

13 lines
244 B
Bash
Executable File

cd ~/src
git clone https://github.com/NGSolve/ngsolve.git
mkdir -p ~/build/ngsolve
cd ~/build/ngsolve
cmake \
-DUSE_MKL=ON \
-DUSE_CCACHE=ON \
-DNETGEN_DIR=/opt/netgen \
-DCMAKE_BUILD_TYPE=DEBUG \
~/src/ngsolve
make -j12
make install