From 8dfb41fddc4f2561d1adc29d9ace70656bb3045b Mon Sep 17 00:00:00 2001 From: Raul Date: Fri, 2 Feb 2024 17:50:33 +0100 Subject: [PATCH] Pin cuda-version in host and build to relax run dependency on CUDA versions (#128) * Pin cuda-version in host and build to relax run dependency on CUDA versions. * Bump build * Empty commit to rerun --- recipe/meta.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/recipe/meta.yaml b/recipe/meta.yaml index 4e279355..f2283709 100644 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -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)] @@ -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 @@ -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]