Skip to content

Commit

Permalink
Merge pull request #81 from conda-forge-admin/conda_forge_admin_80
Browse files Browse the repository at this point in the history
Fixing up build tool usage
  • Loading branch information
jakirkham committed Aug 26, 2023
2 parents fd1be76 + 38ed40f commit 71997a3
Showing 1 changed file with 11 additions and 13 deletions.
24 changes: 11 additions & 13 deletions recipe/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
{% set name = "implicit" %}
{% set version = "0.7.1" %}
{% set sha256 = "889c6a8f1e4c64eb5705890aa830625a7543d88757eb23ee5f6f4ba0caa8fcf3" %}
{% set number = "0" %}
{% set number = 1 %}

{% set implicit_proc_type = "cpu" if (cuda_compiler|default("None")) == "None" else "gpu" %}

Expand Down Expand Up @@ -37,29 +37,27 @@ outputs:
- name: implicit
build:
number: {{ number }}
script:
- export CMAKE_GENERATOR="Ninja"
- python -m pip install . --no-deps -vv --no-build-isolation
script_env:
- CMAKE_GENERATOR=Ninja
script: python -m pip install . -vv --no-deps --no-index --no-build-isolation --ignore-installed --cache-dir pip_cache

requirements:
build:
- {{ compiler('c') }}
- {{ compiler('cxx') }}
- {{ compiler('cuda') }} # [cuda_compiler not in (undefined, "None")]
- cmake
- ninja
- python # [build_platform != target_platform]
- cross-python_{{ target_platform }} # [build_platform != target_platform]
- cython # [build_platform != target_platform]
- ninja # [build_platform != target_platform]
- cmake # [build_platform != target_platform]
- scipy >=0.16 # [build_platform != target_platform]
- scikit-build >=0.13.1 # [build_platform != target_platform]
- {{ compiler('c') }}
- {{ compiler('cxx') }}
- {{ compiler('cuda') }} # [cuda_compiler not in (undefined, "None")]
host:
- python
- pip
- wheel
- setuptools
- ninja
- cmake
- setuptools >=42
- cython >=0.24
- scikit-build >=0.13.1
# implicit cimports BLAS from scipy
Expand All @@ -68,7 +66,7 @@ outputs:
- libcurand-dev # [(cuda_compiler_version or "").startswith("12")]
run:
- python
- {{ pin_compatible('numpy') }}
- numpy
- {{ pin_compatible('scipy') }}
- tqdm >=4.27
run_constrained:
Expand Down

0 comments on commit 71997a3

Please sign in to comment.