Skip to content

Commit

Permalink
build: copy symbioticpy in 'bin' phase
Browse files Browse the repository at this point in the history
It suits there better.

Signed-off-by: Marek Chalupa <xchalup4@fi.muni.cz>
  • Loading branch information
mchalupa committed Oct 17, 2017
1 parent e21cf96 commit 54d929d
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -572,7 +572,7 @@ if [ $FROM -le 6 ]; then

(build && make install) || exit 1

# download scripts
# initialize instrumentation module if not done yet
if [ "x$UPDATE" = "x1" -o -z "$(ls -A $SRCDIR/llvm-instrumentation)" ]; then
git_submodule_init
fi
Expand All @@ -594,9 +594,6 @@ if [ $FROM -le 6 ]; then
(build && make install) || exit 1
cd -

# and also the symbiotic libraries
cp -r $SRCDIR/lib/symbioticpy $PREFIX/lib || exit 1

cd "$SRCDIR"
fi

Expand Down Expand Up @@ -635,12 +632,13 @@ if [ $FROM -le 7 ]; then
echo -e "\t'stp' : '$STP_VERSION'," >> $VERSFILE
echo -e "\t'KLEE' : '$KLEE_VERSION'," >> $VERSFILE
echo -e "}\n" >> $VERSFILE
fi

######################################################################
# create distribution
######################################################################
if [ $FROM -le 7 ]; then
# copy the symbiotic python module
cp -r $SRCDIR/lib/symbioticpy $PREFIX/lib || exit 1

cd $PREFIX || exitmsg "Whoot? prefix directory not found! This is a BUG, sir..."

# create git repository and add all files that we need
Expand Down

0 comments on commit 54d929d

Please sign in to comment.