Last change
on this file since 1985 was
1945,
checked in by yushan, 4 years ago
|
trunk : modif related to compilation before unit tests. No longer compile on login node.
|
-
Property svn:executable set to
*
|
File size:
654 bytes
|
Line | |
---|
1 | #!/bin/bash |
---|
2 | |
---|
3 | set -x |
---|
4 | |
---|
5 | export revision=$(svn info --show-item revision .. 2>&1) |
---|
6 | |
---|
7 | python config_compile.py |
---|
8 | |
---|
9 | ccc_msub -E "--wait" job_compile_irene.sh |
---|
10 | |
---|
11 | if [ "$COPY_TO_SERVER" = true ] |
---|
12 | then |
---|
13 | build_dir=${xios_test_suite_repository}/BUILD |
---|
14 | mkdir -p $build_dir ; CHMOD $build_dir |
---|
15 | mkdir -p ${build_dir}/build_${xios_machine_name} |
---|
16 | |
---|
17 | |
---|
18 | allreports=`ls ./build_${revision}_*.txt` |
---|
19 | for report in $allreports |
---|
20 | do |
---|
21 | ll=$(wc -l $report | awk '{print $1}') |
---|
22 | if [[ $(($ll)) > 4 ]] ; then |
---|
23 | echo "$report need to be copied" |
---|
24 | cp $report ${build_dir}/build_${xios_machine_name} |
---|
25 | fi |
---|
26 | done |
---|
27 | |
---|
28 | CHMOD -R ${build_dir}/build_${xios_machine_name} |
---|
29 | fi |
---|
Note: See
TracBrowser
for help on using the repository browser.