Skip to content

Commit

Permalink
Support for the latest changes in nqp-configure
Browse files Browse the repository at this point in the history
OpenBSD build and command line options handling improvements.
  • Loading branch information
vrurg committed May 17, 2019
1 parent 7732ed6 commit 03ded1c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 23 deletions.
2 changes: 1 addition & 1 deletion 3rdparty/nqp-configure
3 changes: 2 additions & 1 deletion Configure.pl
Expand Up @@ -31,7 +31,7 @@ BEGIN

use lib (
"$FindBin::Bin/tools/lib",
"$FindBin::Bin/3rdparty/nqp-configure/lib"
"$FindBin::Bin/3rdparty/nqp-configure/lib",
);
use NQP::Config qw<system_or_die>;
use NQP::Config::NQP;
Expand Down Expand Up @@ -60,6 +60,7 @@ BEGIN
'github-user=s', 'nqp-repo=s',
'moar-repo=s', 'expand=s',
'out=s', 'set-var=s@',
'no-relocatable',
)
or do {
print_help();
Expand Down
21 changes: 0 additions & 21 deletions tools/lib/NQP/Config/NQP.pm
Expand Up @@ -272,27 +272,6 @@ sub gen_moar {
#`$moar_path --libpath="$libpath" "$nqp_moarvm" -e "print(nqp::backendconfig()<make>)"`;
}

# Command line options not to be included into configure_opts macro output
sub ignorable_opt {
my $self = shift;
my $opt = shift;
return $opt =~ /^
(?:
gen-
| (?:
help
| no-clean
| ignore-errors
| make-install
| expand
| out
| backends
)
$
)
/x;
}

sub probe_node {
my $self = shift;

Expand Down

0 comments on commit 03ded1c

Please sign in to comment.