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

upgrade __osx constraint to run-export #69

Merged
merged 1 commit into from
Sep 7, 2023
Merged
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
9 changes: 5 additions & 4 deletions recipe/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ source:
- patches/0004-default-dll-import-for-windows.patch

build:
number: 1
number: 2

outputs:
# default behaviour is shared; however note that upstream does not support
Expand All @@ -52,6 +52,10 @@ outputs:
- {{ pin_subpackage("libabseil", max_pin="x") }}
# also pin on ABI variant
- libabseil =*=cxx{{ cxx_standard }}*
# abseil needs the 10.13 headers even just to be `# include`d;
# ensure that all dependent packages reflect that to
# avoid the solver getting stuck in no-man's-land.
- __osx >={{ MACOSX_DEPLOYMENT_TARGET }} # [osx and x86_64]

requirements:
build:
Expand All @@ -63,7 +67,6 @@ outputs:
- libabseil-static ={{ version }}=cxx{{ cxx_standard }}*
# make sure we don't co-install with old version of old package name
- abseil-cpp ={{ version }}
- __osx >={{ MACOSX_DEPLOYMENT_TARGET }} # [osx and x86_64]
h-vetinari marked this conversation as resolved.
Show resolved Hide resolved

test:
requires:
Expand Down Expand Up @@ -143,8 +146,6 @@ outputs:
run:
- gtest
- {{ pin_subpackage("libabseil", exact=True) }}
run_constrained:
- __osx >={{ MACOSX_DEPLOYMENT_TARGET }} # [osx and x86_64]

test:
requires:
Expand Down