In perl.git, the branch smoke-me/microperl has been created
<http://perl5.git.perl.org/perl.git/commitdiff/22e32a1fe5684941fd3dfbec8631c680f192fc6a?hp=0000000000000000000000000000000000000000>
at 22e32a1fe5684941fd3dfbec8631c680f192fc6a (commit)
- Log -----------------------------------------------------------------
commit 22e32a1fe5684941fd3dfbec8631c680f192fc6a
Author: Nicholas Clark <[email protected]>
Date: Tue Mar 22 16:55:18 2011 +0000
Add very simple microtest for microperl
For now, all the tests we run don't use Config, so don't try to build it
first.
[Hence this is about half of the original commit by David Leadbeater, which
did build Config, from config.sh]
There's an unresolved problem with building Config - building Config.pm etc
from config.sh won't reflect the capabilities of the microperl being tested,
so that argues for the right solution to be adapting configpm to be able to
use
uconfig.sh instead. But doing that means that when building and (re)testing
"regular" perl, we could end up with a build tree with lib/Config.pm "up to
date", as far as make is concerned, but totally the wrong contents in
reality.
Tests will fail, heads will be scratched, time will be wasted, etc.
M Makefile.micro
commit b1a20c2e1cd63e9d020ed419af769e3bfdf0ca99
Author: David Leadbeater <[email protected]>
Date: Mon Mar 7 19:29:57 2011 +0000
microperl: Fix patch_uconfig target
Previously it tried to patch 'uconfig.shx', now it patches
'uconfig.sh' as documented.
M Makefile.micro
commit f5c84443c4be0f7abbec9663d6daaa55afe5acdb
Author: Nicholas Clark <[email protected]>
Date: Tue Mar 22 16:30:02 2011 +0000
Default microperl to -O
Previously it was -O2, which is potentially a gcc-ism. -Os, whilst tempting,
also has the potential to "portability challenged".
M Makefile.micro
M uconfig.h
M uconfig.sh
commit 38a0a7c538a96820d68553a7883a1d2c372e18a9
Author: Nicholas Clark <[email protected]>
Date: Tue Mar 22 13:57:36 2011 +0000
microperl: Define NO_MATHOMS to save ~10k
(Half of a single commit by David Leadbeater)
M Makefile.micro
commit b8ce3fb7de5c7466e2064aa61995a7092517df13
Author: David Leadbeater <[email protected]>
Date: Mon Mar 7 19:26:20 2011 +0000
Define memset() for microperl
M README.micro
M uconfig.h
M uconfig.sh
commit c7e8577f9cf1697654ddd05e33600b9bb9ed9b2e
Author: David Leadbeater <[email protected]>
Date: Mon Mar 7 19:08:55 2011 +0000
Check if microperl's version in uconfig.sh/h needs bumping
M Porting/bump-perl-version
commit d88953c1bd9745dff0b129d2a5d52328ed1e3ce8
Author: David Leadbeater <[email protected]>
Date: Mon Mar 7 19:34:37 2011 +0000
microperl: Up versions in uconfig.sh to 5.13
M uconfig.h
M uconfig.sh
commit b3e3e8e9a958cf6542bd52dedb4acdc375a25296
Author: David Leadbeater <[email protected]>
Date: Mon Mar 7 18:56:50 2011 +0000
Protect sv_collxfrm in mathoms.c with a USE_LOCALE_COLLATE ifdef
It calls sv_collxfrm_flags which is only defined if USE_LOCALE_COLLATE
is set.
M mathoms.c
commit 6d93fba3a14d4652b44cc4c77cb55176035aa57f
Author: David Leadbeater <[email protected]>
Date: Mon Mar 7 18:54:21 2011 +0000
microperl: On (at least) OS X and Linux stddef.h is needed for ptrdiff_t
This shouldn't hurt on other system either.
M README.micro
M uconfig.h
M uconfig.sh
commit 16cdfc5128a1e7d07fceee3cae5736bda5f0e221
Author: David Leadbeater <[email protected]>
Date: Mon Mar 7 18:45:09 2011 +0000
Microperl doesn't do signal handlers, ifdef some handling code
M intrpvar.h
M miniperlmain.c
commit 7f423abf3043d5caf3735854cd0cc08fb03bfc7e
Author: David Leadbeater <[email protected]>
Date: Mon Mar 7 18:40:55 2011 +0000
microperl: Update generate_uudmap in Makefile.micro
Makefile.micro hadn't kept up with the changes for generate_uudmap,
make it match the real Makefile.
M Makefile.micro
commit 4edd90a813b0c021e5cbd848ad8ea60cc9121128
Author: Nicholas Clark <[email protected]>
Date: Tue Mar 22 15:55:47 2011 +0000
Don't automatically regenerate uconfig.h as part of the microperl build.
This avoids limiting microperl to platforms with a Bourne shell. It also
avoids automated build tools modifying distribution files as part of the
default build targets.
Now that we have a regression test to ensure that uconfig.h is up to date,
the version as shipped will be consistent with uconfig.sh. README.micro
already instructs people to run `make -f Makefile.micro regen_uconfig` if
they edit uconfig.sh, so no change needed there.
M Makefile.micro
commit 593f4636472bb3b9783e3d0c3a665861bc9bb3f3
Author: Nicholas Clark <[email protected]>
Date: Tue Mar 22 15:53:20 2011 +0000
Add regen/uconfig_h.pl to regenerate uconfig.h
Most of the work is done by config_h.SH, but the wrapper is needed to add
the
digest lines, so that t/porting/regen.t can verify that it's up to date.
I think that we need to take the "digest" approach, rather than "build to a
temporary file during testing", as we can't rely on a working Unix shell on
all platforms, and we couldn't even be sure that we get the skip list
correct.
M MANIFEST
M Porting/exec-bit.txt
A regen/uconfig_h.pl
M t/porting/regen.t
M uconfig.h
commit b12f47e254624895d8320c49b47e831288c443c2
Author: Nicholas Clark <[email protected]>
Date: Tue Mar 22 15:27:56 2011 +0000
Extract read_only_bottom() from read_only_bottom_close_and_rename()'s code.
M regen/regen_lib.pl
commit 60f6c45b846c454433122d074441ffd804eb977f
Author: Nicholas Clark <[email protected]>
Date: Tue Mar 22 14:12:45 2011 +0000
Regenerate uconfig.h
It is almost 26 months out of date.
M uconfig.h
-----------------------------------------------------------------------
--
Perl5 Master Repository