forked from trilinos/Trilinos
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcheckin-test-orthanc-remote-test-push.sh
executable file
·61 lines (46 loc) · 1.26 KB
/
checkin-test-orthanc-remote-test-push.sh
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
52
53
54
55
56
57
58
59
60
61
#!/bin/bash
#
# This is the script that I use for remote test/push on
# godel.sandia.gov pulling from gabriel.sandia.gov. You can copy this
# script and adapt it to your own machine.
#
# To do a remote test/push by pulling from gabriel.sandia.gov, just pass in the options:
#
# --do-all --push
#
# then just wait for the return email
#
EXTRA_ARGS=$@
source ~/.bashrc
#
# Set up basic environment options
#
echo "
" > COMMON.config
echo "
" > MPI_DEBUG.config
echo "
-DCMAKE_C_COMPILER=icc
-DCMAKE_CXX_COMPILER=icpc
-DCMAKE_Fortran_COMPILER=ifort
" > SERIAL_RELEASE.config
#
# Run the checkin-test.py script with more arguments
#
../../Trilinos/checkin-test.py \
--make-options=\"-j4\" \
--ctest-options=\"-j1\" \
--ctest-timeout=180 \
--commit-msg-header-file=checkin_message \
$EXTRA_ARGS
# NOTE: The above remote 'gabriel' was created from:
#
# $ eg remote add gabriel gabriel:~/PROJECTS/Trilinos.base/Trilinos
#
# This allows the shorthand 'gabriel' in lots of eg/git operations.
# NOTE: Even though godel has 8 cores, I will only use 6 of them so that I
# don't dominate the machine.
# Above, I left in the --commit-msg-header option in case I need to
# fix problems and add more commits. I like editing a file before I
# commit.