code
stringlengths
1
1.96M
language
stringclasses
1 value
#!/bin/bash # # gettext-singularity - gettext wrapper customized to Endgame: Singularity # # Copyright (C) 2012 Rodrigo Silva (MestreLion) <linux@rodrigosilva.com> # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # ...
Shell
#!/bin/sh # START-COMMIT HOOK # # The start-commit hook is invoked before a Subversion txn is created # in the process of doing a commit. Subversion runs this hook # by invoking a program (script, executable, binary, etc.) named # 'start-commit' (for which this file is a template) # with the following ordered...
Shell
#!/bin/sh # PRE-COMMIT HOOK # # The pre-commit hook is invoked before a Subversion txn is # committed. Subversion runs this hook by invoking a program # (script, executable, binary, etc.) named 'pre-commit' (for which # this file is a template), with the following ordered arguments: # # [1] REPOS-PATH (t...
Shell
#!/bin/sh # PRE-LOCK HOOK # # The pre-lock hook is invoked before an exclusive lock is # created. Subversion runs this hook by invoking a program # (script, executable, binary, etc.) named 'pre-lock' (for which # this file is a template), with the following ordered arguments: # # [1] REPOS-PATH (the pat...
Shell
#!/bin/sh # POST-COMMIT HOOK # # The post-commit hook is invoked after a commit. Subversion runs # this hook by invoking a program (script, executable, binary, etc.) # named 'post-commit' (for which this file is a template) with the # following ordered arguments: # # [1] REPOS-PATH (the path to this rep...
Shell
#!/bin/sh # PRE-COMMIT HOOK # # The pre-commit hook is invoked before a Subversion txn is # committed. Subversion runs this hook by invoking a program # (script, executable, binary, etc.) named 'pre-commit' (for which # this file is a template), with the following ordered arguments: # # [1] REPOS-PATH (t...
Shell
#!/bin/sh # PRE-REVPROP-CHANGE HOOK # # The pre-revprop-change hook is invoked before a revision property # is added, modified or deleted. Subversion runs this hook by invoking # a program (script, executable, binary, etc.) named 'pre-revprop-change' # (for which this file is a template), with the following or...
Shell
#!/bin/sh # PRE-LOCK HOOK # # The pre-lock hook is invoked before an exclusive lock is # created. Subversion runs this hook by invoking a program # (script, executable, binary, etc.) named 'pre-lock' (for which # this file is a template), with the following ordered arguments: # # [1] REPOS-PATH (the pat...
Shell
#!/bin/sh # POST-REVPROP-CHANGE HOOK # # The post-revprop-change hook is invoked after a revision property # has been added, modified or deleted. Subversion runs this hook by # invoking a program (script, executable, binary, etc.) named # 'post-revprop-change' (for which this file is a template), with the # f...
Shell
#!/bin/sh # POST-LOCK HOOK # # The post-lock hook is run after a path is locked. Subversion runs # this hook by invoking a program (script, executable, binary, etc.) # named 'post-lock' (for which this file is a template) with the # following ordered arguments: # # [1] REPOS-PATH (the path to this repos...
Shell
#!/bin/sh # PRE-UNLOCK HOOK # # The pre-unlock hook is invoked before an exclusive lock is # destroyed. Subversion runs this hook by invoking a program # (script, executable, binary, etc.) named 'pre-unlock' (for which # this file is a template), with the following ordered arguments: # # [1] REPOS-PATH ...
Shell
#!/bin/sh # START-COMMIT HOOK # # The start-commit hook is invoked before a Subversion txn is created # in the process of doing a commit. Subversion runs this hook # by invoking a program (script, executable, binary, etc.) named # 'start-commit' (for which this file is a template) # with the following ordered...
Shell
#!/bin/sh # POST-COMMIT HOOK # # The post-commit hook is invoked after a commit. Subversion runs # this hook by invoking a program (script, executable, binary, etc.) # named 'post-commit' (for which this file is a template) with the # following ordered arguments: # # [1] REPOS-PATH (the path to this rep...
Shell
#!/bin/sh # POST-UNLOCK HOOK # # The post-unlock hook runs after a path is unlocked. Subversion runs # this hook by invoking a program (script, executable, binary, etc.) # named 'post-unlock' (for which this file is a template) with the # following ordered arguments: # # [1] REPOS-PATH (the path to this...
Shell
#!/bin/sh # POST-UNLOCK HOOK # # The post-unlock hook runs after a path is unlocked. Subversion runs # this hook by invoking a program (script, executable, binary, etc.) # named 'post-unlock' (for which this file is a template) with the # following ordered arguments: # # [1] REPOS-PATH (the path to this...
Shell
#!/bin/sh # PRE-REVPROP-CHANGE HOOK # # The pre-revprop-change hook is invoked before a revision property # is added, modified or deleted. Subversion runs this hook by invoking # a program (script, executable, binary, etc.) named 'pre-revprop-change' # (for which this file is a template), with the following or...
Shell
#!/bin/sh # POST-LOCK HOOK # # The post-lock hook is run after a path is locked. Subversion runs # this hook by invoking a program (script, executable, binary, etc.) # named 'post-lock' (for which this file is a template) with the # following ordered arguments: # # [1] REPOS-PATH (the path to this repos...
Shell
#!/bin/sh # POST-REVPROP-CHANGE HOOK # # The post-revprop-change hook is invoked after a revision property # has been added, modified or deleted. Subversion runs this hook by # invoking a program (script, executable, binary, etc.) named # 'post-revprop-change' (for which this file is a template), with the # f...
Shell
#!/bin/sh # PRE-UNLOCK HOOK # # The pre-unlock hook is invoked before an exclusive lock is # destroyed. Subversion runs this hook by invoking a program # (script, executable, binary, etc.) named 'pre-unlock' (for which # this file is a template), with the following ordered arguments: # # [1] REPOS-PATH ...
Shell
#!/bin/sh # rough export PATH=$PATH:$JAVA_HOME/bin base=`dirname $0` export ALLOCATION_JAR=$base/lib/allocation.jar exec java -cp $base/lib/caliper-@VERSION@.jar:$ALLOCATION_JAR:$CLASSPATH com.google.caliper.Runner $*
Shell
#!/bin/sh OUTPUT=$1 STATIC_LIB_NAME=$OUTPUT MOVE_LOCATION=$2 BASEDIR=$3 LINKFILES=$4 LINKER_FLAGS= -shared -Wl,--version-script,/afs/cs.cmu.edu/misc/matlab/amd64_f7/7.9/lib/matlab7/extern/lib/glnxa64/mexFunction.map -Wl,--no-undefined echo $OUTPUT echo $STATIC_LIB_NAME echo 'Running godawful mex linking hack...' ...
Shell
#!/bin/bash # This script will run the program in the same location and with the same # name as this script (without the .sh). Passing it the same set of command # line options. # It also parses the following environment variables # JAVA_HOME # Either JAVA_HOME or JVM_SO_PATH must be set. # This must point to th...
Shell
#!/bin/bash major_version=2.1 echo "THIS MUST BE RUN IN GRAPHLAB HOME" ## JOEY: WHY ARE WE REMOVING THE FOLDER AND THEN USING RSYNC? rm -fR dist/graphlabapi mkdir -p dist/graphlabapi rsync -vv -al --delete --delete-excluded \ --exclude=/debug --exclude=/release --exclude=/profile --exclude=/apps \ --exclude=...
Shell
#!/bin/bash hg clone https://code.google.com/p/graphlabapi/ cd graphlabapi ./configure | tee install_configure_log.txt cd release make -j2 | tee ../v2_debug_log.txt
Shell
#!/bin/bash if [ ! -z "$PMI_RANK" ]; then RANK=$PMI_RANK elif [ ! -z "$OMPI_COMM_WORLD_RANK" ]; then RANK=$OMPI_COMM_WORLD_RANK else echo "Unable to figure out MPI Rank!" exit 1 fi #echo $RANK $* 2>&1 | tee out.$RANK
Shell
DIR="$( cd -P "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" if ! grep -q Apache $1 then echo $1 cat $DIR/../license/LICENSE_prepend.txt $1 > /tmp/out mv /tmp/out $1 fi
Shell
#!/bin/bash # This script will run the program in the same location and with the same # name as this script (without the .sh). Passing it the same set of command # line options. # It also parses the following environment variables # JAVA_HOME # Either JAVA_HOME or JVM_SO_PATH must be set. # This must point to th...
Shell
if [ ! -d src ]; then echo "Run from the graphlab root folder" exit fi ./configure -D MARCH=x86-64 -D MTUNE=generic --no_jvm scripts/compile_static_release.sh # is this a openmpi or a mpich2 build? ISOPENMPI=0 if grep -q mpi_cxx config.log then rootdirname="graphlab_openmpi_no_jvm" unstrippeddirname="graphlab_...
Shell
#!/bin/bash src_path=$(hostname):$1 dest_path=$2 echo "Copying $src_path to $dest_path" mpiexec.openmpi -hostfile ~/machines -nolocal -pernode scp -r $src_path $dest_path
Shell
#!/bin/bash if [ ! -e ~/machines ]; then echo "A list of machines must be provided in ~/machines" echo "Exiting..." exit 1 fi #db: clean ssh known_hosts cache in case ip/name changed mpiexec.openmpi -hostfile ~/machines -pernode \ sudo rm -fR ~/.ssh/known_hosts namenode=`head -n 1 ~/machines` # first node is t...
Shell
#!/bin/bash if [ ! -e ~/machines ]; then echo "A list of machines must be provided in ~/machines" echo "Exiting..." exit 1 fi namenode=$(hostname) echo "Install Torque" mpiexec.openmpi -hostfile ~/machines -pernode \ sudo apt-get --yes install torque-server torque-scheduler \ torque-client torque-common torq...
Shell
doxygen doxygen Doxyfile_internal
Shell
#!/bin/bash src_path=$(hostname):$PWD dest_path=$PWD mpiexec.openmpi -hostfile ~/machines -nolocal -pernode mkdir -p $dest_path mpiexec.openmpi -hostfile ~/machines -nolocal -pernode rsync -avz --exclude '*.make' --exclude '*.cmake' $src_path/ $dest_path
Shell
if [ ! -d src ]; then echo "Run from the graphlab root folder" exit fi ./configure --no_jvm -D NO_MPI:BOOL=true -D COMPILER_FLAGS="-mmacosx-version-min=10.5" -D MARCH=x86-64 -D MTUNE=generic scripts/compile_static_release.sh echo "Packaging binary release..." # now package a binary release # for whatever reason...
Shell
#!/bin/bash if [ ! -d release ]; then echo "Run from the graphlab root folder after ./configure" else cd release make external_dependencies cd .. rm -f deps/local/lib/libboost*.so deps/local/lib/libhdfs*.so deps/local/lib/libtcmalloc*.so deps/local/lib/libevent*.so rm -f deps/local/lib/libboost*.dylib deps/...
Shell
if [ ! -d src ]; then echo "Run from the graphlab root folder" exit fi ./configure -D MARCH=x86-64 -D MTUNE=generic scripts/compile_static_release.sh # is this a openmpi or a mpich2 build? ISOPENMPI=0 if grep -q mpi_cxx config.log then rootdirname="graphlab_openmpi" unstrippeddirname="graphlab_openmpi_unstripp...
Shell
#!/bin/bash for f in `find src \( -name "*.cpp" -or -name "*.hpp" \)`; do lastline=`tail -n 1 $f` len=$((${#lastline})) if [ $len -ne 0 ]; then echo $f echo -e "" >> $f fi done
Shell
#!/bin/sh #script for auto test graphlab distribution, written by danny bickson if [ $# -ne 1 ]; then echo "Usage: $0 <release number>" fi rm -fR /tmp/graphlabapi* cp dist/graphlabapi_v1_$1.tar.gz /tmp/ cd /tmp/ tar xvzf graphlabapi_v1_$1.tar.gz cd /tmp/graphlabapi ./configure --bootstrap --yes cd release make -j8...
Shell
#!/bin/sh # Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); yo...
Shell
#!/bin/bash function quit_if_bad_retvalue { if [ $? -eq 0 ]; then echo "PASS" else echo "FAIL. Program returned with failure" exit 1 fi } function test_rpc_prog { echo "Testing $1 ..." echo "---------$1-------------" >> $stdoutfname echo "---------$1-------------" >> $stderrfname mpiexec -n...
Shell
#!/bin/sh GLHOME="$HOME/graphlabapi" GRAPHHOME="$HOME/data/acmgraph" pagerank_only="false" #only run pagerank lda_only="true" #only run lda cmd="$GLHOME/release/apps/twitterrank/twitterrank --lda_edges $GRAPHHOME/articlewords --lda_dictionary $GRAPHHOME/words --join_on_id=true --wordid_offset=1 --ncpus=8 --ntopics=2...
Shell
#!/bin/sh GLHOME="$HOME/graphlabapi" GRAPHHOME="$HOME/data/nips" pagerank_only="false" #only run pagerank lda_only="true" #only run lda cmd="$GLHOME/release/apps/twitterrank/twitterrank --execution synchronous --lda_edges $GRAPHHOME/nipstext.txt --lda_dictionary $GRAPHHOME/nipswordlist.txt --wordid_offset=0 --ntopic...
Shell
#!/bin/sh GLHOME="$HOME/graphlabapi" GRAPHHOME="$HOME/acmgraph" pagerank_only="false" #only run pagerank lda_only="false" #only run lda personal_weights="./weights" #input file of the personalized topic weights cmd="$GLHOME/release/apps/twitterrank/twitterrank --pagerank_edges $GRAPHHOME/articlecitation --lda_edges ...
Shell
#!/bin/sh GLHOME="/home/haijieg/graphlabapi" GRAPHHOME="/home/haijieg/test_graph" pagerank_only="false" lda_only="false" cmd="$GLHOME/debug/apps/twitterrank/twitterrank --pagerank_edges $GRAPHHOME/pagerank/edges --pagerank_vertices $GRAPHHOME/pagerank/vertices --lda_edges $GRAPHHOME/lda/edges --lda_vertices $GRAPHHOME/...
Shell
#!/bin/sh module="scull" device="scull" # invoke rmmod with all arguments we got /sbin/rmmod $module $* || exit 1 # Remove stale nodes rm -f /dev/${device} /dev/${device}[0-3] rm -f /dev/${device}priv rm -f /dev/${device}pipe /dev/${device}pipe[0-3] rm -f /dev/${device}single rm -f /dev/${device}uid rm -f /dev/${de...
Shell
#!/bin/sh # $Id: scull_load,v 1.4 2004/11/03 06:19:49 rubini Exp $ module="scull" device="scull" mode="664" # Group: since distributions do it differently, look for wheel or use staff if grep -q '^staff:' /etc/group; then group="staff" else group="wheel" fi # invoke insmod with all arguments we got # and use ...
Shell
#!/bin/bash # Sample init script for the a driver module <rubini@linux.it> DEVICE="scull" SECTION="misc" # The list of filenames and minor numbers: $PREFIX is prefixed to all names PREFIX="scull" FILES=" 0 0 1 1 2 2 3 3 priv 16 pipe0 32 pipe1 33 pipe2 34 pipe3 35 ...
Shell
#!/bin/sh # $Id: scull_load,v 1.4 2004/11/03 06:19:49 rubini Exp $ module="scull" device="scull" mode="664" # Group: since distributions do it differently, look for wheel or use staff if grep -q '^staff:' /etc/group; then group="staff" else group="wheel" fi # invoke insmod with all arguments we got # and use ...
Shell
#!/bin/bash # Sample init script for the a driver module <rubini@linux.it> DEVICE="scull" SECTION="misc" # The list of filenames and minor numbers: $PREFIX is prefixed to all names PREFIX="scull" FILES=" 0 0 1 1 2 2 3 3 priv 16 pipe0 32 pipe1 33 pipe2 34 pipe3 35 ...
Shell
#!/bin/sh module="scull" device="scull" # invoke rmmod with all arguments we got /sbin/rmmod $module $* || exit 1 # Remove stale nodes rm -f /dev/${device} /dev/${device}[0-3] rm -f /dev/${device}priv rm -f /dev/${device}pipe /dev/${device}pipe[0-3] rm -f /dev/${device}single rm -f /dev/${device}uid rm -f /dev/${de...
Shell
#!/bin/bash # 打开apache.http调试信息 adb shell setprop log.tag.org.apache.http VERBOSE adb shell setprop log.tag.org.apache.http.wire VERBOSE adb shell setprop log.tag.org.apache.http.headers VERBOSE echo "Enable Debug"
Shell
#!/bin/bash # # Misc utilities action=$1 shift case $action in unit-tests) find . -name \*test.py | sh -e -x ;; example) # this fails PYTHONPATH=. examples/taste_example_test.py ;; wc) find . -name \*.py | xargs wc -l "$@" | sort -n ;; *) echo "Invalid action '$action'" ...
Shell
#!/bin/bash # # Copyright (C) 2007 The Android Open Source Project # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by ap...
Shell
#!/bin/bash # # Copyright (C) 2007 The Android Open Source Project # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by ap...
Shell
#!/bin/bash MEMORY=512m java -Xmx$MEMORY -cp "../lib/*" -javaagent:../lib/sizeofag-1.0.0.jar moa.gui.GUI
Shell
#!/bin/bash . function runtime=180 dev=/dev/node1/test directory=/root/fio/result test libaio randwrite 4K 1 test libaio randwrite 4K 2 test libaio randwrite 4K 4 test libaio randwrite 4K 8 test libaio randwrite 4K 16 test libaio randwrite 4K 32 test libaio randwrite 4K 64 test libaio randwrite 4K 128 test libaio ra...
Shell
#!/bin/bash runtime=120 dev="" directory="" function realdev { link=`readlink $dev` if [ "$link" == "" ]; then echo $dev else echo -e $dev | awk -F "/" ' { for (i=1;i<NF;++i) { if (i!=1) { printf("/"); } printf("%s", $i); } }' echo "/"$link fi } function devname { realdev | awk ...
Shell
#!/bin/bash runtime=120 dev="" directory="" function realdev { link=`readlink $dev` if [ "$link" == "" ]; then echo $dev else echo -e $dev | awk -F "/" ' { for (i=1;i<NF;++i) { if (i!=1) { printf("/"); } printf("%s", $i); } }' echo "/"$link fi } function devname { realdev | awk ...
Shell
#!/bin/bash . function runtime=180 dev=/dev/node1/test directory=/root/fio/result test libaio randwrite 4K 1 test libaio randwrite 4K 2 test libaio randwrite 4K 4 test libaio randwrite 4K 8 test libaio randwrite 4K 16 test libaio randwrite 4K 32 test libaio randwrite 4K 64 test libaio randwrite 4K 128 test libaio ra...
Shell
#!/bin/bash # 打开apache.http调试信息 adb shell setprop log.tag.org.apache.http VERBOSE adb shell setprop log.tag.org.apache.http.wire VERBOSE adb shell setprop log.tag.org.apache.http.headers VERBOSE echo "Enable Debug"
Shell
#! /bin/sh # depcomp - compile a program generating dependencies as side-effects scriptversion=2011-12-04.11; # UTC # Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006, 2007, 2009, 2010, # 2011 Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms o...
Shell
#!/bin/sh # install - install a program, script, or datafile scriptversion=2011-01-19.21; # UTC # This originates from X11R5 (mit/util/scripts/install.sh), which was # later released in X11R6 (xc/config/util/install.sh) with the # following copyright and license. # # Copyright (C) 1994 X Consortium # # Permission is ...
Shell
#!/bin/sh # $Id: ocs,v 1.4 2004/06/21 18:13:21 broeker Exp $ # This utility maintains the database for cscope on a recursive dir set # Author: donwo Tue Jun 25 15:36:39 PDT 1996 # Modified: hops Jan 2000 chg defaults to not update if files exist and force # # These comments ARE the manual. What more do you really n...
Shell
#! /bin/sh ############################################################################### # # File: cscope-indexer # RCS: $Header: /cvsroot/cscope/cscope/contrib/xcscope/cscope-indexer,v 1.2 2001/06/28 04:39:47 darrylo Exp $ # Description: Script to index files for cscope # # This script generates a...
Shell
#! /bin/sh # Common stub for a few missing GNU programs while installing. scriptversion=2012-01-06.13; # UTC # Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005, 2006, # 2008, 2009, 2010, 2011, 2012 Free Software Foundation, Inc. # Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996. # This pro...
Shell
#! /bin/sh # mkinstalldirs --- make directory hierarchy scriptversion=2009-04-28.21; # UTC # Original author: Noah Friedman <friedman@prep.ai.mit.edu> # Created: 1993-05-16 # Public domain. # # This file is maintained in Automake, please report # bugs to <bug-automake@gnu.org> or send patches to # <automake-patches@g...
Shell
#! /bin/sh # Wrapper for compilers which do not understand '-c -o'. scriptversion=2012-01-04.17; # UTC # Copyright (C) 1999, 2000, 2003, 2004, 2005, 2009, 2010, 2012 Free # Software Foundation, Inc. # Written by Tom Tromey <tromey@cygnus.com>. # # This program is free software; you can redistribute it and/or modify #...
Shell
#! /bin/sh # ylwrap - wrapper for lex/yacc invocations. scriptversion=2011-08-25.18; # UTC # Copyright (C) 1996, 1997, 1998, 1999, 2001, 2002, 2003, 2004, 2005, # 2007, 2009, 2010, 2011 Free Software Foundation, Inc. # # Written by Tom Tromey <tromey@cygnus.com>. # # This program is free software; you can redistribut...
Shell
# Create the LaTeX output for SimpleDBM documents # Documents refer to a number of images that must be in the images directory. # These images are generated using the GraphViz dot package. PATH="/Library/Frameworks/Python.framework/Versions/Current/bin:${PATH}" PATH=$PATH:/usr/local/graphviz-2.12/bin PATH=$PATH:~/Appl...
Shell
# Create the LaTeX output for SimpleDBM documents # Documents refer to a number of images that must be in the images directory. # These images are generated using the GraphViz dot package. export PATH=$PATH:~/Applications/docutils/tools rst2latex.py --documentclass="article" --documentoptions="oneside" --use-latex-fo...
Shell
umlgraph TypeSystem png
Shell
java -Xms128m -Xmx1024m -jar ../lib/simpledbm-network-server-1.0.18-SNAPSHOT-jar-with-dependencies.jar open ../config/test.properties
Shell
java -jar ../lib/simpledbm-network-server-1.0.18-SNAPSHOT-jar-with-dependencies.jar create ../config/test.properties
Shell
#!/bin/sh # Detects OS we're compiling on and generates build_config.mk, # which in turn gets read while processing Makefile. # build_config.mk will set the following variables: # - PORT_CFLAGS will either set: # -DLEVELDB_PLATFORM_POSIX if cstatomic is present # -DLEVELDB_PLATFORM_NOATOMI...
Shell
#!/bin/bash # # Starts a basic web server on the port specified. # # ./serve.sh 3000 -> http://localhost:3000 # # Copyright 2012 Eric Bidelman <ebidel@gmail.com> port=$1 if [ $# -ne 1 ] then port=8000 fi if [ $(uname -s) == "Darwin" ] then open=open else open=xdg-open fi $open http://localhost:$port/templat...
Shell
#!/bin/bash # Copyright (C) 2011 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to...
Shell
#!/bin/bash # Copyright (C) 2011 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to...
Shell
#!/bin/bash # Sample shell script for invoking ant. # Copy to a new file and fill in the values below. # To keep the secrets secret, don't share your runant script. # 01234567890123456789 ant -Dsecret=<a random secret string, 20 chars long> \ -Dapp-id=your-app-id \ -Dapp-version=1 \ -Doauth-cli...
Shell
#! /bin/bash #small script to cross-compile the packages for windows. BUILD_DIR=build SOURCE_DIR=../.. . cross.env #get the absolute path SOURCE_DIR=$(cd $(dirname ${SOURCE_DIR}) && pwd) make -C $SOURCE_DIR distclean echo "Compiling for target ${TARGET} in ${BUILD_DIR} from ${SOURCE_DIR}" echo "PKGCONFIG path is ...
Shell
#! /bin/bash BASEDIR=$1 OUTNAME=$2 pushd $BASEDIR DIRS=`find data/* -type d | sed -e 's:/:\\\\:g' | awk '{ print "File /r ${SRCDIR}\\\\" $0 }'` #Then top-level files ending in .db FILES=`find data -maxdepth 1 -name '*.db' | sed -e 's:/:\\\\:g' | awk '{ print "File ${SRCDIR}\\\\" $0 }'` popd echo "$DIRS" > ${OUTNAME} ...
Shell
#! /bin/bash #This script converts windows .pc files for gtk to a linux-xcompile-environment safe version . cross.env PCDIR=$WINGTK_PATH/lib/pkgconfig echo "Converting .pc files in $PCDIR" cd $PCDIR for f in *.pc; do if grep 'prefix=' $f >/dev/null 2>&1 ; then cat $f | sed s+^prefix=.*$+prefix=$WINGTK_PATH+ >...
Shell
#! /bin/bash aclocal -I ac_macros/ autoconf autoheader automake --add-missing
Shell
#! /bin/bash source $srcdir/test.sh echo "***********************" echo "Testing Virtex-4 Family" echo "***********************" MAKEFILE="$srcdir/testmake.mk DEBIT=\$(top_builddir)/debit_v4 DUMPARG=--unkdump XDL2BIT=\$(top_builddir)/xdl/xdl2bit_v4" family=virtex4 test_family
Shell
#! /bin/bash source $srcdir/test.sh echo "***********************" echo "Testing Virtex-5 Family" echo "***********************" MAKEFILE="$srcdir/testmake.mk DEBIT=\$(top_builddir)/debit_v5 DUMPARG=--unkdump XDL2BIT=\$(top_builddir)/xdl/xdl2bit_v5" family=virtex5 test_family
Shell
#! /bin/bash . log-functions COMPARE="cmp -s" #MAKE is set by make itself from above function get_dirs() { DIRS=`ls -d $1/*/` } function test_family() { get_dirs $family for chip in $DIRS; do #echo "Descending in chip $chip" test_chip || exit 1 done } function test_chip() { get_dirs $chip ...
Shell
#! /bin/bash source $srcdir/test.sh echo "************************" echo "Speed Virtex-II Family" echo "************************" function speed_design() { local DESIGN_NAME=$1; echo "Doing speed analysis for design $DESIGN_NAME" make -s --no-print-directory -f $MAKEFILE ${DESIGN_NAME}.allspeed } CALLED...
Shell
#! /bin/bash source $srcdir/test.sh echo "************************" echo "Testing Virtex-II Family" echo "************************" MAKEFILE="$srcdir/testmake.mk DEBIT=\$(top_builddir)/debit DUMPARG=--framedump" family=virtex2 test_family
Shell
#! /bin/bash source $srcdir/test.sh echo "************************" echo "Testing Spartan-3 Family" echo "************************" MAKEFILE="$srcdir/testmake.mk DEBIT=\$(top_builddir)/debit_s3 DUMPARG=--framedump XDL2BIT=\$(top_builddir)/xdl/xdl2bit_s3" family=spartan3 test_family
Shell
#-*- mode: shell-script;-*- # Ulogic tools completion. # Copyright 2007 Jean-Baptiste Note <jbnote@gmail.com> # _ulogic() { local cur prev opts base COMPREPLY=() CMD=$1 cur="${COMP_WORDS[COMP_CWORD]}" prev="${COMP_WORDS[COMP_CWORD-1]}" # # Complete the arguments to some of the basic comm...
Shell
#!/bin/bash set -e PATCH="patches/ns-3-dev.$(date +%Y%m%d%H%M).patch" (cd .. && hg diff src) > $PATCH echo "Patch generated: $PATCH"
Shell
#!/bin/bash set -e NS3PATH=${NS3PATH:-..} export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:${NS3PATH}/build/debug export PYTHONPATH=$PYTHONPATH:${NS3PATH}/build/debug:. for TEST in test/*.py; do echo "$TEST" python $TEST || true done
Shell
#!/bin/sh # Detects OS we're compiling on and generates build_config.mk, # which in turn gets read while processing Makefile. # build_config.mk will set the following variables: # - PORT_CFLAGS will either set: # -DLEVELDB_PLATFORM_POSIX if cstatomic is present # -DLEVELDB_PLATFORM_NOATOMI...
Shell
#! /bin/bash aclocal -I ac_macros/ autoconf autoheader automake --add-missing
Shell
#-*- mode: shell-script;-*- # Ulogic tools completion. # Copyright 2007 Jean-Baptiste Note <jbnote@gmail.com> # _ulogic() { local cur prev opts base COMPREPLY=() CMD=$1 cur="${COMP_WORDS[COMP_CWORD]}" prev="${COMP_WORDS[COMP_CWORD-1]}" # # Complete the arguments to some of the basic comm...
Shell
#! /bin/bash . log-functions COMPARE="cmp -s" #MAKE is set by make itself from above function get_dirs() { DIRS=`ls -d $1/*/` } function test_family() { get_dirs $family for chip in $DIRS; do #echo "Descending in chip $chip" test_chip || exit 1 done } function test_chip() { get_dirs $chip ...
Shell
#! /bin/bash source $srcdir/test.sh echo "************************" echo "Testing Virtex-II Family" echo "************************" MAKEFILE="$srcdir/testmake.mk DEBIT=\$(top_builddir)/debit DUMPARG=--framedump" family=virtex2 test_family
Shell
#! /bin/bash source $srcdir/test.sh echo "***********************" echo "Testing Virtex-4 Family" echo "***********************" MAKEFILE="$srcdir/testmake.mk DEBIT=\$(top_builddir)/debit_v4 DUMPARG=--unkdump XDL2BIT=\$(top_builddir)/xdl/xdl2bit_v4" family=virtex4 test_family
Shell
#! /bin/bash source $srcdir/test.sh echo "************************" echo "Testing Spartan-3 Family" echo "************************" MAKEFILE="$srcdir/testmake.mk DEBIT=\$(top_builddir)/debit_s3 DUMPARG=--framedump XDL2BIT=\$(top_builddir)/xdl/xdl2bit_s3" family=spartan3 test_family
Shell
#! /bin/bash source $srcdir/test.sh echo "************************" echo "Speed Virtex-II Family" echo "************************" function speed_design() { local DESIGN_NAME=$1; echo "Doing speed analysis for design $DESIGN_NAME" make -s --no-print-directory -f $MAKEFILE ${DESIGN_NAME}.allspeed } CALLED...
Shell
#! /bin/bash source $srcdir/test.sh echo "***********************" echo "Testing Virtex-5 Family" echo "***********************" MAKEFILE="$srcdir/testmake.mk DEBIT=\$(top_builddir)/debit_v5 DUMPARG=--unkdump XDL2BIT=\$(top_builddir)/xdl/xdl2bit_v5" family=virtex5 test_family
Shell