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

add sysroot lower bound to run_constrained #160

Closed
wants to merge 1 commit into from
Closed
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
5 changes: 4 additions & 1 deletion recipe/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{% set version = "5.0.3" %}
{% set major = version.rpartition('.')[0] %}
{% set cuda_major = (cuda_compiler_version|default("11.8")).rpartition('.')[0] %}
{% set build = 5 %}
{% set build = 6 %}

# give conda package a higher build number
{% if mpi_type == 'conda' %}
Expand Down Expand Up @@ -66,6 +66,9 @@ outputs:
#- openpmix
#- prrte
run_constrained:
# prevent downstream packages from building
# with older sysroot
- {{ c_stdlib }}_{{ target_platform }} >={{ c_stdlib_version }} # [linux]
- {{ pin_compatible("ucx", max_pin="x.x") }} # [linux]
# Open MPI only uses CUDA Driver APIs, set the minimal driver version
- __cuda >= {{ cuda_major ~ ".0" }} # [cuda_compiler != "None"]
Expand Down