Skip to content

Commit

Permalink
Merge pull request #80 from h-vetinari/major
Browse files Browse the repository at this point in the history
[main] Loosen run-export to major level
  • Loading branch information
h-vetinari authored May 28, 2024
2 parents 4069a63 + d6788f0 commit 93de214
Show file tree
Hide file tree
Showing 16 changed files with 66 additions and 30 deletions.
1 change: 1 addition & 0 deletions .azure-pipelines/azure-pipelines-linux.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion .azure-pipelines/azure-pipelines-osx.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions .ci_support/linux_64_.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ c_compiler:
- gcc
c_compiler_version:
- '12'
c_stdlib:
- sysroot
c_stdlib_version:
- '2.12'
cdt_name:
- cos6
channel_sources:
Expand All @@ -12,3 +16,6 @@ docker_image:
- quay.io/condaforge/linux-anvil-cos7-x86_64
target_platform:
- linux-64
zip_keys:
- - c_stdlib_version
- cdt_name
7 changes: 7 additions & 0 deletions .ci_support/linux_aarch64_.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ c_compiler:
- gcc
c_compiler_version:
- '12'
c_stdlib:
- sysroot
c_stdlib_version:
- '2.17'
cdt_arch:
- aarch64
cdt_name:
Expand All @@ -16,3 +20,6 @@ docker_image:
- quay.io/condaforge/linux-anvil-aarch64
target_platform:
- linux-aarch64
zip_keys:
- - c_stdlib_version
- cdt_name
7 changes: 7 additions & 0 deletions .ci_support/linux_ppc64le_.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ c_compiler:
- gcc
c_compiler_version:
- '12'
c_stdlib:
- sysroot
c_stdlib_version:
- '2.17'
cdt_name:
- cos7
channel_sources:
Expand All @@ -12,3 +16,6 @@ docker_image:
- quay.io/condaforge/linux-anvil-cos7-x86_64
target_platform:
- linux-ppc64le
zip_keys:
- - c_stdlib_version
- cdt_name
8 changes: 7 additions & 1 deletion .ci_support/osx_64_.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,15 @@
MACOSX_DEPLOYMENT_TARGET:
- '10.9'
- '10.13'
MACOSX_SDK_VERSION:
- '10.13'
c_compiler:
- clang_bootstrap
c_compiler_version:
- '16'
c_stdlib:
- macosx_deployment_target
c_stdlib_version:
- '10.13'
channel_sources:
- conda-forge
channel_targets:
Expand Down
6 changes: 6 additions & 0 deletions .ci_support/osx_arm64_.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,15 @@
MACOSX_DEPLOYMENT_TARGET:
- '11.0'
MACOSX_SDK_VERSION:
- '11.0'
c_compiler:
- clang_bootstrap
c_compiler_version:
- '16'
c_stdlib:
- macosx_deployment_target
c_stdlib_version:
- '11.0'
channel_sources:
- conda-forge
channel_targets:
Expand Down
4 changes: 2 additions & 2 deletions .ci_support/win_64_.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
c_compiler:
- vs2019
c_stdlib:
- vs
channel_sources:
- conda-forge
channel_targets:
- conda-forge main
target_platform:
- win-64
vc:
- '14'
4 changes: 2 additions & 2 deletions .ci_support/win_arm64_.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
c_compiler:
- vs2022
c_stdlib:
- vs
channel_sources:
- conda-forge
channel_targets:
- conda-forge main
target_platform:
- win-arm64
vc:
- '14'
4 changes: 2 additions & 2 deletions .gitattributes

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions .scripts/build_steps.sh

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions .scripts/run_osx_build.sh

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions .scripts/run_win_build.bat

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions azure-pipelines.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions build-locally.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 10 additions & 10 deletions recipe/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{% set version = "1.3.1" %}
{% set build_num = 0 %}
{% set build_num = 1 %}

package:
name: zlib-split
Expand All @@ -17,22 +17,21 @@ build:
requirements:
build:
- cmake # [win]
- msinttypes # [win and vc<14]
# compiler on osx depends on zlib itself. Use the bootstrap compiler instead on osx
- {{ compiler('c') }}
- {{ stdlib('c') }}
- make # [unix]
run:

outputs:
- name: libzlib
build:
run_exports:
# mostly OK, but some scary symbol removal. Let's try for trusting them.
# https://abi-laboratory.pro/tracker/timeline/zlib/
- {{ pin_subpackage('libzlib', max_pin='x.x') }}
- {{ pin_subpackage('libzlib', max_pin='x') }}
requirements:
build:
- {{ compiler('c') }}
- {{ stdlib('c') }}
host:
run:
run_constrained:
Expand All @@ -54,10 +53,11 @@ outputs:
build:
skip: true # [not win]
run_exports:
- {{ pin_subpackage('libzlib-wapi', max_pin='x.x') }}
- {{ pin_subpackage('libzlib-wapi', max_pin='x') }}
requirements:
build:
- {{ compiler('c') }}
- {{ stdlib('c') }}
host:
run:
run_constrained:
Expand All @@ -72,12 +72,11 @@ outputs:
- name: zlib
build:
run_exports:
# mostly OK, but some scary symbol removal. Let's try for trusting them.
# https://abi-laboratory.pro/tracker/timeline/zlib/
- {{ pin_subpackage('libzlib', max_pin='x.x') }}
- {{ pin_subpackage('libzlib', max_pin='x') }}
requirements:
build:
- {{ compiler('c') }}
- {{ stdlib('c') }}
host:
- {{ pin_subpackage('libzlib', exact=True) }}
run:
Expand Down Expand Up @@ -116,10 +115,11 @@ outputs:
build:
skip: true # [not win]
run_exports:
- {{ pin_subpackage('libzlib-wapi', max_pin='x.x') }}
- {{ pin_subpackage('libzlib-wapi', max_pin='x') }}
requirements:
build:
- {{ compiler('c') }}
- {{ stdlib('c') }}
host:
- {{ pin_subpackage('libzlib-wapi', exact=True) }}
- {{ pin_subpackage('zlib', exact=True) }}
Expand Down

0 comments on commit 93de214

Please sign in to comment.