Skip to content

Commit

Permalink
Add linux-aarch64 and/or osx-arm64 to various perl packages - part 2 …
Browse files Browse the repository at this point in the history
…of 2 (#51912)

* Add linux-aarch64 and/or osx-arm64 where package should already build but for lack of meta.yaml.
Broken up PR #51856 due to build timeout

* Set perl-ole-storage_lite to architecture independent per lint scanner
suggestion.
  • Loading branch information
dslarm authored Nov 5, 2024
1 parent b623d5b commit fbb156e
Show file tree
Hide file tree
Showing 14 changed files with 134 additions and 30 deletions.
9 changes: 8 additions & 1 deletion recipes/perl-class-xsaccessor/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@ source:
sha256: {{ sha256 }}

build:
number: 6
run_exports:
- {{ pin_subpackage(name, max_pin="x") }}
number: 7

requirements:
build:
Expand All @@ -35,3 +37,8 @@ about:
home: http://metacpan.org/pod/Class::XSAccessor
license: perl_5
summary: 'Generate fast XS accessors without runtime compilation'

extra:
additional-platforms:
- linux-aarch64
- osx-arm64
19 changes: 14 additions & 5 deletions recipes/perl-config-any/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,14 +1,18 @@
{% set name = "perl-config-any" %}
{% set version = "0.33" %}

package:
name: perl-config-any
version: "0.33"
name : {{ name }}
version: {{ version }}

source:
url: https://cpan.metacpan.org/authors/id/H/HA/HAARG/Config-Any-0.33.tar.gz
url: https://cpan.metacpan.org/authors/id/H/HA/HAARG/Config-Any-{{ version }}.tar.gz
sha256: c0668eb5f2cd355bf20557f04dc18a25474b7a0bcfa79562e3165d9a3c789333

build:
#skip: True # [osx]
number: 2
run_exports:
- {{ pin_subpackage(name, max_pin="x.x") }}
number: 3

requirements:
build:
Expand Down Expand Up @@ -50,3 +54,8 @@ about:
# See
# http://docs.continuum.io/conda/build.html for
# more information about meta.yaml

extra:
# linux-aarch64 is erroring during build.
additional-platforms:
- osx-arm64
18 changes: 14 additions & 4 deletions recipes/perl-devel-size/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,18 @@
{% set name = "perl-devel-size" %}
{% set version = "0.83" %}

package:
name: perl-devel-size
version: "0.83"
name: {{ name }}
version: {{ version }}

source:
url: https://cpan.metacpan.org/authors/id/N/NW/NWCLARK/Devel-Size-0.83.tar.gz
url: https://cpan.metacpan.org/authors/id/N/NW/NWCLARK/Devel-Size-{{ version }}.tar.gz
sha256: 757a67e0aa59ae103ea5ca092cbecc025644ebdc326731688ffab6f8823ef4b3

build:
number: 4
run_exports:
- {{ pin_subpackage(name, max_pin="x.x") }}
number: 5

requirements:
build:
Expand All @@ -30,3 +35,8 @@ about:
home: http://metacpan.org/pod/Devel::Size
license: perl_5
summary: 'Perl extension for finding the memory usage of Perl variables'

extra:
# osx-arm64 is erroring due to missing perl-storable in conda forge
additional-platforms:
- linux-aarch64
9 changes: 8 additions & 1 deletion recipes/perl-indirect/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@ source:
sha256: {{ sha256 }}

build:
number: 3
run_exports:
- {{ pin_subpackage(name, max_pin="x.x") }}
number: 4

requirements:
build:
Expand All @@ -35,3 +37,8 @@ about:
home: http://search.cpan.org/dist/indirect/
license: perl_5
summary: 'Lexically warn about using the indirect method call syntax.'

extra:
additional-platforms:
- linux-aarch64
- osx-arm64
9 changes: 8 additions & 1 deletion recipes/perl-json-create/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@ source:
sha256: {{ sha256 }}

build:
number: 2
run_exports:
- {{ pin_subpackage(name, max_pin="x.x") }}
number: 3

requirements:
build:
Expand Down Expand Up @@ -39,3 +41,8 @@ about:
home: http://metacpan.org/pod/JSON::Create
license: perl_5
summary: 'fast, minimal, UTF-8-only serialization of data to JSON'

extra:
# osx-arm64 is erroring due to missing perl-encode in conda forge
additional-platforms:
- linux-aarch64
4 changes: 3 additions & 1 deletion recipes/perl-ole-storage_lite/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ source:
# If this is a new build for the same version, increment the build
# number. If you do not include this key, it defaults to 0.
build:
number: 0
number: 1
noarch: generic
run_exports:
weak:
- {{ name }} ={{ version }}
Expand Down Expand Up @@ -41,3 +42,4 @@ about:
# See
# https://docs.conda.io/projects/conda-build for
# more information about meta.yaml

9 changes: 8 additions & 1 deletion recipes/perl-padwalker/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@ source:
sha256: {{ sha256 }}

build:
number: 3
run_exports:
- {{ pin_subpackage(name, max_pin="x") }}
number: 4

requirements:
build:
Expand All @@ -33,3 +35,8 @@ about:
home: http://metacpan.org/pod/PadWalker
license: unknown
summary: "play with other peoples' lexical variables"

extra:
additional-platforms:
- linux-aarch64
- osx-arm64
9 changes: 8 additions & 1 deletion recipes/perl-perl-unsafe-signals/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@ source:
sha256: {{ sha256 }}

build:
number: 7
run_exports:
- {{ pin_subpackage(name, max_pin="x.x") }}
number: 8

requirements:
build:
Expand All @@ -32,3 +34,8 @@ about:
home: http://metacpan.org/pod/Perl::Unsafe::Signals
license: perl_5
summary: 'Allow unsafe handling of signals in selected blocks'

extra:
additional-platforms:
- linux-aarch64
- osx-arm64
18 changes: 14 additions & 4 deletions recipes/perl-perlio-gzip/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,18 @@
{% set name = "perl-perlio-gzip" %}
{% set version = "0.20" %}

package:
name: perl-perlio-gzip
version: "0.20"
name: {{ name }}
version: {{ version }}

source:
url: https://cpan.metacpan.org/authors/id/N/NW/NWCLARK/PerlIO-gzip-0.20.tar.gz
url: https://cpan.metacpan.org/authors/id/N/NW/NWCLARK/PerlIO-gzip-{{ version }}.tar.gz
sha256: "4848679a3f201e3f3b0c5f6f9526e602af52923ffa471a2a3657db786bd3bdc5"

build:
number: 5
run_exports:
- {{ pin_subpackage(name, max_pin="x.x") }}
number: 6

requirements:
build:
Expand All @@ -29,3 +34,8 @@ about:
home: http://metacpan.org/pod/PerlIO-gzip
license: perl_5
summary: 'PerlIO interface to gzip/gunzip'

extra:
additional-platforms:
- linux-aarch64
- osx-arm64
18 changes: 14 additions & 4 deletions recipes/perl-scalar-util-numeric/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,18 @@
{% set name = "perl-scalar-util-numeric" %}
{% set version = "0.40" %}

package:
name: perl-scalar-util-numeric
version: "0.40"
name: {{ name }}
version: {{ version }}

source:
url: https://cpan.metacpan.org/authors/id/C/CH/CHOCOLATE/Scalar-Util-Numeric-0.40.tar.gz
url: https://cpan.metacpan.org/authors/id/C/CH/CHOCOLATE/Scalar-Util-Numeric-{{ version }}.tar.gz
md5: 6a5451f33c3ec5c17d0672a4d5b0d24c

build:
number: 5
run_exports:
- {{ pin_subpackage(name, max_pin="x.x") }}
number: 6

requirements:
build:
Expand All @@ -28,3 +33,8 @@ about:
home: http://metacpan.org/pod/Scalar-Util-Numeric
license: perl_5
summary: 'numeric tests for perl scalars'

extra:
additional-platforms:
- linux-aarch64
- osx-arm64
7 changes: 6 additions & 1 deletion recipes/perl-set-object/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ source:
sha256: {{ sha256 }}

build:
number: 3
number: 4
run_exports:
weak:
- {{ name }} ={{ version }}
Expand All @@ -34,3 +34,8 @@ about:
home: http://metacpan.org/pod/Set-Object
license: artistic_2
summary: 'Unordered collections (sets) of Perl Objects'

extra:
additional-platforms:
- linux-aarch64
- osx-arm64
18 changes: 14 additions & 4 deletions recipes/perl-socket6/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,18 @@
{% set name = "perl-socket6" %}
{% set version = "0.29" %}

package:
name: perl-socket6
version: "0.29"
name: {{ name }}
version: {{ version }}

source:
url: http://cpan.metacpan.org/authors/id/U/UM/UMEMOTO/Socket6-0.29.tar.gz
url: http://cpan.metacpan.org/authors/id/U/UM/UMEMOTO/Socket6-{{ version }}.tar.gz
sha256: 468915fa3a04dcf6574fc957eff495915e24569434970c91ee8e4e1459fc9114

build:
number: 4
run_exports:
- {{ pin_subpackage(name, max_pin="x.x") }}
number: 5

requirements:
build:
Expand All @@ -28,3 +33,8 @@ about:
home: http://metacpan.org/pod/Socket6
license: unknown
summary: 'IPv6 related part of the C socket.h defines and structure manipulators'

extra:
additional-platforms:
- linux-aarch64
- osx-arm64
9 changes: 8 additions & 1 deletion recipes/perl-time-hires/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@ source:
sha256: {{ sha256 }}

build:
number: 4
run_exports:
- {{ pin_subpackage(name, max_pin="x") }}
number: 5

requirements:
build:
Expand All @@ -36,3 +38,8 @@ about:
home: http://metacpan.org/pod/Time::HiRes
license: perl_5
summary: 'High resolution alarm, sleep, gettimeofday, interval timers'

extra:
additional-platforms:
- linux-aarch64
- osx-arm64
8 changes: 7 additions & 1 deletion recipes/perl-url-encode/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,14 @@ source:
# If this is a new build for the same version, increment the build
# number. If you do not include this key, it defaults to 0.
build:
number: 0
number: 1
run_exports:
weak:
- {{ name }} ={{ version }}

requirements:
build:
- make

# Run exports are used now
host:
Expand All @@ -45,3 +46,8 @@ about:
# See
# https://docs.conda.io/projects/conda-build for
# more information about meta.yaml

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

0 comments on commit fbb156e

Please sign in to comment.