Skip to content

Commit

Permalink
Merge branch 'release/1.9.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
keiranmraine committed Feb 22, 2016
2 parents 2ffec34 + a5b9f8b commit 34e40c9
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 201 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
CAVEMAN_VERSION=1.8.0
CAVEMAN_VERSION=1.9.0
TEST_REF?=""
#Compiler
CC = gcc -O3 -g -DCAVEMAN_VERSION='"$(CAVEMAN_VERSION)"' -DTEST_REF='"$(TEST_REF)"'
Expand Down Expand Up @@ -94,8 +94,8 @@ remove_htslib_tmp:
rm -rf $(HTSTMP)

copyscript:
rsync -uE ./scripts/* ./bin/
chmod u+x ./bin/setupCaveman ./bin/splitCaveman ./bin/mstepCaveman ./bin/mergeCaveman ./bin/estepCaveman ./bin/mergeCavemanResults
rsync -uE ./scripts/mergeCavemanResults ./bin/
chmod u+x ./bin/mergeCavemanResults

valgrind:
VALGRIND="valgrind --log-file=/tmp/valgrind-%p.log" $(MAKE)
Expand Down
35 changes: 0 additions & 35 deletions scripts/estepCaveman

This file was deleted.

35 changes: 0 additions & 35 deletions scripts/mergeCaveman

This file was deleted.

35 changes: 0 additions & 35 deletions scripts/mstepCaveman

This file was deleted.

35 changes: 0 additions & 35 deletions scripts/setupCaveman

This file was deleted.

35 changes: 0 additions & 35 deletions scripts/splitCaveman

This file was deleted.

30 changes: 7 additions & 23 deletions setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -133,37 +133,21 @@ else
cd $INIT_DIR
(
set -xe
mkdir -p $INIT_DIR/c/bin
make -j$CPU
cp $INIT_DIR/bin/caveman $INST_PATH/bin/.
make clean
mkdir -p $INIT_DIR/c/bin &&
make clean &&
make -j$CPU &&
cp $INIT_DIR/bin/caveman $INST_PATH/bin/. &&
cp $INIT_DIR/bin/mergeCavemanResults $INST_PATH/bin/. &&
touch $SETUP_DIR/caveman.success
)>>$INIT_DIR/setup.log 2>&1
fi
done_message "" "Failed to build CaVEMan."

#Code to install scripts to */bin directory.
echo -n "Installing CaVEMan scripts..."
(
cd $INIT_DIR/scripts
perl Makefile.PL INSTALL_BASE=$INST_PATH
make
#make test
make install

cp *Caveman $INST_PATH/bin/
cp *CavemanResults $INST_PATH/bin/

) >>$INIT_DIR/setup.log 2>&1
done_message "" "CaVEMan scripts install failed."

cd $INIT_DIR

#add bin path for install tests
export PATH="$INST_PATH/bin:$PATH"

# cleanup all junk
rm -rf $SETUP_DIR

echo
echo
echo "Please add the following to beginning of path:"
echo " $INST_PATH/bin"

0 comments on commit 34e40c9

Please sign in to comment.