test with range checks enabled

This commit is contained in:
Matthias Hochsteger 2020-10-19 15:18:42 +02:00
parent 00b4959232
commit 397ef354a3
4 changed files with 9 additions and 1 deletions

View File

@ -55,6 +55,7 @@ build_win:
cmake %SRC_DIR%
-G Ninja
-DCMAKE_INSTALL_PREFIX=%INSTALL_DIR%
-DCHECK_RANGE=ON
-DUSE_CGNS=ON
-DUSE_OCC=ON
-DOCC_LIBRARY=C:/install_opencascade_7.4.0_static/win64/vc14/lib/TKernel.lib
@ -238,6 +239,7 @@ build_mac:
cmake $SRC_DIR
-DCMAKE_INSTALL_PREFIX=$CMAKE_INSTALL_PREFIX
-DCMAKE_BUILD_TYPE=Release
-DCHECK_RANGE=ON
-DUSE_NATIVE_ARCH=OFF
-DUSE_CCACHE=ON
-DENABLE_UNIT_TESTS=ON

View File

@ -6,6 +6,7 @@ cmake \
-DBUILD_TYPE=DEBUG \
-DENABLE_UNIT_TESTS=ON \
-DUSE_OCC=ON \
-DCHECK_RANGE=ON \
-DUSE_CGNS=ON \
../../src/netgen
make -j12

View File

@ -1,6 +1,10 @@
cd
mkdir -p build/netgen
cd build/netgen
cmake ../../src/netgen -DUSE_CCACHE=ON -DUSE_MPI=ON -DENABLE_UNIT_TESTS=ON
cmake ../../src/netgen \
-DCHECK_RANGE=ON \
-DUSE_CCACHE=ON \
-DUSE_MPI=ON \
-DENABLE_UNIT_TESTS=ON
make -j12
make install

View File

@ -3,6 +3,7 @@ git clone https://github.com/NGSolve/ngsolve.git
mkdir -p ~/build/ngsolve
cd ~/build/ngsolve
cmake \
-DCHECK_RANGE=ON \
-DUSE_MKL=ON \
-DUSE_CCACHE=ON \
-DNETGEN_DIR=/opt/netgen \