Skip to content

Commit

Permalink
Pin cuda-version in host and build to relax run dependency on CUDA ve…
Browse files Browse the repository at this point in the history
…rsions (#128)

* Pin cuda-version in host and build to relax run dependency on CUDA versions.

* Bump build

* Empty commit to rerun
  • Loading branch information
RaulPPelaez authored Feb 2, 2024
1 parent 544a994 commit 8dfb41f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion recipe/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{% set name = "openmm" %}
{% set version = "8.1.1" %}
{% set build = 0 %}
{% set build = 1 %}
{% set with_test_suite = "false" %}
#{% set with_test_suite = "true" %} # [(osx and arm64)]

Expand Down Expand Up @@ -45,6 +45,7 @@ requirements:
- {{ compiler('c') }}
- {{ compiler('cxx') }}
- {{ compiler('cuda') }} # [(linux or win) and cuda_compiler != "None"]
- cuda-version {{ cuda_compiler_version }} # [(cuda_compiler_version or "None") != "None"]
- {{ cdt('mesa-libgl-devel') }} # [linux]
- sysroot_linux-64 2.17 # [linux64]
- cmake
Expand All @@ -69,6 +70,7 @@ requirements:
# OpenCL ICD
- ocl-icd # [linux]
- khronos-opencl-icd-loader # [win or (osx and opencl_impl == 'khronos')]
- cuda-version {{ cuda_compiler_version }} # [(cuda_compiler_version or "None") != "None"]
{% if cuda_major >= 12 %}
- libcufft-dev # [linux or win]
- cuda-profiler-api # [linux or win]
Expand Down

0 comments on commit 8dfb41f

Please sign in to comment.