1
1
package Perl::Dist::APPerl ;
2
2
# 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 " );
4
4
use strict;
5
5
use warnings;
6
6
use JSON::PP qw( decode_json) ;
@@ -649,9 +649,9 @@ my %defconfig = (
649
649
nobuild_perl_bin => [' src/perl.com' , $^X],
650
650
},
651
651
' 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 ' ,
655
655
cosmo_mode => ' ' ,
656
656
cosmo_ape_loader => ' ape-no-modify-self.o' ,
657
657
perl_flags => [' -Dprefix=/zip' , ' -Uversiononly' , ' -Dmyhostname=cosmo' , ' -Dmydomain=invalid' ],
@@ -669,7 +669,7 @@ my %defconfig = (
669
669
dest => ' perl-vista.com' ,
670
670
},
671
671
' 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 ' ,
673
673
base => ' v5.36.0-full-v0.1.0' ,
674
674
perl_onlyextensions => [qw( Cwd Fcntl File/Glob Hash/Util IO List/Util POSIX Socket attributes re) ],
675
675
perl_extra_flags => [' -Doptimize=-Os' , ' -de' ],
@@ -704,6 +704,11 @@ my %defconfig = (
704
704
base => " perl_cosmo_dev" ,
705
705
cosmo_id => ' 9c5a7795add7add5a214afce27d896084e0861c5' ,
706
706
},
707
+ perl_apperl_dev => {
708
+ desc => " For developing apperl" ,
709
+ base => ' v5.36.0-full-v0.1.0' ,
710
+ perl_id => ' cosmo-apperl'
711
+ }
707
712
}
708
713
);
709
714
$defconfig {defaultconfig } = $defconfig {apperl_configs }{full }{base };
@@ -831,7 +836,7 @@ sub Status {
831
836
}
832
837
my @stable = grep ( / v\d +\.\d +\.\d +(\- vista)?$ / , @configlist );
833
838
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 ' );
835
840
my @categories = (
836
841
[' PROJECT' , \@projectitems ],
837
842
[' STABLE' , \@stable ],
@@ -1381,6 +1386,9 @@ chicken-and egg-situation of needing Perl to build APPerl, APPerl may
1381
1386
be bootstrapped from an existing build of APPerl. See README.md for
1382
1387
instructions.
1383
1388
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
+
1384
1392
=head1 SYNOPSIS
1385
1393
1386
1394
apperlm install-build-deps
@@ -1445,7 +1453,12 @@ then the base of the configuration may be specified with
1445
1453
=item *
1446
1454
1447
1455
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.
1449
1462
1450
1463
=item *
1451
1464
0 commit comments