Changeset 24244 for branches/cnb_branches/cnb_branch_20090301/psconfig
- Timestamp:
- May 26, 2009, 1:59:32 PM (17 years ago)
- Location:
- branches/cnb_branches/cnb_branch_20090301
- Files:
-
- 7 edited
-
. (modified) (1 prop)
-
psconfig (modified) (1 prop)
-
psconfig/psbuild (modified) (5 diffs)
-
psconfig/pschecklibs (modified) (1 diff)
-
psconfig/tagsets/ipp-2.7.perl (modified) (1 diff)
-
psconfig/tagsets/ipp-2.8.libs (modified) (3 diffs)
-
psconfig/tagsets/ipp-2.8.perl (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/cnb_branches/cnb_branch_20090301
- Property svn:mergeinfo changed
-
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 13 13 $stop = ""; 14 14 $verbose = 0; 15 $use_svn = 1;16 15 $svn_trunk = ""; 16 $offline = 0; 17 17 18 18 $extlibs = "none"; … … 90 90 &bootstrap (); 91 91 } 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; 95 95 } 96 96 if ($ARGV[0] eq "-env") { … … 167 167 sub build_distribution { 168 168 169 # set environment variables used to supply SVN info to the compilation170 171 if ($use_svn) {172 # example dump from svn info:173 # pikake: svn info174 # Path: .175 # URL: https://svn.pan-starrs.ifa.hawaii.edu/repo/ipp/branches/eam_branches/eam_branch_20090303/ppImage176 # Repository Root: https://svn.pan-starrs.ifa.hawaii.edu/repo/ipp177 # Repository UUID: 60eb6cdc-a59c-4636-a4e0-dba66a9721fd178 # Revision: 23158179 # Node Kind: directory180 # Schedule: normal181 # Last Changed Author: price182 # Last Changed Rev: 23125183 # 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 values197 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 225 169 # use psconfig.csh to set needed build aliases 226 170 if ($extlibs eq "check") { … … 279 223 if ($optimize) { $psopts = "$psopts --enable-optimize"; } 280 224 if ($profile) { $psopts = "$psopts --enable-profile --disable-shared --enable-static"; } 225 $psopts .= " --disable-version" if $offline; 281 226 282 227 $homedir = `pwd`; chomp $homedir; … … 299 244 300 245 if ($svn_trunk && (!-d $workdir || !-r $workdir || !-x $workdir)) { 301 # try trunk instead246 # try trunk instead 302 247 print STDERR "$module[$i] missing from local path, trying trunk path\n"; 303 $workdir = "$svn_trunk/$module[$i]";248 $workdir = "$svn_trunk/$module[$i]"; 304 249 } 305 250 -
branches/cnb_branches/cnb_branch_20090301/psconfig/pschecklibs
r23352 r24244 25 25 if ($ARGV[0] eq "-force") { 26 26 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 } 28 35 shift; shift; next; 29 36 } -
branches/cnb_branches/cnb_branch_20090301/psconfig/tagsets/ipp-2.7.perl
r22213 r24244 81 81 77 Filesys::Df Filesys-Df-0.92.tar.gz 0.92 82 82 78 SQL::Interp SQL-Interp-1.06.tar.gz 83 79 Log::Dispatch::Email::MailSend Log-Dispatch-2.22.tar.gz 83 84 -
branches/cnb_branches/cnb_branch_20090301/psconfig/tagsets/ipp-2.8.libs
r23352 r24244 18 18 # make install options 19 19 20 21 # Build tools 22 bin autoconf NONE NONE autoconf-2.63.tar.gz autoconf-2.63 N NONE NONE NONE 23 bin automake NONE NONE automake-1.10.tar.gz automake-1.10 N NONE NONE NONE 24 bin libtool NONE NONE libtool-2.2.6a.tar.gz libtool-2.2.6 N NONE NONE NONE 25 bin pkg-config NONE NONE pkg-config-0.23.tar.gz pkg-config-0.23 N NONE NONE NONE 26 20 27 lib libm NONE NONE NONE NONE N NONE NONE NONE 21 28 lib libX11 NONE NONE NONE NONE N NONE NONE NONE … … 27 34 lib libjpeg NONE jpeg jpegsrc.v6b-p1.tar.gz jpeg-6b N --enable-shared NONE install-lib 28 35 lib 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 NONE30 36 lib libmysqlclient NONE mysql mysql-5.0.51a.tar.gz mysql-5.0.51a N NONE NONE NONE 31 37 lib libgsl NONE NONE gsl-1.11.tar.gz gsl-1.11 N NONE NONE NONE 32 38 lib 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 NONE34 # paul claims we are not currently using double-point FFTs anywhere35 39 36 bin pkg-config NONE NONE pkg-config-0.22.tar.gz pkg-config-0.22 N NONE NONE NONE37 40 38 41 inc X11/Xatom.h NONE NONE NONE NONE N NONE NONE NONE … … 55 58 inc gsl/gsl_rng.h NONE NONE gsl-1.11.tar.gz gsl-1.11 N NONE NONE NONE 56 59 inc inttypes.h NONE NONE NONE NONE N NONE NONE NONE 57 inc jpeglib.h NONE jpeg jpegsrc.v6b .tar.gzjpeg-6b N --enable-shared NONE install-lib60 inc jpeglib.h NONE jpeg jpegsrc.v6b-p1.tar.gz jpeg-6b N --enable-shared NONE install-lib 58 61 inc limits.h NONE NONE NONE NONE N NONE NONE NONE 59 62 inc malloc.h NONE NONE NONE NONE N NONE NONE NONE -
branches/cnb_branches/cnb_branch_20090301/psconfig/tagsets/ipp-2.8.perl
r23352 r24244 81 81 77 Filesys::Df Filesys-Df-0.92.tar.gz 0.92 82 82 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.
