Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

perl-convert-binary-c: add aarch64/arm64 build #51107

Merged
merged 1 commit into from
Oct 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion recipes/perl-convert-binary-c/build.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#!/bin/bash

set -xe

# If it has Build.PL use that, otherwise use Makefile.PL
if [ -f Build.PL ]; then
perl Build.PL
Expand All @@ -10,7 +12,7 @@ if [ -f Build.PL ]; then
elif [ -f Makefile.PL ]; then
# Make sure this goes in site
perl Makefile.PL INSTALLDIRS=site
make
make -j ${CPU_COUNT}
make test
make install
else
Expand Down
7 changes: 6 additions & 1 deletion recipes/perl-convert-binary-c/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ source:
sha256: {{ sha256 }}

build:
number: 0
number: 1
run_exports:
- {{ pin_subpackage('perl-convert-binary-c', max_pin="x.x") }}

Expand All @@ -33,3 +33,8 @@ about:
home: http://search.cpan.org/~mhx/Convert-Binary-C/
license: perl_5
summary: 'Binary Data Conversion using C Types'

extra:
additional-platforms:
- linux-aarch64
- osx-arm64