IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
May 26, 2009, 1:59:32 PM (17 years ago)
Author:
beaumont
Message:

merged with trunk

Location:
branches/cnb_branches/cnb_branch_20090301
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • branches/cnb_branches/cnb_branch_20090301

  • branches/cnb_branches/cnb_branch_20090301/psconfig

    • Property svn:mergeinfo changed (with no actual effect on merging)
  • branches/cnb_branches/cnb_branch_20090301/psconfig/psbuild

    r23594 r24244  
    1313$stop = "";
    1414$verbose = 0;
    15 $use_svn = 1;
    1615$svn_trunk = "";
     16$offline = 0;
    1717
    1818$extlibs = "none";
     
    9090        &bootstrap ();
    9191    }
    92     if ($ARGV[0] eq "-skip-svn") {
    93         $use_svn = 0;
    94         shift; next;
     92    if ($ARGV[0] eq "-offline") {
     93        $offline = 1;
     94        shift; next;
    9595    }
    9696    if ($ARGV[0] eq "-env") {
     
    167167sub build_distribution {
    168168
    169     # set environment variables used to supply SVN info to the compilation
    170 
    171     if ($use_svn) {
    172         # example dump from svn info:
    173         # pikake: svn info
    174         # Path: .
    175         # URL: https://svn.pan-starrs.ifa.hawaii.edu/repo/ipp/branches/eam_branches/eam_branch_20090303/ppImage
    176         # Repository Root: https://svn.pan-starrs.ifa.hawaii.edu/repo/ipp
    177         # Repository UUID: 60eb6cdc-a59c-4636-a4e0-dba66a9721fd
    178         # Revision: 23158
    179         # Node Kind: directory
    180         # Schedule: normal
    181         # Last Changed Author: price
    182         # Last Changed Rev: 23125
    183         # Last Changed Date: 2009-03-03 15:41:16 -1000 (Tue, 03 Mar 2009)
    184        
    185         $svn_version = `svnversion`; chomp $svn_version;
    186         @svn_info = `svn info`;
    187 
    188         # get the svn_root first:
    189         foreach $line (@svn_info) {
    190             if ($line =~ m|^Repository Root:|) {
    191                 ($svn_root) = $line =~ m|^Repository Root:\s*(\S*)|;
    192                 last;
    193             }
    194         }
    195 
    196         # now get the branch and UUID values
    197         foreach $line (@svn_info) {
    198             if ($line =~ m|^URL:|) {
    199                 ($svn_branch) = $line =~ m|^URL:\s*$svn_root/*(\S*)|;
    200             }
    201             if ($line =~ m|^Repository UUID:|) {
    202                 ($svn_source) = $line =~ m|^Repository UUID:\s*(\S*)|;
    203             }
    204         }
    205        
    206         $ENV{SVN_VERSION} = $svn_version;
    207         $ENV{SVN_BRANCH}  = $svn_branch;
    208         $ENV{SVN_SOURCE}  = $svn_source;
    209     } else {
    210         # alternatively, grab these from the following files:
    211         if (! -e "SVNINFO") {
    212             print "missing SVNINFO file for repository info, skipping\n";
    213         } else {
    214             @svn_info = `cat SVNINFO`;
    215             foreach $line (@svn_info) {
    216                 ($name, $value) = split (" ", $line);
    217                 $ENV{$name} = $value;
    218             }
    219         }
    220     }
    221     print "SVN_VERSION $ENV{SVN_VERSION}\n";
    222     print "SVN_BRANCH  $ENV{SVN_BRANCH}\n";
    223     print "SVN_SOURCE  $ENV{SVN_SOURCE}\n";
    224 
    225169    # use psconfig.csh to set needed build aliases
    226170    if ($extlibs eq "check") {
     
    279223    if ($optimize) { $psopts = "$psopts --enable-optimize"; }
    280224    if ($profile)  { $psopts = "$psopts --enable-profile --disable-shared --enable-static"; }
     225    $psopts .= " --disable-version" if $offline;
    281226
    282227    $homedir = `pwd`; chomp $homedir;
     
    299244
    300245        if ($svn_trunk && (!-d $workdir || !-r $workdir || !-x $workdir)) {
    301             # try trunk instead
     246            # try trunk instead
    302247            print STDERR "$module[$i] missing from local path, trying trunk path\n";
    303             $workdir = "$svn_trunk/$module[$i]";
     248            $workdir = "$svn_trunk/$module[$i]";
    304249        }
    305250
  • branches/cnb_branches/cnb_branch_20090301/psconfig/pschecklibs

    r23352 r24244  
    2525    if ($ARGV[0] eq "-force") {
    2626        if (@ARGV < 2) { die "-force must be coupled to a library name\n"; }
    27         $force{lc($ARGV[1])} = 1;
     27        if (lc($ARGV[1]) eq 'build') {
     28            $force{'autoconf'} = 1;
     29            $force{'automake'} = 1;
     30            $force{'libtool'} = 1;
     31            $force{'pkg-config'} = 1;
     32        } else {
     33            $force{lc($ARGV[1])} = 1;
     34        }
    2835        shift; shift; next;
    2936    }
  • branches/cnb_branches/cnb_branch_20090301/psconfig/tagsets/ipp-2.7.perl

    r22213 r24244  
    8181  77    Filesys::Df                     Filesys-Df-0.92.tar.gz                  0.92
    8282  78    SQL::Interp                     SQL-Interp-1.06.tar.gz
     83  79    Log::Dispatch::Email::MailSend  Log-Dispatch-2.22.tar.gz
    8384
  • branches/cnb_branches/cnb_branch_20090301/psconfig/tagsets/ipp-2.8.libs

    r23352 r24244  
    1818#   make install options
    1919
     20
     21# Build tools
     22bin autoconf             NONE           NONE   autoconf-2.63.tar.gz     autoconf-2.63    N NONE NONE NONE
     23bin automake             NONE           NONE   automake-1.10.tar.gz     automake-1.10    N NONE NONE NONE
     24bin libtool              NONE           NONE   libtool-2.2.6a.tar.gz    libtool-2.2.6    N NONE NONE NONE
     25bin pkg-config           NONE           NONE   pkg-config-0.23.tar.gz   pkg-config-0.23  N NONE NONE NONE
     26
    2027lib libm                 NONE           NONE   NONE                     NONE             N NONE NONE NONE
    2128lib libX11               NONE           NONE   NONE                     NONE             N NONE NONE NONE
     
    2734lib libjpeg              NONE           jpeg   jpegsrc.v6b-p1.tar.gz    jpeg-6b          N --enable-shared NONE install-lib
    2835lib libcfitsio           NONE           NONE   cfitsio3100-pap.tar.gz   cfitsio3100-pap  N --enable-shared shared NONE
    29 #lib libmysqlclient      NONE           mysql  mysql-5.0.27.tar.gz      mysql-5.0.27     N NONE NONE NONE
    3036lib libmysqlclient       NONE           mysql  mysql-5.0.51a.tar.gz     mysql-5.0.51a    N NONE NONE NONE
    3137lib libgsl               NONE           NONE   gsl-1.11.tar.gz          gsl-1.11         N NONE NONE NONE
    3238lib libfftw3f            NONE           NONE   fftw-3.0.1.tar.gz        fftw-3.0.1       N --enable-float,--enable-shared,--disable-fortran NONE NONE
    33 #lib libfftw3            NONE           NONE   fftw-3.0.1.tar.gz        fftw-3.0.1       N --enable-shared,--disable-fortran NONE NONE
    34 # paul claims we are not currently using double-point FFTs anywhere
    3539
    36 bin pkg-config           NONE           NONE   pkg-config-0.22.tar.gz   pkg-config-0.22  N NONE NONE NONE
    3740
    3841inc X11/Xatom.h          NONE           NONE   NONE                     NONE             N NONE NONE NONE
     
    5558inc gsl/gsl_rng.h        NONE           NONE   gsl-1.11.tar.gz          gsl-1.11         N NONE NONE NONE
    5659inc inttypes.h           NONE           NONE   NONE                     NONE             N NONE NONE NONE
    57 inc jpeglib.h            NONE           jpeg   jpegsrc.v6b.tar.gz       jpeg-6b          N --enable-shared NONE install-lib
     60inc jpeglib.h            NONE           jpeg   jpegsrc.v6b-p1.tar.gz    jpeg-6b          N --enable-shared NONE install-lib
    5861inc limits.h             NONE           NONE   NONE                     NONE             N NONE NONE NONE
    5962inc malloc.h             NONE           NONE   NONE                     NONE             N NONE NONE NONE
  • branches/cnb_branches/cnb_branch_20090301/psconfig/tagsets/ipp-2.8.perl

    r23352 r24244  
    8181  77    Filesys::Df                     Filesys-Df-0.92.tar.gz                  0.92
    8282  78    SQL::Interp                     SQL-Interp-1.06.tar.gz
    83 
     83  79    Log::Dispatch::Email::MailSend  Log-Dispatch-2.22.tar.gz
Note: See TracChangeset for help on using the changeset viewer.