-
-
Save timo/301073744c9555c79064 to your computer and use it in GitHub Desktop.
parameterized components for perl6-bench (draft)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
"I would expect the components to be addressable as", | |
"- nqp-moarvm/1234:fabcd - commit 1234 of nqp, fabcd of moarvm", | |
"- nqp-moarvm/1234 - commit 1234 of nqp, MOARVM_REVISION of moarvm, since --gen-moar gets no argument", | |
"- rakudo-moar/f00b42::fabcd - commit f00b42 of rakudo, NQP_REVISION of nqp and fabcd of moarvm", | |
"- rakudo-moar/f00b42:1234 - commit f00b42 of rakudo, 1234 of nqp and MOAR_REVISION of moarvm" | |
] | |
{ | |
"nqp-moarvm": { | |
"name": "nqp-moarvm", | |
"repo_url": "git://github.com/perl6/nqp.git", | |
"parameters": [ "mvm" ], | |
"release_tags": "^ 20\\d\\d \\D \\d\\d [\\.\\d+]? $", | |
"build_steps": [ | |
[ "make", "realclean" ], | |
[ "rm", "-rf", "install", "moarvm" ], | |
[ "git", "clone", "-l", "../../moarvm/moarvm.git" ], | |
[ "perl", "Configure.pl", "--backends=moar", { "mvm": "--gen-moar=$mvm", "": "--gen-moar" } ], | |
[ "make" ], | |
[ "make", "install" ] | |
] | |
}, | |
"rakudo-moar": { | |
"name": "rakudo-moar", | |
"repo_url": "git://github.com/rakudo/rakudo.git", | |
"release_tags": "^ 20\\d\\d \\D \\d\\d [\\.\\d+]? $", | |
"parameters": [ "nqp", "mvm" ], | |
"build_steps": [ | |
[ "make", "realclean" ], | |
[ "git", "clean", "-dxf" ], | |
[ "rm", "-rf", "install", "nqp", "moarvm" ], | |
[ "git", "clone", "-l", "../../moarvm/moarvm.git" ], | |
[ "git", "clone", "-l", "../../nqp-moarvm/nqp-moarvm.git", "nqp" ], | |
[ "perl", "Configure.pl", "--backends=moar", | |
{ "mvm": "--gen-moar=$mvm", "": "--gen-moar" }, | |
{ "nqp": "--gen-nqp=$nqp", }, // implicit "":"" | |
], | |
[ "make" ], | |
[ "make", "install" ] | |
] | |
}, | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment