From 098c3c776ce0752d20998576edefc09f9a30d03c Mon Sep 17 00:00:00 2001 From: "conda-forge-webservices[bot]" <121827174+conda-forge-webservices[bot]@users.noreply.github.com> Date: Fri, 2 Aug 2024 20:09:40 +0000 Subject: [PATCH 1/9] dummy commit for rerendering --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index de8b8b2..9f8f450 100644 --- a/README.md +++ b/README.md @@ -184,3 +184,6 @@ Feedstock Maintainers * [@conda-forge/cuda](https://github.com/orgs/conda-forge/teams/cuda/) + + + From b1df73807bb09050f10d1f3df6ee4b88e350a260 Mon Sep 17 00:00:00 2001 From: jakirkham Date: Fri, 2 Aug 2024 13:13:21 -0700 Subject: [PATCH 2/9] Add empty `platform` for `osx` --- recipe/meta.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/recipe/meta.yaml b/recipe/meta.yaml index 3350f93..2321eab 100644 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -1,6 +1,7 @@ {% set name = "cuda-nvdisasm" %} {% set version = "12.6.20" %} {% set cuda_version = "12.6" %} +{% set platform = "" %} # [osx] {% set platform = "linux-x86_64" %} # [linux64] {% set platform = "linux-ppc64le" %} # [ppc64le] {% set platform = "linux-sbsa" %} # [aarch64] From a6e6501d22457097f2568097b3c27683bc21cf33 Mon Sep 17 00:00:00 2001 From: "conda-forge-webservices[bot]" <91080706+conda-forge-webservices[bot]@users.noreply.github.com> Date: Fri, 2 Aug 2024 20:15:00 +0000 Subject: [PATCH 3/9] MNT: Re-rendered with conda-build 24.7.1, conda-smithy 3.37.2, and conda-forge-pinning 2024.08.02.18.26.35 --- README.md | 3 --- 1 file changed, 3 deletions(-) diff --git a/README.md b/README.md index 9f8f450..de8b8b2 100644 --- a/README.md +++ b/README.md @@ -184,6 +184,3 @@ Feedstock Maintainers * [@conda-forge/cuda](https://github.com/orgs/conda-forge/teams/cuda/) - - - From 42c430c845b8fcae5682306f1962d5a5b10a5a22 Mon Sep 17 00:00:00 2001 From: jakirkham Date: Fri, 2 Aug 2024 13:16:41 -0700 Subject: [PATCH 4/9] Set `platform` fallback value --- recipe/meta.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipe/meta.yaml b/recipe/meta.yaml index 2321eab..6bb827f 100644 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -1,11 +1,11 @@ {% set name = "cuda-nvdisasm" %} {% set version = "12.6.20" %} {% set cuda_version = "12.6" %} -{% set platform = "" %} # [osx] {% set platform = "linux-x86_64" %} # [linux64] {% set platform = "linux-ppc64le" %} # [ppc64le] {% set platform = "linux-sbsa" %} # [aarch64] {% set platform = "windows-x86_64" %} # [win] +{% set platform = platform|default("") %} {% set extension = "tar.xz" %} # [not win] {% set extension = "zip" %} # [win] From e43319164282328832b548316df35038548eea76 Mon Sep 17 00:00:00 2001 From: jakirkham Date: Fri, 2 Aug 2024 20:51:34 -0700 Subject: [PATCH 5/9] Revert "Set `platform` fallback value" This reverts commit 42c430c845b8fcae5682306f1962d5a5b10a5a22. --- recipe/meta.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipe/meta.yaml b/recipe/meta.yaml index 6bb827f..2321eab 100644 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -1,11 +1,11 @@ {% set name = "cuda-nvdisasm" %} {% set version = "12.6.20" %} {% set cuda_version = "12.6" %} +{% set platform = "" %} # [osx] {% set platform = "linux-x86_64" %} # [linux64] {% set platform = "linux-ppc64le" %} # [ppc64le] {% set platform = "linux-sbsa" %} # [aarch64] {% set platform = "windows-x86_64" %} # [win] -{% set platform = platform|default("") %} {% set extension = "tar.xz" %} # [not win] {% set extension = "zip" %} # [win] From 086d6f26bad5cdcefd2c8072d9b1c1b5c773d3bb Mon Sep 17 00:00:00 2001 From: jakirkham Date: Fri, 2 Aug 2024 20:52:29 -0700 Subject: [PATCH 6/9] Limit URL to cases where `platform` is defined --- recipe/meta.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipe/meta.yaml b/recipe/meta.yaml index 2321eab..c0864b0 100644 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -14,7 +14,7 @@ package: version: {{ version }} source: - url: https://developer.download.nvidia.com/compute/cuda/redist/cuda_nvdisasm/{{ platform }}/cuda_nvdisasm-{{ platform }}-{{ version }}-archive.{{ extension }} + url: https://developer.download.nvidia.com/compute/cuda/redist/cuda_nvdisasm/{{ platform }}/cuda_nvdisasm-{{ platform }}-{{ version }}-archive.{{ extension }} # [linux64 or ppc64le or aarch64 or win] sha256: ba60cc8c9cfabb399b70aa49ee3428f7c489330b0aa7c8616121651e56dacc3e # [linux64] sha256: 7ed318e59165e4d838df65618042b139f7743b80c22f3f28764287732503f52b # [aarch64] sha256: 9ac787efbcd20c4c871038ee5ca1c0757139990b25ea90d368aa9c1759952be6 # [win] From 9298d7cc7dca8182369c23057b4416a924da0ce8 Mon Sep 17 00:00:00 2001 From: jakirkham Date: Fri, 2 Aug 2024 21:00:48 -0700 Subject: [PATCH 7/9] Revert "Add empty `platform` for `osx`" This reverts commit b1df73807bb09050f10d1f3df6ee4b88e350a260. --- recipe/meta.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/recipe/meta.yaml b/recipe/meta.yaml index c0864b0..9ee8a4b 100644 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -1,7 +1,6 @@ {% set name = "cuda-nvdisasm" %} {% set version = "12.6.20" %} {% set cuda_version = "12.6" %} -{% set platform = "" %} # [osx] {% set platform = "linux-x86_64" %} # [linux64] {% set platform = "linux-ppc64le" %} # [ppc64le] {% set platform = "linux-sbsa" %} # [aarch64] From c8d666131a96f014c90acacf8d17c3696f113aa9 Mon Sep 17 00:00:00 2001 From: jakirkham Date: Tue, 24 Sep 2024 13:42:56 -0700 Subject: [PATCH 8/9] Drop `url` selectors --- recipe/meta.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipe/meta.yaml b/recipe/meta.yaml index 9ee8a4b..3350f93 100644 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -13,7 +13,7 @@ package: version: {{ version }} source: - url: https://developer.download.nvidia.com/compute/cuda/redist/cuda_nvdisasm/{{ platform }}/cuda_nvdisasm-{{ platform }}-{{ version }}-archive.{{ extension }} # [linux64 or ppc64le or aarch64 or win] + url: https://developer.download.nvidia.com/compute/cuda/redist/cuda_nvdisasm/{{ platform }}/cuda_nvdisasm-{{ platform }}-{{ version }}-archive.{{ extension }} sha256: ba60cc8c9cfabb399b70aa49ee3428f7c489330b0aa7c8616121651e56dacc3e # [linux64] sha256: 7ed318e59165e4d838df65618042b139f7743b80c22f3f28764287732503f52b # [aarch64] sha256: 9ac787efbcd20c4c871038ee5ca1c0757139990b25ea90d368aa9c1759952be6 # [win] From d7bdd4600f25494d85ca4a53d0f44d95c39b622f Mon Sep 17 00:00:00 2001 From: "conda-forge-webservices[bot]" <91080706+conda-forge-webservices[bot]@users.noreply.github.com> Date: Tue, 24 Sep 2024 20:45:16 +0000 Subject: [PATCH 9/9] MNT: Re-rendered with conda-build 24.9.0, conda-smithy 3.40.1, and conda-forge-pinning 2024.09.24.05.02.56 --- .ci_support/linux_64_.yaml | 6 ++++-- .ci_support/linux_aarch64_.yaml | 6 ++++-- .scripts/build_steps.sh | 2 ++ .scripts/run_win_build.bat | 4 ++-- build-locally.py | 5 ++++- 5 files changed, 16 insertions(+), 7 deletions(-) diff --git a/.ci_support/linux_64_.yaml b/.ci_support/linux_64_.yaml index 290ee2a..3520cde 100644 --- a/.ci_support/linux_64_.yaml +++ b/.ci_support/linux_64_.yaml @@ -1,7 +1,7 @@ c_compiler: - gcc c_compiler_version: -- '12' +- '13' c_stdlib: - sysroot c_stdlib_version: @@ -15,11 +15,13 @@ channel_targets: cxx_compiler: - gxx cxx_compiler_version: -- '12' +- '13' docker_image: - quay.io/condaforge/linux-anvil-cos7-x86_64 target_platform: - linux-64 +xz: +- '5' zip_keys: - - c_compiler_version - cxx_compiler_version diff --git a/.ci_support/linux_aarch64_.yaml b/.ci_support/linux_aarch64_.yaml index b72a291..b0b4807 100644 --- a/.ci_support/linux_aarch64_.yaml +++ b/.ci_support/linux_aarch64_.yaml @@ -5,7 +5,7 @@ arm_variant_type: c_compiler: - gcc c_compiler_version: -- '12' +- '13' c_stdlib: - sysroot c_stdlib_version: @@ -21,11 +21,13 @@ channel_targets: cxx_compiler: - gxx cxx_compiler_version: -- '12' +- '13' docker_image: - quay.io/condaforge/linux-anvil-cos7-x86_64 target_platform: - linux-aarch64 +xz: +- '5' zip_keys: - - c_compiler_version - cxx_compiler_version diff --git a/.scripts/build_steps.sh b/.scripts/build_steps.sh index 6c805a9..af0b9ac 100755 --- a/.scripts/build_steps.sh +++ b/.scripts/build_steps.sh @@ -43,6 +43,8 @@ setup_conda_rc "${FEEDSTOCK_ROOT}" "${RECIPE_ROOT}" "${CONFIG_FILE}" source run_conda_forge_build_setup + + # make the build number clobber make_build_number "${FEEDSTOCK_ROOT}" "${RECIPE_ROOT}" "${CONFIG_FILE}" diff --git a/.scripts/run_win_build.bat b/.scripts/run_win_build.bat index 24ef201..33f3277 100755 --- a/.scripts/run_win_build.bat +++ b/.scripts/run_win_build.bat @@ -24,7 +24,7 @@ set "CONDA_LIBMAMBA_SOLVER_NO_CHANNELS_FROM_INSTALLED=1" :: Provision the necessary dependencies to build the recipe later echo Installing dependencies -mamba.exe install "python=3.10" pip mamba conda-build conda-forge-ci-setup=4 "conda-build>=24.1" -c conda-forge --strict-channel-priority --yes +mamba.exe install pip mamba conda-build conda-forge-ci-setup=4 "conda-build>=24.1" -c conda-forge --strict-channel-priority --yes if !errorlevel! neq 0 exit /b !errorlevel! :: Set basic configuration @@ -43,7 +43,7 @@ if EXIST LICENSE.txt ( ) if NOT [%flow_run_id%] == [] ( - set "EXTRA_CB_OPTIONS=%EXTRA_CB_OPTIONS% --extra-meta flow_run_id=%flow_run_id% remote_url=%remote_url% sha=%sha%" + set "EXTRA_CB_OPTIONS=%EXTRA_CB_OPTIONS% --extra-meta flow_run_id=%flow_run_id% remote_url=%remote_url% sha=%sha%" ) call :end_group diff --git a/build-locally.py b/build-locally.py index d78427b..6788aea 100755 --- a/build-locally.py +++ b/build-locally.py @@ -1,8 +1,11 @@ -#!/usr/bin/env python3 +#!/bin/sh +"""exec" "python3" "$0" "$@" #""" # fmt: off # fmt: on # # This file has been generated by conda-smithy in order to build the recipe # locally. # +# The line above this comment is a bash / sh / zsh guard +# to stop people from running it with the wrong interpreter import glob import os import platform