File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22
33build-proyect () {
44 VARIANT=$1
5+ TOOLCHAIN=$VARIANT
6+
7+ if [ " $VARIANT " = " debug " ]; then
8+ VARIANT=" serial"
9+ TOOLCHAIN=" debug"
10+ fi
11+
512
613 if [ ! -d " build-$VARIANT /" ]; then
714 mkdir " build-$VARIANT "
@@ -11,7 +18,7 @@ build-proyect() {
1118
1219 (
1320 cd " build-$VARIANT " || exit 1
14- cmake -DCMAKE_TOOLCHAIN_FILE=../toolchains/" $VARIANT " _toolchain.cmake ..
21+ cmake -DCMAKE_TOOLCHAIN_FILE=../toolchains/" $TOOLCHAIN " _toolchain.cmake ..
1522 make -j " $( nproc) "
1623 )
1724}
@@ -24,6 +31,7 @@ variants=(
2431 " serial"
2532 " mpi"
2633 " mpi2"
34+ " debug"
2735)
2836
2937if [ " $1 " = " rebuild" ]; then
Original file line number Diff line number Diff line change 1111
1212source .venv/bin/activate
1313pip install --upgrade pip
14- pip install matplotlib
15- pip install pyperf
14+ pip install matplotlib
Original file line number Diff line number Diff line change 1+ set (CMAKE_C_COMPILER gcc)
2+ set (CMAKE_CXX_COMPILER g++)
3+ set (CMAKE_Fortran_COMPILER gfortran)
4+ set (CMAKE_C_FLAGS "-O2 -g -MMD -DGNU -w" )
5+ set (CMAKE_Fortran_FLAGS "-O2 -g -cpp -DGNU -fallow-argument-mismatch -std=gnu" )
6+
7+ set (MISQP_LIBRARY_DIR "${PROJECT_SOURCE_DIR } /deps/misqp/gnu" )
8+ set (LIBRARIES "" )
You can’t perform that action at this time.
0 commit comments