forked from trilinos/Trilinos
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlinux-fissile4-gcc-4.6.1-serial-release-static-cmake
executable file
·51 lines (45 loc) · 1.78 KB
/
linux-fissile4-gcc-4.6.1-serial-release-static-cmake
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
#!/bin/bash
#
# Scrpt used by Ross Bartlett for SERIAL_RELEASE build with GCC 4.6.1 on CASL
# fissile 4 machines.
#
# This is my primary development script that I used to drive functionality.
# Look at this script whenever you want to see what I am doing to drive my
# development.
#
# NOTE: The default source location is for the peer directory is:
#
# BUILDS/GCC_4.6.1/<SOME_BUILD_NAME>
#
# which you can change in your copy.
#
# NOTE: Other options you might want to pass in:
# -D Trilinos_ENABLE_COVERAGE_TESTING:BOOL=ON \
#
EXTRA_ARGS=$@
TRILINOS_DIR=../../../Trilinos # Change for the location of your Trilinos source
TRILINOS_DIR_ABS=$(readlink -f $TRILINOS_DIR)
echo "TRILINOS_DIR_ABS = $TRILINOS_DIR_ABS"
DRIVERS_BASE_DIR=$TRILINOS_DIR_ABS/cmake/ctest/drivers/pu241
cmake \
-D Trilinos_CONFIGURE_OPTIONS_FILE:FILEPATH="$DRIVERS_BASE_DIR/gcc-4.6.1-serial-release-ss-options.cmake,$DRIVERS_BASE_DIR/trilinos-tpls-gcc.4.6.1.cmake,$DRIVERS_BASE_DIR/SubmitToTrilinos.cmake" \
-D CTEST_PARALLEL_LEVEL:STRING="8" \
-D CMAKE_BUILD_TYPE:STRING=RELEASE \
-D Trilinos_ENABLE_DEBUG_SYMBOLS=ON \
-D BUILD_SHARED_LIBS:BOOL=OFF \
-D TPL_ENABLE_BinUtils:BOOL=OFF \
-D Teuchos_ENABLE_COMPLEX=OFF \
-D Tpetra_INST_COMPLEX_DOUBLE=OFF \
-D Tpetra_INST_COMPLEX_FLOAT=OFF \
-D Tpetra_INST_FLOAT=OFF \
-D Teuchos_ENABLE_FLOAT=OFF \
-D Trilinos_ENABLE_TESTS:BOOL=ON \
-D Trilinos_ENABLE_EXPLICIT_INSTANTIATION:BOOL=ON \
-D Trilinos_ENABLE_CONFIGURE_TIMING:BOOL=ON \
-D DART_TESTING_TIMEOUT:STRING=180.0 \
-D CTEST_BUILD_FLAGS:STRING="-j8" \
-D Trilinos_EXCLUDE_PACKAGES="CTrilinos;ForTrilinos;PyTrilinos;Didasko;Mesquite;Phdmesh;Pliris;Claps" \
$EXTRA_ARGS \
${TRILINOS_DIR_ABS}
# Above, I am using the core build options for CASL development but I am doing
# a true debug, with explicit instantiation, stack tracing, etc.