Skip to content

Commit

Permalink
Merge pull request #1018 from YukariChiba/exclarch
Browse files Browse the repository at this point in the history
exclude unsupported arch for Arch build
  • Loading branch information
mlschroe authored Oct 31, 2024
2 parents 8a00ff9 + 65c4eeb commit 96be5ae
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Build/Arch.pm
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,13 @@ sub parse {
my @assets = get_assets(\%vars, $asuf);
push @{$ret->{'remoteassets'}}, @assets if @assets;
}
my @exclarch;
push @exclarch, @{$vars{'arch'}};
@exclarch = grep {$_ ne "any"} @exclarch;
# unify
my %exclarch = map {$_ => 1} @exclarch;
@exclarch = sort keys %exclarch;
$ret->{'exclarch'} = \@exclarch if @exclarch;
return $ret;
}

Expand Down

0 comments on commit 96be5ae

Please sign in to comment.