Skip to content

Commit

Permalink
Fixing static
Browse files Browse the repository at this point in the history
  • Loading branch information
cjnolet committed Jan 26, 2024
1 parent f55c577 commit 211ece2
Showing 1 changed file with 55 additions and 4 deletions.
59 changes: 55 additions & 4 deletions conda/recipes/libcuvs/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ source:
path: ../../..

outputs:
- name: libcuvs
- name: libcuvs-static
version: {{ version }}
script: build_libcuvs.sh
script: build_libcuvs_static.sh
build:
script_env: &script_env
- AWS_ACCESS_KEY_ID
Expand All @@ -33,8 +33,8 @@ outputs:
- SCCACHE_BUCKET
- SCCACHE_IDLE_TIMEOUT
- SCCACHE_REGION
- SCCACHE_S3_KEY_PREFIX=libraft-aarch64 # [aarch64]
- SCCACHE_S3_KEY_PREFIX=libraft-linux64 # [linux64]
- SCCACHE_S3_KEY_PREFIX=libcuvs-aarch64 # [aarch64]
- SCCACHE_S3_KEY_PREFIX=libcuvs-linux64 # [linux64]
- SCCACHE_S3_USE_SSL
- SCCACHE_S3_NO_CREDENTIALS
number: {{ GIT_DESCRIBE_NUMBER }}
Expand Down Expand Up @@ -79,6 +79,57 @@ outputs:
run:
- libraft ={{ minor_version }}
- {{ pin_compatible('cuda-version', max_pin='x', min_pin='x') }}
about:
home: https://rapids.ai/
license: Apache-2.0
summary: libcuvs static library
- name: libcuvs
version: {{ version }}
script: build_libcuvs.sh
build:
script_env: *script_env
number: {{ GIT_DESCRIBE_NUMBER }}
string: cuda{{ cuda_major }}_{{ date_string }}_{{ GIT_DESCRIBE_HASH }}_{{ GIT_DESCRIBE_NUMBER }}
ignore_run_exports_from:
{% if cuda_major == "11" %}
- {{ compiler('cuda11') }}
{% endif %}
requirements:
build:
- {{ compiler('c') }}
- {{ compiler('cxx') }}
{% if cuda_major == "11" %}
- {{ compiler('cuda11') }} ={{ cuda_version }}
{% else %}
- {{ compiler('cuda') }}
{% endif %}
- cuda-version ={{ cuda_version }}
- cmake {{ cmake_version }}
- ninja
- sysroot_{{ target_platform }} {{ sysroot_version }}
host:
- libraft ={{ minor_version }}
- cuda-version ={{ cuda_version }}
{% if cuda_major == "11" %}
- cuda-profiler-api {{ cuda11_cuda_profiler_api_host_version }}
- libcublas {{ cuda11_libcublas_host_version }}
- libcublas-dev {{ cuda11_libcublas_host_version }}
- libcurand {{ cuda11_libcurand_host_version }}
- libcurand-dev {{ cuda11_libcurand_host_version }}
- libcusolver {{ cuda11_libcusolver_host_version }}
- libcusolver-dev {{ cuda11_libcusolver_host_version }}
- libcusparse {{ cuda11_libcusparse_host_version }}
- libcusparse-dev {{ cuda11_libcusparse_host_version }}
{% else %}
- cuda-profiler-api
- libcublas-dev
- libcurand-dev
- libcusolver-dev
- libcusparse-dev
{% endif %}
run:
- libraft ={{ minor_version }}
- {{ pin_compatible('cuda-version', max_pin='x', min_pin='x') }}
about:
home: https://rapids.ai/
license: Apache-2.0
Expand Down

0 comments on commit 211ece2

Please sign in to comment.