Re: Solaris ubersmoke now operational
[email protected] ("H.Merijn Brand") Sun, 10 Aug 2003 11:53:06 +0200
| Newsgroups | perl.daily-build |
|---|---|
| Message-ID | <[email protected]> |
On Sat 09 Aug 2003 01:42, Abe Timmerman <[email protected]> wrote: > Op een zonnige zomerdag (Saturday 09 August 2003 01:03), schreef Alan > Burlison: > > > Abe Timmerman wrote: > > > > > Just tell me what you want out of this and I'll try to implement it. > > > > Oooohhhh - gime gime gime! > > > > That's even *better* than what I wanted :-) It looks extremely useful :) Nice thinking. > glad to hear that... I'll put 1.18.02 on CPAN tomorrow (Saturday). > > > Another question: Bu default I want to -Duseshrplib -Uusemymalloc on *all* > > smoke tests on Solaris - what is the easiest way to do this? Do I hack > > Policy .sh (which seems a bit fragile) or put something in the > > perlcurrent.cfg & perl562.cfg files? > > Either I guess, but I don't know how to do that from Policy.sh. If you want to > use Policy.sh, it needs to reside in <ddir>/../Policy.sh I'd for sure go for the Policy.sh Want mine as a cross system example? I've attached two rather old versions of it, since the newer is not reachable. My coworkers were so friendly to power down all systems over the weekend :(( So I've also got no access to my Cygwin smoke status. D'uh! > > If so, would the following do the > > trick? > > These are normal commandline arguments to Configure aren't they? > If so, just add a *one* line section to the top of perlcurrent.cfg like: > > -Duseshrplib -Uusemymalloc > = > > Although, I'd use a copy of the *.cfg files for that and specify those in your > smokeconfig (helps you to update Test::Smoke faster as the defaults get > overwritten by C<make install>). > One-line sections in the build configurations file represent options that will > be in *all* configurations (remember: all lines of all sections are > combined). > > > /-Duseshrplib/ > > -Duseshrplib > > /-Dusemymalloc/ > > -Dusemymalloc > > No need for replacement stuff in 'ccflags' from Policy.sh is there (that's > what the slashes indicate)? -- H.Merijn Brand Amsterdam Perl Mongers (http://amsterdam.pm.org/) using perl-5.6.1, 5.8.0 & 633 on HP-UX 10.20 & 11.00, AIX 4.2, AIX 4.3, WinNT 4, Win2K pro & WinCE 2.11. Smoking perl CORE: [email protected] http://archives.develooper.com/[email protected]/ [email protected] send smoke reports to: [email protected], QA: http://qa.perl.org
Policy.gcc
(application/octet-stream, 1.5 KB) - not displayed
Policy.sh
(application/octet-stream, 1.1 KB)
#!/usr/bin/sh # put this file in the perl source tree and run 'Configure -ds' perladmin='[email protected]' cf_email='[email protected]' prefix=/pro man1dir=/pro/local/man/man1 man3dir=/pro/local/man/man3 echo "===== PROCURA Policy for $OSTYPE ($osname $osvers) ====================">&2 ccflags='-DDEBUGGING' extras='none' bincompat5005='undef' case "$osname" in aix) if [ "$usethreads" = "define" ]; then cc=cc_r else cc=xlc fi optimize='-O2' ;; hpux) cc=cc case `uname -r` in B.10.20) ccflags="$ccflags +DAportable" ;; esac # -fast = +O3 +Onolooptransform +Olibcalls +FPD +Oentrysched +Ofastaccess' # optimize='+O2 +Onolooptransform +Olibcalls +FPD +Onolimit' ;; osf1) cc=cc ccflags="$ccflags -std -D_INTRINSICS -D_INLINE_INTRINSICS" optimize='-O2' useshrplib='false' ;; cygwin) #cc='ccache gcc' optimize=' ' ccflags="$ccflags -I/usr/X11R6/include" ;; esac #if [ -x /pro/bin/perl ]; then # /pro/bin/perl -e '$v="5";while(<>){m/#define\s+PERL_(?:SUB)?VERSION\s+(\d+)/and$v.=".$1"}$v=~s/\.(.)\./.00\1/;print STDERR "$v <=> $]\n";$]<$v?1:0' $src/patchlevel.h && # versiononly='define' # fi