Skip to content

Commit

Permalink
recipe: updated requirements on glibc
Browse files Browse the repository at this point in the history
  • Loading branch information
kvoronin committed Jan 29, 2025
1 parent e7041a5 commit cc0e4c4
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ c_compiler_version:
c_stdlib:
- sysroot
c_stdlib_version:
- '2.17'
- '2.28'
cdt_name:
- conda
channel_sources:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ c_compiler_version:
c_stdlib:
- sysroot
c_stdlib_version:
- '2.17'
- '2.28'
cdt_name:
- conda
channel_sources:
Expand Down
5 changes: 3 additions & 2 deletions recipe/conda_build_config.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@

arm_variant_type: # [aarch64]
- sbsa # [aarch64]
c_stdlib_version: # [linux]
- "2.17" # [linux]
- "2.28" # [linux]
11 changes: 5 additions & 6 deletions recipe/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,28 +31,27 @@ build:

requirements:
build:
- arm-variant * {{ arm_variant_type }} # [aarch64]
- {{ compiler('c') }}
- {{ stdlib("c") }}
- {{ compiler('cxx') }}
- {{ compiler('cuda') }}
host:
# https://github.com/NixOS/patchelf/issues/492
- patchelf !=0.18 # [linux]
# https://github.com/NixOS/patchelf/issues/492
- patchelf <0.18.0 # [linux]
run:
run_constrained:
# Only GLIBC_2.17 or older symbols present
- __glibc >=2.17 # [linux]

test:
requires:
- git
- {{ stdlib('c') }}
- {{ compiler('c') }}
- {{ compiler('cxx') }}
- {{ compiler('cuda') }}
# tests need the cuSPARSE header & libnvrtc.so
- libcusparse-dev
- cuda-nvrtc-dev
- cuda-driver-dev # [linux and (cuda_compiler_version or "").startswith("12")]
- patchelf # [linux]
files:
- test_load_elf.c # [linux]

Expand Down

0 comments on commit cc0e4c4

Please sign in to comment.