run-gbench.sh
上传用户:yhdzpy8989
上传日期:2007-06-13
资源大小:13604k
文件大小:1k
- #!/bin/sh
- # $Id: run-gbench.sh,v 1000.0 2003/10/31 21:05:41 gouriano Exp $
- NCBI_GBENCH_INSTALL_DIR=@install_dir@
- export NCBI_GBENCH_INSTALL_DIR
- NCBI_GBENCH_HOME=${NCBI_GBENCH_HOME:=$NCBI_GBENCH_INSTALL_DIR}
- export NCBI_GBENCH_HOME
- LD_LIBRARY_PATH=$NCBI_GBENCH_INSTALL_DIR/lib:$LD_LIBRARY_PATH
- export LD_LIBRARY_PATH
- case `uname` in
- Darwin*)
- DYLD_LIBRARY_PATH="$LD_LIBRARY_PATH"
- export DYLD_LIBRARY_PATH
- # fix around dynamic libs bug (Apple radar 3012645)
- DYLD_BIND_AT_LAUNCH=1
- export DYLD_BIND_AT_LAUNCH
- ;;
- esac
- # now, just exec the app
- exec $NCBI_GBENCH_INSTALL_DIR/bin/gbench-bin $@
- #
- # ===========================================================================
- # PRODUCTION $Log: run-gbench.sh,v $
- # PRODUCTION Revision 1000.0 2003/10/31 21:05:41 gouriano
- # PRODUCTION PRODUCTION: IMPORTED [ORIGINAL] Dev-tree R1.12
- # PRODUCTION
- # ===========================================================================
- #