Simplify meta.yml
{% set processor = "cpu" %}
{% set name = "hoomd-dlext" %}
-{% set version = "0.2.0" %}
+{% set version = "0.2.1" %}
{% set build = 0 %}
-{% set sha256 = "233036258ade736aa7fb6816eae05ffe827f57140450753bdc1b4bba5c38ad66" %}
+{% set sha256 = "4d5fe5a8048e3273edd48762f627897938b35d7a4485df6aa5bc293a246680e8" %}
{% set processor = "cpu" if cuda_compiler_version == "None" else "gpu" %} # [linux64]
{% set processor = "cpu" %} # [not linux64]
@@ -12,54 +12,32 @@ package:
version: {{ version }}
source:
- url: https://github.com/SSAGESLabs/hoomd-dlext/archive/{{ version }}.tar.gz
+ url: https://github.com/pabloferz/hoomd-dlext/archive/refs/tags/v{{ version }}.tar.gz
sha256: {{ sha256 }}
build:
number: {{ build }}
# Upstream package does not support Windows, Python < 3.6, or PyPy
- skip: true # [win]
+ skip: true # [win or py<36 or python_impl == "pypy"]
string: {{ processor }}_py{{ py }}h{{ PKG_HASH }}_{{ build }}
+ ignore_run_exports: tbb
requirements:
build:
- - python # [build_platform != target_platform]
- - cross-python_{{ target_platform }} # [build_platform != target_platform]
- - numpy # [build_platform != target_platform]
- - pybind11 # [build_platform != target_platform]
- - swig # [build_platform != target_platform]
- - dlpack # [build_platform != target_platform]
- - {{ compiler('c') }}
- {{ compiler('cxx') }}
- - {{ compiler('cuda') }} # [linux64]
- - cmake
+ - {{ compiler('cuda') }} # [linux64 and cuda_compiler_version != "None"]
+ - cmake >=3.16
- make
- - ninja
- - pkg-config
host:
- - eigen
- - numpy
- - pybind11
- python
- - tbb
- - tbb-devel
- - pybind11-abi
- - pip
- - swig
- - hoomd<3
+ - pybind11
- dlpack >=0.5
+ - hoomd <3
+ - tbb-devel
run:
- - __osx >={{ MACOSX_DEPLOYMENT_TARGET|default("10.9") }} # [osx and x86_64]
- - __cuda >={{ cuda_compiler_version }} # [linux64 and cuda_compiler_version != "None"]
- - python
- - numpy
- - tbb
- - libstdcxx-devel_linux-64 # [linux64]
- - sysroot_linux-64 # [linux64]
- - libcxx 13.0.1
- - hoomd<3
+ - {{ pin_compatible('hoomd', max_pin='2.x') }}
test:
imports:
