Skip to content

Instantly share code, notes, and snippets.

@cygx
Created July 22, 2019 12:16
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save cygx/ae6735ae9fb89633370787064c88b769 to your computer and use it in GitHub Desktop.
$ perl6 --freeze foo.p6
creates foo.moarvm, <mangled_name_of_dependency_encoding_auth_and_ver>.pm6.moarvm, ...
$ perl6 --run-frozen foo.moarvm
run frozen code
pamplemousse already did a lot of what's necessary for this
what's missing is a CU repo that looks for the precompiled dependencies created above
$ perl6 --pack-frozen foo.moarvm *.pm6.moarvm
create executable which will need an installed rakudo to run
also already implemented to some degree by pamplemousse
$ perl6 --fatpack-frozen foo.moarvm *.pm6.moarvm
create executable that will work without rakudo installed, ie it needs to also
pack moarvm, the nqp and perl6 runtime, the setting...
$ perl6 --fatpack foo.p6
go from foo.p6 to standalone executable in single step
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment