From 406ac82f3e067137446d32c030bbcc1155919427 Mon Sep 17 00:00:00 2001 From: jakirkham Date: Tue, 13 Jun 2023 00:49:35 -0700 Subject: [PATCH 1/3] Add `.txt` extension to `cudart` license file --- recipe/meta.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/recipe/meta.yaml b/recipe/meta.yaml index e56ea17..c6976fc 100644 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -20,7 +20,7 @@ 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: @@ -87,7 +87,7 @@ about: LicenseRef-nvCOMP-Software-License-Agreement AND LicenseRef-NVIDIA-End-User-License-Agreement license_file: - LICENSE - - cudart_LICENSE + - 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: | From 2dfcf71aba052a992e6a01c2253794ee7f43d0dd Mon Sep 17 00:00:00 2001 From: jakirkham Date: Tue, 13 Jun 2023 00:54:46 -0700 Subject: [PATCH 2/3] Use `.txt` extension with `LICENSE` The Windows packages appear to be using `.txt` extension with `LICENSE` whereas the Linux ones don't. Just add the `.txt` extension to the license file on Linux to align with Windows. Then package the the `.txt` license file on both platforms. --- recipe/meta.yaml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/recipe/meta.yaml b/recipe/meta.yaml index c6976fc..3b12262 100644 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -29,10 +29,11 @@ build: # 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] @@ -86,7 +87,7 @@ about: license: LicenseRef-nvCOMP-Software-License-Agreement AND LicenseRef-NVIDIA-End-User-License-Agreement license_file: - - 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" From 71c0781edfde2c80a7cbb7a3994c0e99f1402e24 Mon Sep 17 00:00:00 2001 From: jakirkham Date: Tue, 13 Jun 2023 00:55:33 -0700 Subject: [PATCH 3/3] Bump `build/number` to `1` Rebuild with the license file name fixes for Windows. --- recipe/meta.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipe/meta.yaml b/recipe/meta.yaml index 3b12262..f29f52c 100644 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -24,7 +24,7 @@ source: 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")]