root/gs2-extensions/echoprint/trunk/src/packages/CASCADE-MAKE.sh @ 28347

Revision 28347, 0.9 KB (checked in by davidb, 6 years ago)

BZip package added to server side of compilation

  • Property svn:executable set to *
RevLine 
[27248]1#!/bin/bash
2
3source ../cascade-make/lib/cascade-lib.bash GEXT_ECHOPRINT .. $*
4
5CMAKE_LIBRARY_PATH=$GEXTECHOPRINT_INSTALLED
6LD_LIBRARY_PATH=$GEXTECHOPRINT_INSTALLED
7echo "Using CMAKE_LIBRARY_PATH:";
8echo $CMAKE_LIBRARY_PATH;
9echo "Using LD_LIBRARY_PATH:";
10echo $LD_LIBRARY_PATH;
11
[27932]12
[27934]13arg1=$1 && shift
[27932]14
[28347]15packlist="ZLIB BZIP2"
[27932]16if [ "x$arg1" != "x" ] ; then
17
[27934]18  if [ $arg1 == "client" -o $arg1 == "all" ] ; then
[28347]19    packlist="$packlist CMAKE BOOST TAGLIB"
[27934]20  elif [ $arg1 = "server" -o $arg1 = "all" ] ; then
[27932]21    packlist="$packlist TOKYO-CABINET TOKYO-TYRANT"
22  else
[27933]23    echo "Warning: Unrecognized command '$1'" >&2
[27932]24  fi
25
26else
[27933]27  echo "Usage: ./CASCADE-MADE.sh client|server|all [install|clean|distclean|tarclean]" >&2
[27932]28fi
29
30
31for d in $packlist ; do
[27248]32    echo "    Running CASCADE-MAKE/$d.sh"
33
34    ./CASCADE-MAKE/$d.sh $*
35
36    if [ $? != 0 ] ; then
37    echo "Error encountered running CASCADE-MAKE/$d.sh"
38    exit 1
39    fi
40done
Note: See TracBrowser for help on using the browser.