Debian Codegraph @

sampleScripts/linux-fissile4-gcc-4.6.1-mpi-debug-shared-cmake

raw
1 #!/bin/bash
2 #
3 # Scrpt used by Ross Bartlett for MPI_DEBUG build with GCC 4.5.1 on CASL
4 # fissile 4 machines.
5 #
6 # This is my primary development script that I used to drive functionality.
7 # Look at this script whenever you want to see what I am doing to drive my
8 # development.
9 #
10 # Pass in extra arguments on the command-line to this script with:
11 #
12 # -DTrilinos_ENABLE_LIME=ON \
13 # -DTrilinos_EXTRA_REPOSITORIES=LIMEExt \
14 #
15 # NOTE: To set extra repos pass in:
16 # -DTrilinos_EXTRA_REPOSITORIES=LIMEExt,PSSDriversExt,...
17 #
18 # NOTE: Copy this file for your own use if you want to be able to
19 # hard-code Trilinos_EXTRA_REPOSITORIES or change anything else.
20 #
21 # NOTE: The default source location is for the peer directory is:
22 #
23 # BUILDS/GCC_4.5.1/<SOME_BUILD_NAME>
24 #
25 # which you can change in your copy.
26 #
27 # NOTE: Other options you might want to pass in:
28 # -D Trilinos_ENABLE_COVERAGE_TESTING:BOOL=ON \
29 #
30
31 EXTRA_ARGS=$@
32
33 TRILINOS_DIR=../../../Trilinos # Change for the location of your Trilinos source
34
35 TRILINOS_DIR_ABS=$(readlink -f $TRILINOS_DIR)
36 echo "TRILINOS_DIR_ABS = $TRILINOS_DIR_ABS"
37
38 DRIVERS_BASE_DIR=$TRILINOS_DIR_ABS/cmake/ctest/drivers/pu241
39
40 cmake \
41 -D Trilinos_CONFIGURE_OPTIONS_FILE:FILEPATH="$DRIVERS_BASE_DIR/gcc-4.6.1-mpi-debug-ss-options.cmake,$DRIVERS_BASE_DIR/trilinos-tpls-gcc.4.6.1.cmake,$DRIVERS_BASE_DIR/SubmitToTrilinos.cmake" \
42 -D CTEST_PARALLEL_LEVEL:STRING="8" \
43 -D CMAKE_BUILD_TYPE:STRING=DEBUG \
44 -D Trilinos_ENABLE_TESTS:BOOL=ON \
45 -D Trilinos_ENABLE_EXPLICIT_INSTANTIATION:BOOL=ON \
46 -D Teuchos_ENABLE_DEFAULT_STACKTRACE:BOOL=ON \
47 -D DART_TESTING_TIMEOUT:STRING=180.0 \
48 -D CTEST_BUILD_FLAGS:STRING="-j8" \
49 -D Trilinos_EXCLUDE_PACKAGES="CTrilinos;ForTrilinos;PyTrilinos;Didasko;Mesquite;Phdmesh;Pliris;Claps" \
50 $EXTRA_ARGS \
51 ${TRILINOS_DIR_ABS}
52
53 # Above, I am using the core build options for CASL development but I am doing
54 # a true debug, with explicit instantiation, stack tracing, etc.