Skip to content

Commit

Permalink
Merge pull request #7 from titsuki/fix-ci-build
Browse files Browse the repository at this point in the history
Remove phasers
  • Loading branch information
titsuki authored Aug 7, 2021
2 parents f49839b + 5cddd6d commit 06e4e74
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Algorithm/XGBoost/CustomBuilder.rakumod
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ use Distribution::Builder::MakeFromJSON;

class Algorithm::XGBoost::CustomBuilder:ver<0.0.2>:auth<cpan:TITSUKI> is Distribution::Builder::MakeFromJSON {
method build(IO() $work-dir = $*CWD) {
my $goback = ENTER $*CWD;
my $goback = $*CWD;
my $workdir = ~$work-dir;
if $*DISTRO.is-win {
die "Sorry, this binding doesn't support windows";
Expand All @@ -23,7 +23,7 @@ class Algorithm::XGBoost::CustomBuilder:ver<0.0.2>:auth<cpan:TITSUKI> is Distrib
run 'rm', '-f', "$workdir/resources/libraries/%vars<xgboost>";
}
run 'ln', '-s', "$workdir/src/xgboost/lib/%vars<xgboost>", "$workdir/resources/libraries/%vars<xgboost>";
LEAVE chdir($goback);
chdir($goback);
}
method !install-xgboost($workdir) {
my $srcdir = "$workdir/src";
Expand Down

0 comments on commit 06e4e74

Please sign in to comment.