-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathfobos
35 lines (30 loc) · 1.19 KB
/
fobos
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
[modes]
modes = tests-gnu
[common-variables]
$CSTATIC_GNU = -c -frealloc-lhs -std=f2008 -fall-intrinsics -cpp -fdefault-real-8 -g -Wall -fcheck=all -ffree-line-length-none
$DEBUG_GNU = -O0 -g3 -Warray-bounds -Wcharacter-truncation -Wline-truncation -Wimplicit-interface -Wimplicit-procedure -Wunderflow -fcheck=all -fmodule-private -ffree-line-length-132 -fimplicit-none -fbacktrace -fdump-core -finit-real=nan
$OPTIMIZE = -O2
$EXDIRS = src/dev
$PETSC_DIR=/home/superfun/git/petsc
$PETSC_ARCH = x86_64-linux-gnu-real
# main modes
[tests-gnu]
template = template-static-gnu
build_dir = app
# templates
[template-static-gnu]
compiler = gnu
exclude_dirs = $EXDIRS
src = src/ ../fu_module/src/lib/ ../math_module/src/lib/
cflags = $CSTATIC_GNU $OPTIMIZE
lflags = $OPTIMIZE
cflags_heritage = True
colors = True
quiet = False
log = False
jobs = 10
preproc = -DDOUBLEP -DLINUX
mpi = True
include = include/ ../fu_module/include/ $PETSC_DIR/include $PETSC_DIR/$PETSC_ARCH/include
libs = /usr/lib/libblas.so /usr/lib/lapack/liblapack.so $PETSC_DIR/$PETSC_ARCH/lib/libpetsc.so
ext_libs =