Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Windows builds #1

Merged
merged 3 commits into from
Jun 13, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 9 additions & 8 deletions recipe/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,19 +20,20 @@ source:
sha256: e362e1fbf6b101ad71aa5314f21d00a4353b90efbe5cdedc5fcfb0f3b68cd791 # [win and cuda_major == "12"]
# Include cudart license because it is statically linked.
- url: https://developer.download.nvidia.com/compute/cuda/redist/cuda_cudart/LICENSE.txt
fn: cudart_LICENSE
fn: cudart_LICENSE.txt
sha256: 5db25d4fd138013b563f9a3d1d87f7de7df1dac014fd4cccdfbb3435a5cff761

build:
number: 0
number: 1
# TODO: Enable aarch64 builds
# TODO: Enable Windows with CUDA 12 when it is supported
skip: True # [win32 or osx or aarch64 or ppc64le or cuda_compiler_version not in ("11.2", "12.0") or (win and cuda_major == "12")]
script:
- mkdir -pv $PREFIX/include # [linux]
- mv -v include/* $PREFIX/include # [linux]
- mkdir -pv $PREFIX/lib # [linux]
- mv -v lib/* $PREFIX/lib/ # [linux]
- mv -v $SRC_DIR/LICENSE $SRC_DIR/LICENSE.txt # [linux]
- mkdir -pv $PREFIX/include # [linux]
- mv -v include/* $PREFIX/include # [linux]
- mkdir -pv $PREFIX/lib # [linux]
- mv -v lib/* $PREFIX/lib/ # [linux]
- mkdir %LIBRARY_INC% # [win]
- copy %SRC_DIR%\\include\\* %LIBRARY_INC%\\ # [win]
- mkdir %LIBRARY_LIB% # [win]
Expand Down Expand Up @@ -86,8 +87,8 @@ about:
license:
LicenseRef-nvCOMP-Software-License-Agreement AND LicenseRef-NVIDIA-End-User-License-Agreement
license_file:
- LICENSE
- cudart_LICENSE
- LICENSE.txt
- cudart_LICENSE.txt
license_url: https://developer.download.nvidia.com/compute/nvcomp/2.3/LICENSE.txt
summary: "High Speed Data Compression Using NVIDIA GPUs"
description: |
Expand Down