Mercurial > hg > Members > anatofuz > slides
changeset 33:2eac67c0d7da fix
auto-Update generated slides by script
author | Takahiro SHIMIZU <anatofuz@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 01 May 2018 09:25:17 +0900 |
parents | 2f99cb7078f2 |
children | 448db64959d0 |
files | lib/Slideshow/Util.pm slide-cr slides/2018/04/28/memo.txt slides/2018/04/29/memo.txt slides/2018/05/01/memo.txt slides/2018/05/01/slide.md |
diffstat | 5 files changed, 291 insertions(+), 42 deletions(-) [+] |
line wrap: on
line diff
--- a/lib/Slideshow/Util.pm Fri Apr 27 18:18:37 2018 +0900 +++ b/lib/Slideshow/Util.pm Tue May 01 09:25:17 2018 +0900 @@ -22,6 +22,7 @@ open_slide edit_slide edit_memo + upload /; sub getopts { @@ -32,31 +33,19 @@ } if ($arg eq "new") { - return {new => 1}; - + return[\new(set_template('lib/template.md'),"slides")]; } elsif ( $arg eq "upload") { - upload(); - exit; - + return [\upload() ]; } elsif ( $arg eq "build") { - - if(defined $path){ - return { build_point=> $path}; - } else { - return { build => "recent"}; - } - - + return [\build_recently()]; } elsif ( $arg eq "build-open"){ - return { build_open => 1}; - + return [\build_recently("slides"),\open_slide()]; } elsif ( $arg eq "open"){ - return { open => 1}; - + return [\open_slide("slides")]; } elsif ( $arg eq "edit"){ - return { edit=> 1}; + return [\edit_slide("slides")]; } elsif ( $arg eq "memo"){ - return { memo => 1}; + return [\edit_memo("slides")]; } else { return { help => 1}; } @@ -96,7 +85,8 @@ sub build_recently { - my $recently = _search_recently(shift); + my $target = shift // "slides"; + my $recently = _search_recently($target); _build($recently); } @@ -112,7 +102,8 @@ } sub edit_memo { - my $root_dir = path(shift); + my $target = shift // "slides"; + my $root_dir = path($target); my $t = localtime; # ex... 2018/02/14 @@ -122,7 +113,8 @@ } sub edit_slide { - my $recently = _search_recently(shift); + my $arg = shift // "slides"; + my $recently = _search_recently($arg); my $target = $recently->child('slide.md'); exec $ENV{EDITOR}, ($target->realpath); }
--- a/slide-cr Fri Apr 27 18:18:37 2018 +0900 +++ b/slide-cr Tue May 01 09:25:17 2018 +0900 @@ -2,37 +2,22 @@ use strict; use warnings; use utf8; +use DDP { deparse => 1 }; use lib "lib","lib/Slideshow/local/lib/perl5"; use Slideshow::Util; use feature 'say'; -my $flags = getopts(@ARGV); +my $coderef = getopts(@ARGV); -if ( $flags->{help} ){ +unless ( ref $coderef ){ help(); exit; } - -if ($flags->{new}){ - new(set_template('lib/template.md'),"slides"); -} elsif ($flags->{build}) { - build_recently("slides"); -} elsif ($flags->{build_open}) { - build_recently("slides"); - open_slide("slides"); -} elsif ( $flags->{open}) { - open_slide("slides"); -} elsif ($flags->{memo}) { - edit_memo("slides"); -} elsif ( $flags->{edit}) { - edit_slide("slides"); -} else { - build_pinpoint($flags->{build_point}); -} - +p $coderef; +map { $_->() } @$coderef; sub help { say 'slider [new build build-open open edit]';
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/slides/2018/04/28/memo.txt Tue May 01 09:25:17 2018 +0900 @@ -0,0 +1,223 @@ +JawsUG + +- JAWS DAYS 2018 +- コミュニティ自体もクラウドサービスのようにスケールしている + + +_______ +cpanシェルが動かなかったのでcpanmをいれた +cf. https://github.com/miyagawa/cpanminus/tree/devel/App-cpanminus + +`curl -L https://cpanmin.us | perl - --sudo App::cpanminus` + ++dalmore+one curl -L https://cpanmin.us | perl - --sudo App::cpanminus + % Total % Received % Xferd Average Speed Time Time Time Current + Dload Upload Total Spent Left Speed +100 295k 100 295k 0 0 472k 0 --:--:-- --:--:-- --:--:-- 471k +--> Working on App::cpanminus +Fetching http://www.cpan.org/authors/id/M/MI/MIYAGAWA/App-cpanminus-1.7044.tar.gz ... OK +Configuring App-cpanminus-1.7044 ... OK +==> Found dependencies: Test::More +--> Working on Test::More +Fetching http://www.cpan.org/authors/id/E/EX/EXODIST/Test-Simple-1.302136.tar.gz ... OK +Configuring Test-Simple-1.302136 ... OK +Building and testing Test-Simple-1.302136 ... [sudo] password for one: +OK +Successfully installed Test-Simple-1.302136 +Building and testing App-cpanminus-1.7044 ... OK +Successfully installed App-cpanminus-1.7044 +2 distributions installed + +--- + ++dalmore+one cpanm --sudo Digest::SHA +--> Working on Digest::SHA +Fetching http://www.cpan.org/authors/id/M/MS/MSHELOR/Digest-SHA-6.02.tar.gz ... OK +Configuring Digest-SHA-6.02 ... OK +Building and testing Digest-SHA-6.02 ... [sudo] password for one: +OK +Successfully installed Digest-SHA-6.02 +1 distribution installed ++dalmore+one ls ++dalmore+one pwd +/mnt/dalmore-home/one/src/build_perl6/nqp ++dalmore+one ls ++dalmore+one cd .. ++dalmore+one ls +MoarVM/ nqp/ ++dalmore+one cd .. ++dalmore+one ls +build_perl6/ clang.sh Gears/ hello-cbc.c hello.s Perl6/ +CbC_gcc/ compiler-rt/ go_examples/ hello-cbc.cbc kuji-baito2018/ xv6-rpi/ +CbC_llvm/ crosscompilers/ hello.c hello-cbc.s openmp/ ++dalmore+one cd Perl6/nqp ++dalmore+one ++dalmore+one ls +3rdparty/ Configure.pl* docs/ gen/ Makefile package.json README.pod t/ VERSION +config.status CREDITS examples/ LICENSE nqp-js-on-js/ ports/ src/ tools/ ++dalmore+one ./Configure.pl --prefix=/mnt/dalmore-home/one/src/build_perl6/nqp - + +Creating tools/build/install-jvm-runner.pl ... +Can't exec "/mnt/dalmore-home/one/src/build_perl6/nqp/bin/moar": No such file or directory at tools/lib/NQP/Configure.pm line 293. +Use of uninitialized value $moar_version_output in pattern match (m//) at tools/lib/NQP/Configure.pm line 307. + +===SORRY!=== +No suitable MoarVM (moar executable) found using the --prefix +(You can get a MoarVM built automatically with --gen-moar.) + ++dalmore+one ./Configure.pl --prefix=/mnt/dalmore-home/one/src/build_perl6/nqp --backends=moar --with-moar=/mnt/dalmore-home/one/src/build_perl6/MoarVM/bin/moar + +Creating tools/build/install-jvm-runner.pl ... +Cleaning up ... +You can now use 'make' to build NQP. +After that, 'make test' will run some tests and +'make install' will install NQP. ++dalmore+one make +/usr/bin/perl -MExtUtils::Command -e mkpath gen/moar/stage1/gen +/usr/bin/perl tools/build/gen-cat.pl moar src/how/Archetypes.nqp src/how/RoleToRoleApplier.nqp src/how/NQPConcreteRoleHOW.nqp src/how/RoleToClassApplier.nqp src/how/NQPCurriedRoleHOW.nqp src/how/NQPParametricRoleHOW.nqp src/how/NQPClassHOW.nqp src/how/NQPNativeHOW.nqp src/how/NQPAttribute.nqp src/how/NQPModuleHOW.nqp src/how/EXPORTHOW.nqp > gen/moar/stage1/nqpmo.nqp +/mnt/dalmore-home/one/src/build_perl6/MoarVM/bin/moar --libpath=src/vm/moar/stage0 src/vm/moar/stage0/nqp.moarvm --bootstrap --setting=NULL --no-regex-lib --target=mbc \ + --output=gen/moar/stage1/nqpmo.moarvm gen/moar/stage1/nqpmo.nqp +/mnt/dalmore-home/one/src/build_perl6/MoarVM/bin/moar --libpath=src/vm/moar/stage0 src/vm/moar/stage0/nqp.moarvm --bootstrap --setting=NULL --no-regex-lib --target=mbc \ + --output=gen/moar/stage1/ModuleLoader.moarvm src/vm/moar/ModuleLoader.nqp +/usr/bin/perl -MExtUtils::Command -e mkpath gen/moar/stage1/gen +/usr/bin/perl tools/build/gen-cat.pl moar src/core/NativeTypes.nqp src/core/NQPRoutine.nqp src/core/NQPMu.nqp src/core/NQPCapture.nqp src/core/IO.nqp src/core/Regex.nqp src/core/Hash.nqp src/core/NQPLock.nqp src/core/testing.nqp src/core/YOUAREHERE.nqp > gen/moar/stage1/NQPCORE.setting +/mnt/dalmore-home/one/src/build_perl6/MoarVM/bin/moar --libpath=src/vm/moar/stage0 src/vm/moar/stage0/nqp.moarvm --bootstrap --module-path=gen/moar/stage1 --setting=NULL --no-regex-lib --target=mbc \ + --output=gen/moar/stage1/NQPCORE.setting.moarvm gen/moar/stage1/NQPCORE.setting +/usr/bin/perl -MExtUtils::Command -e mkpath gen/moar/stage1/gen +/usr/bin/perl tools/build/gen-cat.pl moar src/QAST/CompileTimeValue.nqp src/QAST/SpecialArg.nqp src/QAST/Children.nqp src/QAST/Node.nqp src/QAST/NodeList.nqp src/QAST/Regex.nqp src/QAST/IVal.nqp src/QAST/NVal.nqp src/QAST/SVal.nqp src/QAST/BVal.nqp src/QAST/WVal.nqp src/QAST/Want.nqp src/QAST/Var.nqp src/QAST/VarWithFallback.nqp src/QAST/ParamTypeCheck.nqp src/QAST/Op.nqp src/QAST/VM.nqp src/QAST/Stmts.nqp src/QAST/Stmt.nqp src/QAST/Block.nqp src/QAST/Unquote.nqp src/QAST/CompUnit.nqp src/QAST/InlinePlaceholder.nqp > gen/moar/stage1/QASTNode.nqp +/mnt/dalmore-home/one/src/build_perl6/MoarVM/bin/moar --libpath=src/vm/moar/stage0 src/vm/moar/stage0/nqp.moarvm --bootstrap --module-path=gen/moar/stage1 --setting-path=gen/moar/stage1 \ + --setting=NQPCORE --no-regex-lib --target=mbc \ + --output=gen/moar/stage1/QASTNode.moarvm gen/moar/stage1/QASTNode.nqp +/usr/bin/perl -MExtUtils::Command -e mkpath gen/moar/stage1/gen +/usr/bin/perl tools/build/gen-cat.pl moar src/QRegex/NFA.nqp src/QRegex/Cursor.nqp > gen/moar/stage1/QRegex.nqp +/mnt/dalmore-home/one/src/build_perl6/MoarVM/bin/moar --libpath=src/vm/moar/stage0 src/vm/moar/stage0/nqp.moarvm --bootstrap --module-path=gen/moar/stage1 --setting-path=gen/moar/stage1 \ + --setting=NQPCORE --no-regex-lib --target=mbc \ + --output=gen/moar/stage1/QRegex.moarvm gen/moar/stage1/QRegex.nqp +^Cmake: *** [gen/moar/stage1/QRegex.moarvm] Interrupt + ++dalmore+one make -j 50 +/usr/bin/perl -MExtUtils::Command -e mkpath gen/moar/stage1/gen +/mnt/dalmore-home/one/src/build_perl6/MoarVM/bin/moar --libpath=src/vm/moar/stage0 src/vm/moar/stage0/nqp.moarvm --bootstrap --module-path=gen/moar/stage1 --setting-path=gen/moar/stage1 \ + --setting=NQPCORE --no-regex-lib --target=mbc \ + --output=gen/moar/stage1/MASTOps.moarvm /mnt/dalmore-home/one/src/build_perl6/MoarVM/bin/../share/nqp/lib/MAST/Ops.nqp +/usr/bin/perl tools/build/gen-moar-runner.pl "/mnt/dalmore-home/one/src/build_perl6/MoarVM/bin/moar" +/usr/bin/perl tools/build/gen-cat.pl moar src/QRegex/NFA.nqp src/QRegex/Cursor.nqp > gen/moar/stage1/QRegex.nqp +/mnt/dalmore-home/one/src/build_perl6/MoarVM/bin/moar --libpath=src/vm/moar/stage0 src/vm/moar/stage0/nqp.moarvm --bootstrap --module-path=gen/moar/stage1 --setting-path=gen/moar/stage1 \ + --setting=NQPCORE --no-regex-lib --target=mbc \ + --output=gen/moar/stage1/QRegex.moarvm gen/moar/stage1/QRegex.nqp +/mnt/dalmore-home/one/src/build_perl6/MoarVM/bin/moar --libpath=src/vm/moar/stage0 src/vm/moar/stage0/nqp.moarvm --bootstrap --module-path=gen/moar/stage1 --setting-path=gen/moar/stage1 \ + --setting=NQPCORE --no-regex-lib --target=mbc \ + --output=gen/moar/stage1/MASTNodes.moarvm /mnt/dalmore-home/one/src/build_perl6/MoarVM/bin/../share/nqp/lib/MAST/Nodes.nqp +/usr/bin/perl -MExtUtils::Command -e mkpath gen/moar/stage1/gen +/usr/bin/perl tools/build/gen-cat.pl moar src/vm/moar/HLL/Backend.nqp src/HLL/Grammar.nqp src/HLL/Actions.nqp src/HLL/Compiler.nqp src/HLL/CommandLine.nqp src/HLL/World.nqp src/HLL/sprintf.nqp > gen/moar/stage1/NQPHLL.nqp +/mnt/dalmore-home/one/src/build_perl6/MoarVM/bin/moar --libpath=src/vm/moar/stage0 src/vm/moar/stage0/nqp.moarvm --bootstrap --module-path=gen/moar/stage1 --setting-path=gen/moar/stage1 \ + --setting=NQPCORE --no-regex-lib --target=mbc \ + --output=gen/moar/stage1/NQPHLL.moarvm gen/moar/stage1/NQPHLL.nqp +/usr/bin/perl -MExtUtils::Command -e mkpath gen/moar/stage1/gen +/usr/bin/perl tools/build/gen-cat.pl moar src/vm/moar/QAST/QASTRegexCompilerMAST.nqp src/vm/moar/QAST/QASTOperationsMAST.nqp src/vm/moar/QAST/QASTCompilerMAST.nqp > gen/moar/stage1/QAST.nqp +/mnt/dalmore-home/one/src/build_perl6/MoarVM/bin/moar --libpath=src/vm/moar/stage0 src/vm/moar/stage0/nqp.moarvm --bootstrap --module-path=gen/moar/stage1 --setting-path=gen/moar/stage1 \ + --setting=NQPCORE --no-regex-lib --target=mbc \ + --output=gen/moar/stage1/QAST.moarvm gen/moar/stage1/QAST.nqp +/usr/bin/perl -MExtUtils::Command -e mkpath gen/moar/stage1/gen +/usr/bin/perl tools/build/gen-cat.pl moar src/QRegex/P6Regex/Grammar.nqp src/QRegex/P6Regex/Actions.nqp src/QRegex/P6Regex/Compiler.nqp src/QRegex/P6Regex/Optimizer.nqp > gen/moar/stage1/NQPP6QRegex.nqp +/mnt/dalmore-home/one/src/build_perl6/MoarVM/bin/moar --libpath=src/vm/moar/stage0 src/vm/moar/stage0/nqp.moarvm --bootstrap --module-path=gen/moar/stage1 --setting-path=gen/moar/stage1 \ + --setting=NQPCORE --no-regex-lib --target=mbc \ + --output=gen/moar/stage1/NQPP6QRegex.moarvm gen/moar/stage1/NQPP6QRegex.nqp +/usr/bin/perl -MExtUtils::Command -e mkpath gen/moar/stage1/gen +/usr/bin/perl tools/build/gen-version.pl /mnt/dalmore-home/one/src/build_perl6/nqp /mnt/dalmore-home/one/src/build_perl6/nqp/share/nqp/lib > gen/moar/stage1/nqp-config.nqp +/usr/bin/perl tools/build/gen-cat.pl moar src/vm/moar/NQP/Ops.nqp src/NQP/World.nqp src/NQP/Grammar.nqp src/NQP/Optimizer.nqp src/NQP/Actions.nqp src/NQP/Compiler.nqp gen/moar/stage1/nqp-config.nqp > gen/moar/stage1/NQP.nqp +/mnt/dalmore-home/one/src/build_perl6/MoarVM/bin/moar --libpath=src/vm/moar/stage0 src/vm/moar/stage0/nqp.moarvm --bootstrap --module-path=gen/moar/stage1 --setting-path=gen/moar/stage1 \ + --setting=NQPCORE --target=mbc --no-regex-lib \ + --output=gen/moar/stage1/nqp.moarvm gen/moar/stage1/NQP.nqp +/usr/bin/perl -MExtUtils::Command -e mkpath gen/moar/stage2/gen +/mnt/dalmore-home/one/src/build_perl6/MoarVM/bin/moar --libpath=gen/moar/stage1 gen/moar/stage1/nqp.moarvm --bootstrap --setting=NULL --no-regex-lib --target=mbc \ + --output=gen/moar/stage2/ModuleLoader.moarvm src/vm/moar/ModuleLoader.nqp +/usr/bin/perl tools/build/gen-cat.pl moar src/how/Archetypes.nqp src/how/RoleToRoleApplier.nqp src/how/NQPConcreteRoleHOW.nqp src/how/RoleToClassApplier.nqp src/how/NQPCurriedRoleHOW.nqp src/how/NQPParametricRoleHOW.nqp src/how/NQPClassHOW.nqp src/how/NQPNativeHOW.nqp src/how/NQPAttribute.nqp src/how/NQPModuleHOW.nqp src/how/EXPORTHOW.nqp > gen/moar/stage2/nqpmo.nqp +/mnt/dalmore-home/one/src/build_perl6/MoarVM/bin/moar --libpath=gen/moar/stage1 gen/moar/stage1/nqp.moarvm --bootstrap --setting=NULL --no-regex-lib --target=mbc \ + --output=gen/moar/stage2/nqpmo.moarvm gen/moar/stage2/nqpmo.nqp +/usr/bin/perl -MExtUtils::Command -e mkpath gen/moar/stage2/gen +/usr/bin/perl tools/build/gen-cat.pl moar src/core/NativeTypes.nqp src/core/NQPRoutine.nqp src/core/NQPMu.nqp src/core/NQPCapture.nqp src/core/IO.nqp src/core/Regex.nqp src/core/Hash.nqp src/core/NQPLock.nqp src/core/testing.nqp src/core/YOUAREHERE.nqp > gen/moar/stage2/NQPCORE.setting +/mnt/dalmore-home/one/src/build_perl6/MoarVM/bin/moar --libpath=gen/moar/stage1 gen/moar/stage1/nqp.moarvm --bootstrap --module-path=gen/moar/stage2 --setting=NULL --no-regex-lib --target=mbc \ + --output=gen/moar/stage2/NQPCORE.setting.moarvm gen/moar/stage2/NQPCORE.setting +/usr/bin/perl -MExtUtils::Command -e mkpath gen/moar/stage2/gen +/mnt/dalmore-home/one/src/build_perl6/MoarVM/bin/moar --libpath=gen/moar/stage1 gen/moar/stage1/nqp.moarvm --bootstrap --module-path=gen/moar/stage2 --setting-path=gen/moar/stage2 \ + --setting=NQPCORE --no-regex-lib --target=mbc \ + --output=gen/moar/stage2/MASTOps.moarvm /mnt/dalmore-home/one/src/build_perl6/MoarVM/bin/../share/nqp/lib/MAST/Ops.nqp +/usr/bin/perl tools/build/gen-cat.pl moar src/QAST/CompileTimeValue.nqp src/QAST/SpecialArg.nqp src/QAST/Children.nqp src/QAST/Node.nqp src/QAST/NodeList.nqp src/QAST/Regex.nqp src/QAST/IVal.nqp src/QAST/NVal.nqp src/QAST/SVal.nqp src/QAST/BVal.nqp src/QAST/WVal.nqp src/QAST/Want.nqp src/QAST/Var.nqp src/QAST/VarWithFallback.nqp src/QAST/ParamTypeCheck.nqp src/QAST/Op.nqp src/QAST/VM.nqp src/QAST/Stmts.nqp src/QAST/Stmt.nqp src/QAST/Block.nqp src/QAST/Unquote.nqp src/QAST/CompUnit.nqp src/QAST/InlinePlaceholder.nqp > gen/moar/stage2/QASTNode.nqp +/mnt/dalmore-home/one/src/build_perl6/MoarVM/bin/moar --libpath=gen/moar/stage1 gen/moar/stage1/nqp.moarvm --bootstrap --module-path=gen/moar/stage2 --setting-path=gen/moar/stage2 \ + --setting=NQPCORE --no-regex-lib --target=mbc \ + --output=gen/moar/stage2/QASTNode.moarvm gen/moar/stage2/QASTNode.nqp +/usr/bin/perl -MExtUtils::Command -e mkpath gen/moar/stage2/gen +/usr/bin/perl tools/build/gen-cat.pl moar src/QRegex/NFA.nqp src/QRegex/Cursor.nqp > gen/moar/stage2/QRegex.nqp +/mnt/dalmore-home/one/src/build_perl6/MoarVM/bin/moar --libpath=gen/moar/stage1 gen/moar/stage1/nqp.moarvm --bootstrap --module-path=gen/moar/stage2 --setting-path=gen/moar/stage2 \ + --setting=NQPCORE --no-regex-lib --target=mbc \ + --output=gen/moar/stage2/QRegex.moarvm gen/moar/stage2/QRegex.nqp +/mnt/dalmore-home/one/src/build_perl6/MoarVM/bin/moar --libpath=gen/moar/stage1 gen/moar/stage1/nqp.moarvm --bootstrap --module-path=gen/moar/stage2 --setting-path=gen/moar/stage2 \ + --setting=NQPCORE --no-regex-lib --target=mbc \ + --output=gen/moar/stage2/MASTNodes.moarvm /mnt/dalmore-home/one/src/build_perl6/MoarVM/bin/../share/nqp/lib/MAST/Nodes.nqp +/usr/bin/perl -MExtUtils::Command -e mkpath gen/moar/stage2/gen +/usr/bin/perl tools/build/gen-cat.pl moar src/vm/moar/HLL/Backend.nqp src/HLL/Grammar.nqp src/HLL/Actions.nqp src/HLL/Compiler.nqp src/HLL/CommandLine.nqp src/HLL/World.nqp src/HLL/sprintf.nqp > gen/moar/stage2/NQPHLL.nqp +/mnt/dalmore-home/one/src/build_perl6/MoarVM/bin/moar --libpath=gen/moar/stage1 gen/moar/stage1/nqp.moarvm --bootstrap --module-path=gen/moar/stage2 --setting-path=gen/moar/stage2 \ + --setting=NQPCORE --no-regex-lib --target=mbc \ + --output=gen/moar/stage2/NQPHLL.moarvm gen/moar/stage2/NQPHLL.nqp +/usr/bin/perl -MExtUtils::Command -e mkpath gen/moar/stage2/gen +/usr/bin/perl tools/build/gen-cat.pl moar src/vm/moar/QAST/QASTRegexCompilerMAST.nqp src/vm/moar/QAST/QASTOperationsMAST.nqp src/vm/moar/QAST/QASTCompilerMAST.nqp > gen/moar/stage2/QAST.nqp +/mnt/dalmore-home/one/src/build_perl6/MoarVM/bin/moar --libpath=gen/moar/stage1 gen/moar/stage1/nqp.moarvm --bootstrap --module-path=gen/moar/stage2 --setting-path=gen/moar/stage2 \ + --setting=NQPCORE --no-regex-lib --target=mbc \ + --output=gen/moar/stage2/QAST.moarvm gen/moar/stage2/QAST.nqp +/usr/bin/perl -MExtUtils::Command -e mkpath gen/moar/stage2/gen +/usr/bin/perl tools/build/gen-cat.pl moar src/QRegex/P6Regex/Grammar.nqp src/QRegex/P6Regex/Actions.nqp src/QRegex/P6Regex/Compiler.nqp src/QRegex/P6Regex/Optimizer.nqp > gen/moar/stage2/NQPP6QRegex.nqp +/mnt/dalmore-home/one/src/build_perl6/MoarVM/bin/moar --libpath=gen/moar/stage1 gen/moar/stage1/nqp.moarvm --bootstrap --module-path=gen/moar/stage2 --setting-path=gen/moar/stage2 \ + --setting=NQPCORE --no-regex-lib --target=mbc \ + --output=gen/moar/stage2/NQPP6QRegex.moarvm gen/moar/stage2/NQPP6QRegex.nqp +/usr/bin/perl -MExtUtils::Command -e mkpath gen/moar/stage2/gen +/usr/bin/perl tools/build/gen-version.pl /mnt/dalmore-home/one/src/build_perl6/nqp /mnt/dalmore-home/one/src/build_perl6/nqp/share/nqp/lib > gen/moar/stage2/nqp-config.nqp +/usr/bin/perl tools/build/gen-cat.pl moar src/vm/moar/NQP/Ops.nqp src/NQP/World.nqp src/NQP/Grammar.nqp src/NQP/Optimizer.nqp src/NQP/Actions.nqp src/NQP/Compiler.nqp gen/moar/stage2/nqp-config.nqp > gen/moar/stage2/NQP.nqp +/mnt/dalmore-home/one/src/build_perl6/MoarVM/bin/moar --libpath=gen/moar/stage1 gen/moar/stage1/nqp.moarvm --bootstrap --module-path=gen/moar/stage2 --setting-path=gen/moar/stage2 \ + --setting=NQPCORE --target=mbc --no-regex-lib \ + --output=gen/moar/stage2/nqp.moarvm gen/moar/stage2/NQP.nqp +/usr/bin/perl -MExtUtils::Command -e cp gen/moar/stage2/nqpmo.moarvm . +/usr/bin/perl -MExtUtils::Command -e cp gen/moar/stage2/ModuleLoader.moarvm . +/usr/bin/perl -MExtUtils::Command -e cp gen/moar/stage2/NQPCORE.setting.moarvm . +/usr/bin/perl -MExtUtils::Command -e cp gen/moar/stage2/QASTNode.moarvm . +/usr/bin/perl -MExtUtils::Command -e cp gen/moar/stage2/QRegex.moarvm . +/usr/bin/perl -MExtUtils::Command -e cp gen/moar/stage2/NQPHLL.moarvm . +/usr/bin/perl -MExtUtils::Command -e cp gen/moar/stage2/MASTOps.moarvm . +/usr/bin/perl -MExtUtils::Command -e cp gen/moar/stage2/MASTNodes.moarvm . +/usr/bin/perl -MExtUtils::Command -e cp gen/moar/stage2/QAST.moarvm . +/usr/bin/perl -MExtUtils::Command -e cp gen/moar/stage2/NQPP6QRegex.moarvm . +/usr/bin/perl -MExtUtils::Command -e cp gen/moar/stage2/nqp.moarvm . +/usr/bin/perl -MExtUtils::Command -e mkpath gen/moar/stage2/gen +/usr/bin/perl tools/build/gen-cat.pl moar src/QRegex/P5Regex/Grammar.nqp src/QRegex/P5Regex/Actions.nqp src/QRegex/P5Regex/Compiler.nqp > gen/moar/stage2/NQPP5QRegex.nqp +./nqp-m --target=mbc --output=NQPP5QRegex.moarvm \ + gen/moar/stage2/NQPP5QRegex.nqp +/usr/bin/perl -MExtUtils::Command -e cp nqp-m nqp +/usr/bin/perl -MExtUtils::Command -e chmod 755 nqp + + +make install + +``` ++dalmore+one make install +/usr/bin/perl -MExtUtils::Command -e mkpath /mnt/dalmore-home/one/src/build_perl6/nqp/bin +/usr/bin/perl -MExtUtils::Command -e mkpath /mnt/dalmore-home/one/src/build_perl6/nqp/share/nqp/lib +/usr/bin/perl -MExtUtils::Command -e mkpath /mnt/dalmore-home/one/src/build_perl6/nqp/share/nqp/lib/profiler +/usr/bin/perl -MExtUtils::Command -e cp nqpmo.moarvm /mnt/dalmore-home/one/src/build_perl6/nqp/share/nqp/lib +/usr/bin/perl -MExtUtils::Command -e cp ModuleLoader.moarvm /mnt/dalmore-home/one/src/build_perl6/nqp/share/nqp/lib +/usr/bin/perl -MExtUtils::Command -e cp NQPCORE.setting.moarvm /mnt/dalmore-home/one/src/build_perl6/nqp/share/nqp/lib +/usr/bin/perl -MExtUtils::Command -e cp QASTNode.moarvm /mnt/dalmore-home/one/src/build_perl6/nqp/share/nqp/lib +/usr/bin/perl -MExtUtils::Command -e cp QRegex.moarvm /mnt/dalmore-home/one/src/build_perl6/nqp/share/nqp/lib +/usr/bin/perl -MExtUtils::Command -e cp NQPHLL.moarvm /mnt/dalmore-home/one/src/build_perl6/nqp/share/nqp/lib +/usr/bin/perl -MExtUtils::Command -e cp MASTOps.moarvm /mnt/dalmore-home/one/src/build_perl6/nqp/share/nqp/lib +/usr/bin/perl -MExtUtils::Command -e cp MASTNodes.moarvm /mnt/dalmore-home/one/src/build_perl6/nqp/share/nqp/lib +/usr/bin/perl -MExtUtils::Command -e cp QAST.moarvm /mnt/dalmore-home/one/src/build_perl6/nqp/share/nqp/lib +/usr/bin/perl -MExtUtils::Command -e cp NQPP6QRegex.moarvm /mnt/dalmore-home/one/src/build_perl6/nqp/share/nqp/lib +/usr/bin/perl -MExtUtils::Command -e cp nqp.moarvm /mnt/dalmore-home/one/src/build_perl6/nqp/share/nqp/lib +/usr/bin/perl -MExtUtils::Command -e cp NQPP5QRegex.moarvm /mnt/dalmore-home/one/src/build_perl6/nqp/share/nqp/lib +/usr/bin/perl -MExtUtils::Command -e cp src/vm/moar/profiler/template.html /mnt/dalmore-home/one/src/build_perl6/nqp/share/nqp/lib/profiler/template.html +/usr/bin/perl tools/build/install-moar-runner.pl "" /mnt/dalmore-home/one/src/build_perl6/nqp /mnt/dalmore-home/one/src/build_perl6/nqp/share/nqp/lib /mnt/dalmore-home/one/src/build_perl6/MoarVM/bin/moar +/usr/bin/perl -MExtUtils::Command -e cp nqp-m nqp +/usr/bin/perl -MExtUtils::Command -e chmod 755 nqp +/usr/bin/perl -MExtUtils::Command -e cp /mnt/dalmore-home/one/src/build_perl6/nqp/bin/nqp-m /mnt/dalmore-home/one/src/build_perl6/nqp/bin/nqp +/usr/bin/perl -MExtUtils::Command -e chmod 755 /mnt/dalmore-home/one/src/build_perl6/nqp/bin/nqp +```
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/slides/2018/04/29/memo.txt Tue May 01 09:25:17 2018 +0900 @@ -0,0 +1,37 @@ +同様のことをローカルでしようとするとライブラリ関連でコケる + +compiling src/jit/x64/arch.o +compiling 3rdparty/libuv/src/unix/darwin-proctitle.o +In file included from /System/Library/Frameworks/Security.framework/Headers/AuthSession.h:32:0, + from /System/Library/Frameworks/Security.framework/Headers/Security.h:43, + from /System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/CSIdentity.h:43, + from /System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/OSServices.h:27, + from /System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/IconsCore.h:23, + from /System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LaunchServices.h:22, + from /System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:39, + from /System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.h:23, + from 3rdparty/libuv/src/unix/darwin-proctitle.c:33: +/System/Library/Frameworks/Security.framework/Headers/Authorization.h:193:7: error: variably modified 'bytes' at file scope + char bytes[kAuthorizationExternalFormLength]; + ^~~~~ +In file included from /System/Library/Frameworks/CoreGraphics.framework/Headers/CGContext.h:18:0, + from /System/Library/Frameworks/CoreGraphics.framework/Headers/CGBitmapContext.h:9, + from /System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.h:11, + from /System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.h:35, + from 3rdparty/libuv/src/unix/darwin-proctitle.c:33: +/System/Library/Frameworks/CoreGraphics.framework/Headers/CGFont.h:53:40: error: initializer element is not constant + static const CGFontIndex kCGGlyphMax = kCGFontIndexMax; + ^~~~~~~~~~~~~~~ +In file included from /System/Library/Frameworks/CoreGraphics.framework/Headers/CGContext.h:21:0, + from /System/Library/Frameworks/CoreGraphics.framework/Headers/CGBitmapContext.h:9, + from /System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.h:11, + from /System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.h:35, + from 3rdparty/libuv/src/unix/darwin-proctitle.c:33: +/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPath.h:391:15: error: expected identifier or '(' before '^' token + typedef void (^CGPathApplyBlock)(const CGPathElement * element); + ^ +/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPath.h:393:53: error: unknown type name 'CGPathApplyBlock' + CG_EXTERN void CGPathApplyWithBlock(CGPathRef path, CGPathApplyBlock CF_NOESCAPE block) + ^~~~~~~~~~~~~~~~ +make: *** [3rdparty/libuv/src/unix/darwin-proctitle.o] Error 1 +>>> elapsed time 1m45s