Skip to content

Commit

Permalink
Add run_exports for onnxruntime-cpp without modifying SOVERSION (#102)
Browse files Browse the repository at this point in the history
automerged PR by conda-forge/automerge-action
  • Loading branch information
github-actions[bot] authored Jan 19, 2024
2 parents 6d01cf2 + 17d05da commit 64f9877
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 100 deletions.
99 changes: 0 additions & 99 deletions .ci_support/migrations/cuda118.yaml

This file was deleted.

5 changes: 4 additions & 1 deletion recipe/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
{% set cuda_enabled = cuda_compiler_version != "None" %}
{% set build_ext = "cuda" if cuda_enabled else "cpu" %}
{% set version = "1.16.3" %}
{% set suffix = "" %} # [suffix == None] # help the linter

package:
name: {{ name|lower }}{{ suffix }}
Expand All @@ -19,7 +20,7 @@ source:


build:
number: 3
number: 4
# Since 1.11, power9 seems to be required.
skip: true # [ppc64le]
# CUDA compilation for Windows goes out-of-memory.
Expand Down Expand Up @@ -92,6 +93,8 @@ outputs:
- name: {{ name|lower }}{{ suffix }}-cpp
build:
string: h{{ PKG_HASH }}_{{ PKG_BUILDNUM }}_{{ build_ext }}
run_exports:
- {{ pin_subpackage((name|lower) + suffix + '-cpp', max_pin='x.x.x') }}
script: install-cpp.sh # [unix]
script: install-cpp.bat # [win]
requirements:
Expand Down

0 comments on commit 64f9877

Please sign in to comment.