mirror of
https://github.com/NGSolve/netgen.git
synced 2024-11-11 16:49:16 +05:00
test with range checks enabled
This commit is contained in:
parent
00b4959232
commit
397ef354a3
@ -55,6 +55,7 @@ build_win:
|
|||||||
cmake %SRC_DIR%
|
cmake %SRC_DIR%
|
||||||
-G Ninja
|
-G Ninja
|
||||||
-DCMAKE_INSTALL_PREFIX=%INSTALL_DIR%
|
-DCMAKE_INSTALL_PREFIX=%INSTALL_DIR%
|
||||||
|
-DCHECK_RANGE=ON
|
||||||
-DUSE_CGNS=ON
|
-DUSE_CGNS=ON
|
||||||
-DUSE_OCC=ON
|
-DUSE_OCC=ON
|
||||||
-DOCC_LIBRARY=C:/install_opencascade_7.4.0_static/win64/vc14/lib/TKernel.lib
|
-DOCC_LIBRARY=C:/install_opencascade_7.4.0_static/win64/vc14/lib/TKernel.lib
|
||||||
@ -238,6 +239,7 @@ build_mac:
|
|||||||
cmake $SRC_DIR
|
cmake $SRC_DIR
|
||||||
-DCMAKE_INSTALL_PREFIX=$CMAKE_INSTALL_PREFIX
|
-DCMAKE_INSTALL_PREFIX=$CMAKE_INSTALL_PREFIX
|
||||||
-DCMAKE_BUILD_TYPE=Release
|
-DCMAKE_BUILD_TYPE=Release
|
||||||
|
-DCHECK_RANGE=ON
|
||||||
-DUSE_NATIVE_ARCH=OFF
|
-DUSE_NATIVE_ARCH=OFF
|
||||||
-DUSE_CCACHE=ON
|
-DUSE_CCACHE=ON
|
||||||
-DENABLE_UNIT_TESTS=ON
|
-DENABLE_UNIT_TESTS=ON
|
||||||
|
@ -6,6 +6,7 @@ cmake \
|
|||||||
-DBUILD_TYPE=DEBUG \
|
-DBUILD_TYPE=DEBUG \
|
||||||
-DENABLE_UNIT_TESTS=ON \
|
-DENABLE_UNIT_TESTS=ON \
|
||||||
-DUSE_OCC=ON \
|
-DUSE_OCC=ON \
|
||||||
|
-DCHECK_RANGE=ON \
|
||||||
-DUSE_CGNS=ON \
|
-DUSE_CGNS=ON \
|
||||||
../../src/netgen
|
../../src/netgen
|
||||||
make -j12
|
make -j12
|
||||||
|
@ -1,6 +1,10 @@
|
|||||||
cd
|
cd
|
||||||
mkdir -p build/netgen
|
mkdir -p build/netgen
|
||||||
cd 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 -j12
|
||||||
make install
|
make install
|
||||||
|
@ -3,6 +3,7 @@ git clone https://github.com/NGSolve/ngsolve.git
|
|||||||
mkdir -p ~/build/ngsolve
|
mkdir -p ~/build/ngsolve
|
||||||
cd ~/build/ngsolve
|
cd ~/build/ngsolve
|
||||||
cmake \
|
cmake \
|
||||||
|
-DCHECK_RANGE=ON \
|
||||||
-DUSE_MKL=ON \
|
-DUSE_MKL=ON \
|
||||||
-DUSE_CCACHE=ON \
|
-DUSE_CCACHE=ON \
|
||||||
-DNETGEN_DIR=/opt/netgen \
|
-DNETGEN_DIR=/opt/netgen \
|
||||||
|
Loading…
Reference in New Issue
Block a user