Skip to content

Commit

Permalink
Drop BUILD_PREFIX headers from Windows INCLUDE path (#75)
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 Mar 7, 2024
2 parents cb042b0 + dfe1f4b commit 3bb7ec0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions recipe/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,11 @@ source:
sha256: ba983dbb91a7f51553315fe14f1fbcbb4920f8f2e9bb47620735d2d63c33e673

build:
number: 0
number: 1
{% if not (environ.get("cuda_compiler_version")|string()).startswith(major_version|string()) %}
skip: true
{% endif %}
script:
- set "INCLUDE=%INCLUDE%;%BUILD_PREFIX%\Library\include" # [win64]
- {{ PYTHON }} setup.py build_ext --inplace -j1
- {{ PYTHON }} -m pip install . --no-deps -vv
script_env:
# Ensure that CUDA includes can be found by the host compiler
Expand All @@ -36,6 +34,7 @@ build:
# The run-exports from these dev packages are too tight, so we ignore them.
# The cuda-python package supports CUDA Enhanced Compatibility through its
# use of dlopen, so it is compatible with other CUDA minor versions.
- cuda-crt-dev_{{ target_platform }}
- cuda-cudart-dev
- cuda-nvrtc-dev

Expand All @@ -50,6 +49,7 @@ requirements:
- python # [build_platform != target_platform]
- cython # [build_platform != target_platform]
host:
- cuda-crt-dev_{{ target_platform }}
- cuda-cudart-dev
- cuda-cudart
- cuda-nvrtc-dev
Expand Down

0 comments on commit 3bb7ec0

Please sign in to comment.