Skip to content

Commit ac54712

Browse files
committed
openmpi-nightly-tarball.sh: more verbosity, fix coverity
Add --with-libfabric CLI argument to the coverity build so that usnic support can be built.
1 parent 162da0e commit ac54712

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

contrib/build-server/openmpi-nightly-tarball.sh

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ build_root=/home/mpiteam/openmpi/nightly-tarball-build-root
3737

3838
# Coverity stuff
3939
coverity_token=`cat $HOME/coverity/openmpi-token.txt`
40-
coverity_configure_args="--enable-mpi-fortran --enable-mpi-java --enable-oshmem --enable-oshmem-fortran --enable-oshmem-java --with-mxm=/opt/mellanox/mxm --with-psm --with-usnic"
40+
coverity_configure_args="--enable-mpi-fortran --enable-mpi-java --enable-oshmem --enable-oshmem-fortran --enable-oshmem-java --with-mxm=/opt/mellanox/mxm --with-psm --with-usnic --with-libfabric=/u/mpiteam/libfabric-1.0.0/install"
4141

4242
export PATH=$HOME/local/bin:$PATH
4343
export LD_LIBRARY_PATH=$HOME/local/lib:$LD_LIBRARY_PATH
@@ -63,8 +63,10 @@ touch $pending_coverity
6363
# Loop making the tarballs
6464
module unload autotools
6565
for branch in $branches; do
66+
echo "=== Branch: $branch"
6667
# Get the last tarball version that was made
6768
prev_snapshot=`cat $outputroot/$branch/latest_snapshot.txt`
69+
echo "=== Previous snapshot: $prev_snapshot"
6870

6971
if test "$branch" = "master"; then
7072
code_uri=$master_code_uri
@@ -108,9 +110,13 @@ for branch in $branches; do
108110
# spawn the coverity checker on it afterwards. Only for this for the
109111
# master (for now).
110112
latest_snapshot=`cat $outputroot/$branch/latest_snapshot.txt`
113+
echo "=== Latest snapshot: $latest_snapshot"
111114
if test "$prev_snapshot" != "$latest_snapshot" && \
112115
test "$branch" = "master"; then
116+
echo "=== Saving output for a Coverity run"
113117
echo "$outputroot/$branch/openmpi-$latest_snapshot.tar.bz2" >> $pending_coverity
118+
else
119+
echo "=== NOT saving output for a Coverity run"
114120
fi
115121

116122
# Failed builds are not removed. But if a human forgets to come
@@ -123,6 +129,7 @@ done
123129
# If we had any new snapshots to send to coverity, process them now
124130

125131
for tarball in `cat $pending_coverity`; do
132+
echo "=== Submitting $tarball to Coverity..."
126133
$HOME/scripts/openmpi-nightly-coverity.pl \
127134
--filename=$tarball \
128135
--coverity-token=$coverity_token \

0 commit comments

Comments
 (0)