Skip to content

Commit 39dadad

Browse files
committed
Update to Cosmopolitan Libc v2.2. Pin perl version to configs
1 parent 4972470 commit 39dadad

File tree

3 files changed

+27
-7
lines changed

3 files changed

+27
-7
lines changed

Changes

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
Revision history for Perl-Dist-APPerl
2+
v0.1.0 2022-11-13
3+
Fix issues with Time-HiRes Configure. Update to Cosmopolitan
4+
Libc v2.2 . Pin Perl version to configs.
5+
26
v0.0.4 2022-10-15
37
Make Actions release binaries executable
48

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ APPerl could also easily be added to development SDKs,
1414
carried on your USB drive, or just allow you to run the exact same perl
1515
on all your PCs multiple computers.
1616

17+
Information on the creation of APPerl can be found in this
18+
[blogpost](https://computoid.com/posts/Perl-is-Actually-Portable.html).
19+
1720
## TRADITIONAL INSTALLATION
1821

1922
To install this module, run the following commands:

lib/Perl/Dist/APPerl.pm

Lines changed: 20 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
package Perl::Dist::APPerl;
22
# Copyright (c) 2022 Gavin Hayes, see LICENSE in the root of the project
3-
use version; our $VERSION = version->declare("v0.0.4");
3+
use version; our $VERSION = version->declare("v0.1.0");
44
use strict;
55
use warnings;
66
use JSON::PP qw(decode_json);
@@ -649,9 +649,9 @@ my %defconfig = (
649649
nobuild_perl_bin => ['src/perl.com', $^X],
650650
},
651651
'v5.36.0-full-v0.1.0' => {
652-
desc => 'Full perl v5.36.0 built with Cosmopolitan Libc 2.1.1',
653-
perl_id => 'cosmo-apperl',
654-
cosmo_id => '38df0a41866eda5a763730d56f2733a319b78afa',
652+
desc => 'Full perl v5.36.0 built with Cosmopolitan Libc 2.2',
653+
perl_id => 'b22da6b83c37604132694ead0bdcf61690f74a53',
654+
cosmo_id => '52f1db7220935cfcf2c8e583678f5ccc4b5bbacd',
655655
cosmo_mode => '',
656656
cosmo_ape_loader => 'ape-no-modify-self.o',
657657
perl_flags => ['-Dprefix=/zip', '-Uversiononly', '-Dmyhostname=cosmo', '-Dmydomain=invalid'],
@@ -669,7 +669,7 @@ my %defconfig = (
669669
dest => 'perl-vista.com',
670670
},
671671
'v5.36.0-small-v0.1.0' => {
672-
desc => 'small perl v5.36.0 built with Cosmopolitan Libc 2.1.1',
672+
desc => 'small perl v5.36.0 built with Cosmopolitan Libc 2.2',
673673
base => 'v5.36.0-full-v0.1.0',
674674
perl_onlyextensions => [qw(Cwd Fcntl File/Glob Hash/Util IO List/Util POSIX Socket attributes re)],
675675
perl_extra_flags => ['-Doptimize=-Os', '-de'],
@@ -704,6 +704,11 @@ my %defconfig = (
704704
base => "perl_cosmo_dev",
705705
cosmo_id => '9c5a7795add7add5a214afce27d896084e0861c5',
706706
},
707+
perl_apperl_dev => {
708+
desc => "For developing apperl",
709+
base => 'v5.36.0-full-v0.1.0',
710+
perl_id => 'cosmo-apperl'
711+
}
707712
}
708713
);
709714
$defconfig{defaultconfig} = $defconfig{apperl_configs}{full}{base};
@@ -831,7 +836,7 @@ sub Status {
831836
}
832837
my @stable = grep( /v\d+\.\d+\.\d+(\-vista)?$/, @configlist);
833838
my @rolling = ('full', 'full-vista', 'small', 'small-vista');
834-
my @internal = ('dontuse_threads', 'perl_cosmo_dev', 'perl_cosmo_dev_on_vista');
839+
my @internal = ('dontuse_threads', 'perl_cosmo_dev', 'perl_cosmo_dev_on_vista', 'perl_apperl_dev');
835840
my @categories = (
836841
['PROJECT', \@projectitems],
837842
['STABLE', \@stable],
@@ -1381,6 +1386,9 @@ chicken-and egg-situation of needing Perl to build APPerl, APPerl may
13811386
be bootstrapped from an existing build of APPerl. See README.md for
13821387
instructions.
13831388
1389+
Information on the creation of APPerl can be found in this
1390+
L<blogpost|https://computoid.com/posts/Perl-is-Actually-Portable.html>.
1391+
13841392
=head1 SYNOPSIS
13851393
13861394
apperlm install-build-deps
@@ -1445,7 +1453,12 @@ then the base of the configuration may be specified with
14451453
=item *
14461454
14471455
C<apperlm list> lists the available APPerl configs. If a current config
1448-
is set it is denoted with a C<*>.
1456+
is set it is denoted with a C<*>. Project configs are
1457+
labeled PROJECT. The exact configuration of a STABLE config may change
1458+
from release to release of Perl::Dist::APPerl, but only non-breaking
1459+
changes should occur. ROLLING configurations are always the latest
1460+
STABLE configurations, but breaking changes may occur from release to
1461+
release of Perl::Dist::APPerl.
14491462
14501463
=item *
14511464

0 commit comments

Comments
 (0)