Changeset 1349 for trunk/config/scripts
- Timestamp:
- Jan 5, 2011, 12:20:17 PM (15 years ago)
- Location:
- trunk/config/scripts
- Files:
-
- 5 edited
-
CVS/Entries (modified) (1 diff)
-
CVS/Tag (modified) (1 diff)
-
env.csh.SH (modified) (2 diffs)
-
env.sh.SH (modified) (2 diffs)
-
install.sh.SH (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/config/scripts/CVS/Entries
r1337 r1349 1 /GNUmakefile/1.8/Thu Sep 30 06:01:25 2010//Tgeant4-09-04- beta-012 /binmake.gmk/1.11/Thu Sep 30 06:01:25 2010//Tgeant4-09-04- beta-013 /env.csh.SH/1. 49/Thu Sep 30 06:01:26 2010//Tgeant4-09-04-beta-014 /env.sh.SH/1.5 4/Thu Sep 30 06:01:26 2010//Tgeant4-09-04-beta-015 /install.sh.SH/1.4 5/Thu Sep 30 06:01:26 2010//Tgeant4-09-04-beta-016 /move.sh.SH/1.18/Thu Sep 30 06:01:26 2010//Tgeant4-09-04- beta-011 /GNUmakefile/1.8/Thu Sep 30 06:01:25 2010//Tgeant4-09-04-ref-00 2 /binmake.gmk/1.11/Thu Sep 30 06:01:25 2010//Tgeant4-09-04-ref-00 3 /env.csh.SH/1.50/Wed Dec 22 10:21:15 2010//Tgeant4-09-04-ref-00 4 /env.sh.SH/1.55/Wed Dec 22 10:21:15 2010//Tgeant4-09-04-ref-00 5 /install.sh.SH/1.46/Wed Dec 22 10:21:15 2010//Tgeant4-09-04-ref-00 6 /move.sh.SH/1.18/Thu Sep 30 06:01:26 2010//Tgeant4-09-04-ref-00 7 7 D -
trunk/config/scripts/CVS/Tag
r1331 r1349 1 Ngeant4-09-04- beta-011 Ngeant4-09-04-ref-00 -
trunk/config/scripts/env.csh.SH
r1337 r1349 42 42 unsetenv G4REALSURFACEDATA 43 43 unsetenv G4NEUTRONXSDATA 44 unsetenv G4PIIDATA 44 45 45 46 unsetenv G4LIB … … 170 171 endif 171 172 173 #+ 174 if ( X$g4piidata != X ) then 175 setenv G4PIIDATA "$g4piidata" 176 echo "On this machine the G4PIIDATA=\$G4PIIDATA" 177 endif 178 179 172 180 173 181 # -
trunk/config/scripts/env.sh.SH
r1337 r1349 42 42 unset G4REALSURFACEDATA 43 43 unset G4NEUTRONXSDATA 44 unset G4PIIDATA 44 45 45 46 unset G4LIB … … 198 199 if [ X\$g4non_display = X ] ; then 199 200 echo "On this machine the G4NEUTRONXSDATA=\$G4NEUTRONXSDATA" 201 fi 202 fi 203 204 #+ 205 if [ X$g4piidata != X ] ; then 206 G4PIIDATA="$g4piidata" 207 export G4PIIDATA 208 if [ X\$g4non_display = X ] ; then 209 echo "On this machine the G4PIIDATA=\$G4PIIDATA" 200 210 fi 201 211 fi -
trunk/config/scripts/install.sh.SH
r1337 r1349 630 630 631 631 if test -f \$G4INSTALL/config/scripts/GNUmakefile.db ; then 632 mv \$G4INSTALL/config/scripts/GNUmakefile.db \$G4LIB/\$G4SYSTEM/GNUmakefile.db.bac632 mv \$G4INSTALL/config/scripts/GNUmakefile.db \$G4LIB/\$G4SYSTEM/GNUmakefile.db.bac 633 633 fi 634 634 … … 642 642 echo "Starting build..." 643 643 echo "" 644 645 echo "Cleaning up $g4conf/g4make.log" 646 rm -rf $g4conf/g4make.log 647 644 648 cd $g4install/source 645 #echo `pwd` 649 650 if test $g4make_jobs -gt 1 ; then 651 $g4make obj -j $g4make_jobs 652 fi 646 653 647 654 # There is no env! 648 655 if [ X$g4global = Xy ] ; then 649 echo "" 650 rm -rf $g4conf/g4make.log 651 $g4make global 2>&1 | tee $g4conf/g4make.log 656 echo "Building global libraries..." 657 $g4make global 2>&1 | tee $g4conf/g4make.log 652 658 fi 653 659 654 660 # There is env for binaries - for User: should be set in env.[c]sh! 655 661 if [ X$g4granular = Xy ] ; then 656 G4LIB_USE_GRANULAR=1 657 export G4LIB_USE_GRANULAR 658 rm -rf $g4conf/g4make.log 659 $g4make 2>&1 | tee $g4conf/g4make.log662 echo "Building granular libraries..." 663 G4LIB_USE_GRANULAR=1 664 export G4LIB_USE_GRANULAR 665 $g4make 2>&1 | tee $g4conf/g4make.log 660 666 fi 661 667 662 668 if [ X$g4lib_build_dll = Xy ] ; then 663 echo "" 664 rm -rf $g4conf/g4make.log 665 $g4make dll 2>&1 | tee $g4conf/g4make.log 669 echo "Building WIN32 DLLs..." 670 $g4make dll 2>&1 | tee $g4conf/g4make.log 666 671 fi 667 672 668 673 if [ X$g4lib_build_dyn = Xy ] ; then 669 echo ""670 rm -rf $g4conf/g4make.log671 $g4make global G4LIB_BUILD_SHARED=1 2>&1 | tee $g4conf/g4make.log674 echo "" 675 rm -rf $g4conf/g4make.log 676 $g4make global G4LIB_BUILD_SHARED=1 2>&1 | tee $g4conf/g4make.log 672 677 fi 673 678 674 679 # Check for errors in log file 675 680 if test -f \$g4conf/g4make.log ; then 676 677 # There are two (at least) shells 'sh' and 'bash' with 678 # different arithmetic expansion...So we are doing it by 'text' 679 # in two steps... 681 # There are two (at least) shells 'sh' and 'bash' with 682 # different arithmetic expansion...So we are doing it by 'text' 683 # in two steps... 680 684 681 err=\`grep " Error " $g4conf/g4make.log | wc -w\` 682 int=\`grep " Interrupt " $g4conf/g4make.log | wc -w\` 683 stp=\`grep Stop\. $g4conf/g4make.log | wc -w\` 684 685 err2=\`echo \$err\` 686 int2=\`echo \$int\` 687 stp2=\`echo \$stp\` 688 689 if [ X\$err2 = X0 -a X\$int2 = X0 ] ; then 690 echo "" 691 echo "####################################################" 692 echo "# Your Geant4 installation seems to be successful! " 693 echo "# To be sure please have a look into the log file: " 694 echo "# $g4conf/g4make.log " 695 echo "####################################################" 696 echo "" 685 err=\`grep " Error " $g4conf/g4make.log | wc -w\` 686 int=\`grep " Interrupt " $g4conf/g4make.log | wc -w\` 687 stp=\`grep Stop\. $g4conf/g4make.log | wc -w\` 688 689 err2=\`echo \$err\` 690 int2=\`echo \$int\` 691 stp2=\`echo \$stp\` 692 693 if [ X\$err2 = X0 -a X\$int2 = X0 ] ; then 694 echo "" 695 echo "####################################################" 696 echo "# Your Geant4 installation seems to be successful! " 697 echo "# To be sure please have a look into the log file: " 698 echo "# $g4conf/g4make.log " 699 echo "####################################################" 700 echo "" 701 else 702 echo "" 703 echo "############################################################" 704 echo "# It looks like you had errors during Geant4 installation " 705 echo "# (or interrupted installation)! " 706 echo "# Please check log file: " 707 echo "# $g4conf/g4make.log " 708 echo "############################################################" 709 echo "" 710 fi 697 711 else 698 echo "" 699 echo "############################################################" 700 echo "# It looks like you had errors during Geant4 installation " 701 echo "# (or interrupted installation)! " 702 echo "# Please check log file: " 703 echo "# $g4conf/g4make.log " 704 echo "############################################################" 705 echo "" 706 fi 707 else 708 echo "" 709 echo "############################################################" 710 echo "# It looks like you had errors during Geant4 installation " 711 echo "# (or interrupted installation)! " 712 echo "# You have no log file: " 713 echo "# $g4conf/g4make.log " 714 echo "############################################################" 715 echo "" 712 echo "" 713 echo "############################################################" 714 echo "# It looks like you had errors during Geant4 installation " 715 echo "# (or interrupted installation)! " 716 echo "# You have no log file: " 717 echo "# $g4conf/g4make.log " 718 echo "############################################################" 719 echo "" 716 720 fi 717 721
Note:
See TracChangeset
for help on using the changeset viewer.
