Action_Thermostats
        Add_AtomRandomPerturbation
        Add_SelectAtomByNameAction
        Adding_Graph_to_ChangeBondActions
        Adding_MD_integration_tests
        Adding_StructOpt_integration_tests
        AutomationFragmentation_failures
        Candidate_v1.6.1
        Candidate_v1.7.0
        ChangeBugEmailaddress
        ChemicalSpaceEvaluator
        Docu_Python_wait
        EmpiricalPotential_contain_HomologyGraph_documentation
        Enhance_userguide
        Enhanced_StructuralOptimization
        Enhanced_StructuralOptimization_continued
        Example_ManyWaysToTranslateAtom
        Exclude_Hydrogens_annealWithBondGraph
        Fix_StepWorldTime_single_argument
        Fix_Verbose_Codepatterns
        ForceAnnealing_oldresults
        ForceAnnealing_with_BondGraph
        ForceAnnealing_with_BondGraph_continued
        ForceAnnealing_with_BondGraph_continued_betteresults
        ForceAnnealing_with_BondGraph_contraction-expansion
        Gui_displays_atomic_force_velocity
        IndependentFragmentGrids_IntegrationTest
        JobMarket_RobustOnKillsSegFaults
        JobMarket_StableWorkerPool
        PythonUI_with_named_parameters
        QtGui_reactivate_TimeChanged_changes
        Recreated_GuiChecks
        StoppableMakroAction
        TremoloParser_IncreasedPrecision
        TremoloParser_MultipleTimesteps
        stable
      
      
        
          | 
            Last change
 on this file since 15d21e was             97a858, checked in by Frederik Heber <heber@…>, 13 years ago           | 
        
        
          | 
             
Added some developer scripts to check on commits and releases. 
 
           | 
        
        
          
            
              - 
Property                 mode
 set to                 
100755
               
             
           | 
        
        
          | 
            File size:
            1.7 KB
           | 
        
      
      
| Line |   | 
|---|
| 1 | #!/bin/bash -x
 | 
|---|
| 2 | #
 | 
|---|
| 3 | # This scripts stores required packages locally prior to calling 
 | 
|---|
| 4 | # CheckAllPossiblEnables.sh such that e.g. they don't are accessed over
 | 
|---|
| 5 | # the network.
 | 
|---|
| 6 | 
 | 
|---|
| 7 | function checkdir
 | 
|---|
| 8 | {
 | 
|---|
| 9 |         # $1 is the variable name
 | 
|---|
| 10 |         # $2 is the variable to check
 | 
|---|
| 11 | if [ -z $2 ]; then
 | 
|---|
| 12 |         echo "Please set a $1 environment variable."
 | 
|---|
| 13 | 
 | 
|---|
| 14 | if [ -z $1 ]; then
 | 
|---|
| 15 |         echo "Usage: $0 <commit> <TMPDIR=...> <PACKAGEDIR=...> <MOLECUILDERDIR=...>"
 | 
|---|
| 16 |         exit 1
 | 
|---|
| 17 | fi
 | 
|---|
| 18 | 
 | 
|---|
| 19 | # TMPDIR is where we test
 | 
|---|
| 20 | checkdir TMPDIR $TMPDIR
 | 
|---|
| 21 | # PACKAGEDIR contains required packages
 | 
|---|
| 22 | checkdir PACKAGEDIR $PACKAGEDIR
 | 
|---|
| 23 | # MOLECUILDERDIR contains molecuilder repo to check
 | 
|---|
| 24 | checkdir MOLECUILDERDIR $MOLECUILDERDIR
 | 
|---|
| 25 | 
 | 
|---|
| 26 | mkdir -p /tmp/ccache-$user
 | 
|---|
| 27 | 
 | 
|---|
| 28 | # make dependencies local
 | 
|---|
| 29 | for depdir in boost-1.47 Qt-4.7.4 CodePatterns-1.2.3 JobMarket-1.1.1; do
 | 
|---|
| 30 |         echo "Syncing local ${depdir} with remote ..."
 | 
|---|
| 31 |         if [ ! -e $TMPDIR/dependencies/${depdir} ]; then
 | 
|---|
| 32 |                 echo "Creating dir ..."
 | 
|---|
| 33 |                 mkdir -p $TMPDIR/dependencies/${depdir}
 | 
|---|
| 34 |         fi
 | 
|---|
| 35 |         rsync -avz --delete-after $PACKAGEDIR/${depdir}/ $TMPDIR/dependencies/${depdir} 
 | 
|---|
| 36 | done
 | 
|---|
| 37 | find $TMPDIR/dependencies/ -path '*/pkgconfig/*' -name '*.pc' -exec sed -i -e "s#$PACKAGEDIR#$TMPDIR/dependencies#g" {} \;
 | 
|---|
| 38 | 
 | 
|---|
| 39 | export PKG_CONFIG_PATH="$TMPDIR/dependencies/Qt-4.7.4/lib/pkgconfig"
 | 
|---|
| 40 | rm molecuilder -rf
 | 
|---|
| 41 | ./CheckAllPossibleEnables.sh $MOLECUILDERDIR molecuilder $1 --with-Qt-dir=$TMPDIR/dependencies/Qt-4.7.4 --with-Qt-bin=$TMPDIR/dependencies/Qt-4.7.4/bin --with-codepatterns=$TMPDIR/dependencies/CodePatterns-1.2.3 --with-jobmarket=$TMPDIR/dependencies/JobMarket-1.1.1 --with-boost=$TMPDIR/dependencies/boost-1.47 --with-vmg-mpi CCACHE_DIR="/tmp/ccache-heber/" CXX="ccache g++" MPICXX="mpicxx.openmpi" CXXFLAGS="-Wall -g3" MPICXX=mpicxx.openmpi PKG_CONFIG_PATH="$TMPDIR/dependencies/Qt-4.7.4/lib/pkgconfig"
 | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.