diff --git a/.azure-pipelines/azure-pipelines-linux.yml b/.azure-pipelines/azure-pipelines-linux.yml index b9e5faa..8ce9e03 100755 --- a/.azure-pipelines/azure-pipelines-linux.yml +++ b/.azure-pipelines/azure-pipelines-linux.yml @@ -8,26 +8,26 @@ jobs: vmImage: ubuntu-latest strategy: matrix: - linux_64_centos_machineaarch64cross_target_platformlinux-aarch64: - CONFIG: linux_64_centos_machineaarch64cross_target_platformlinux-aarch64 + linux_64_centos_machineaarch64cross_target_platformlinux-aarch64target_machineaarch64: + CONFIG: linux_64_centos_machineaarch64cross_target_platformlinux-aarch64target_machineaarch64 UPLOAD_PACKAGES: 'True' DOCKER_IMAGE: quay.io/condaforge/linux-anvil-cos7-x86_64 - SHORT_CONFIG: linux_64_centos_machineaarch64cross_h42cd5a1aaa - linux_64_centos_machineppc64lecross_target_platformlinux-ppc64le: - CONFIG: linux_64_centos_machineppc64lecross_target_platformlinux-ppc64le + SHORT_CONFIG: linux_64_centos_machineaarch64cross_ha557b6b8ca + linux_64_centos_machineppc64lecross_target_platformlinux-ppc64letarget_machinepowerpc64le: + CONFIG: linux_64_centos_machineppc64lecross_target_platformlinux-ppc64letarget_machinepowerpc64le UPLOAD_PACKAGES: 'True' DOCKER_IMAGE: quay.io/condaforge/linux-anvil-cos7-x86_64 - SHORT_CONFIG: linux_64_centos_machineppc64lecross_hfa97094d6c - linux_64_centos_machines390xcross_target_platformlinux-s390x: - CONFIG: linux_64_centos_machines390xcross_target_platformlinux-s390x + SHORT_CONFIG: linux_64_centos_machineppc64lecross_hd1a5626936 + linux_64_centos_machines390xcross_target_platformlinux-s390xtarget_machines390x: + CONFIG: linux_64_centos_machines390xcross_target_platformlinux-s390xtarget_machines390x UPLOAD_PACKAGES: 'True' DOCKER_IMAGE: quay.io/condaforge/linux-anvil-cos7-x86_64 - SHORT_CONFIG: linux_64_centos_machines390xcross_t_h02fee49e4a - linux_64_centos_machinex86_64cross_target_platformlinux-64: - CONFIG: linux_64_centos_machinex86_64cross_target_platformlinux-64 + SHORT_CONFIG: linux_64_centos_machines390xcross_t_h54b16e437c + linux_64_centos_machinex86_64cross_target_platformlinux-64target_machinex86_64: + CONFIG: linux_64_centos_machinex86_64cross_target_platformlinux-64target_machinex86_64 UPLOAD_PACKAGES: 'True' DOCKER_IMAGE: quay.io/condaforge/linux-anvil-cos7-x86_64 - SHORT_CONFIG: linux_64_centos_machinex86_64cross__h905dacb5d0 + SHORT_CONFIG: linux_64_centos_machinex86_64cross__h77f479448c timeoutInMinutes: 360 variables: {} diff --git a/.ci_support/linux_64_centos_machineaarch64cross_target_platformlinux-aarch64.yaml b/.ci_support/linux_64_centos_machineaarch64cross_target_platformlinux-aarch64target_machineaarch64.yaml similarity index 98% rename from .ci_support/linux_64_centos_machineaarch64cross_target_platformlinux-aarch64.yaml rename to .ci_support/linux_64_centos_machineaarch64cross_target_platformlinux-aarch64target_machineaarch64.yaml index 5a492ff..558768e 100644 --- a/.ci_support/linux_64_centos_machineaarch64cross_target_platformlinux-aarch64.yaml +++ b/.ci_support/linux_64_centos_machineaarch64cross_target_platformlinux-aarch64target_machineaarch64.yaml @@ -1,5 +1,5 @@ cdt_name: -- cos6 +- cos7 centos_machine: - aarch64 channel_sources: diff --git a/.ci_support/linux_64_centos_machineppc64lecross_target_platformlinux-ppc64le.yaml b/.ci_support/linux_64_centos_machineppc64lecross_target_platformlinux-ppc64letarget_machinepowerpc64le.yaml similarity index 98% rename from .ci_support/linux_64_centos_machineppc64lecross_target_platformlinux-ppc64le.yaml rename to .ci_support/linux_64_centos_machineppc64lecross_target_platformlinux-ppc64letarget_machinepowerpc64le.yaml index e883ee6..1a3ef4b 100644 --- a/.ci_support/linux_64_centos_machineppc64lecross_target_platformlinux-ppc64le.yaml +++ b/.ci_support/linux_64_centos_machineppc64lecross_target_platformlinux-ppc64letarget_machinepowerpc64le.yaml @@ -1,5 +1,5 @@ cdt_name: -- cos6 +- cos7 centos_machine: - ppc64le channel_sources: diff --git a/.ci_support/linux_64_centos_machines390xcross_target_platformlinux-s390x.yaml b/.ci_support/linux_64_centos_machines390xcross_target_platformlinux-s390xtarget_machines390x.yaml similarity index 98% rename from .ci_support/linux_64_centos_machines390xcross_target_platformlinux-s390x.yaml rename to .ci_support/linux_64_centos_machines390xcross_target_platformlinux-s390xtarget_machines390x.yaml index 5326623..bd13f59 100644 --- a/.ci_support/linux_64_centos_machines390xcross_target_platformlinux-s390x.yaml +++ b/.ci_support/linux_64_centos_machines390xcross_target_platformlinux-s390xtarget_machines390x.yaml @@ -1,5 +1,5 @@ cdt_name: -- cos6 +- cos7 centos_machine: - s390x channel_sources: diff --git a/.ci_support/linux_64_centos_machinex86_64cross_target_platformlinux-64.yaml b/.ci_support/linux_64_centos_machinex86_64cross_target_platformlinux-64target_machinex86_64.yaml similarity index 98% rename from .ci_support/linux_64_centos_machinex86_64cross_target_platformlinux-64.yaml rename to .ci_support/linux_64_centos_machinex86_64cross_target_platformlinux-64target_machinex86_64.yaml index a6f8b75..c73e3db 100644 --- a/.ci_support/linux_64_centos_machinex86_64cross_target_platformlinux-64.yaml +++ b/.ci_support/linux_64_centos_machinex86_64cross_target_platformlinux-64target_machinex86_64.yaml @@ -1,5 +1,5 @@ cdt_name: -- cos6 +- cos7 centos_machine: - x86_64 channel_sources: diff --git a/.gitattributes b/.gitattributes index 7f32763..18f114a 100644 --- a/.gitattributes +++ b/.gitattributes @@ -20,8 +20,8 @@ bld.bat text eol=crlf .travis.yml linguist-generated=true .scripts/* linguist-generated=true .woodpecker.yml linguist-generated=true -LICENSE.txt linguist-generated=true -README.md linguist-generated=true +/LICENSE.txt linguist-generated=true +/README.md linguist-generated=true azure-pipelines.yml linguist-generated=true build-locally.py linguist-generated=true shippable.yml linguist-generated=true diff --git a/.scripts/build_steps.sh b/.scripts/build_steps.sh index 2f3df6c..6c805a9 100755 --- a/.scripts/build_steps.sh +++ b/.scripts/build_steps.sh @@ -69,6 +69,12 @@ else --suppress-variables ${EXTRA_CB_OPTIONS:-} \ --clobber-file "${CI_SUPPORT}/clobber_${CONFIG}.yaml" \ --extra-meta flow_run_id="${flow_run_id:-}" remote_url="${remote_url:-}" sha="${sha:-}" + ( startgroup "Inspecting artifacts" ) 2> /dev/null + + # inspect_artifacts was only added in conda-forge-ci-setup 4.6.0 + command -v inspect_artifacts >/dev/null 2>&1 && inspect_artifacts || echo "inspect_artifacts needs conda-forge-ci-setup >=4.6.0" + + ( endgroup "Inspecting artifacts" ) 2> /dev/null ( startgroup "Validating outputs" ) 2> /dev/null validate_recipe_outputs "${FEEDSTOCK_NAME}" diff --git a/README.md b/README.md index 552a847..d34f6ac 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ About linux-sysroot-feedstock Feedstock license: [BSD-3-Clause](https://github.com/conda-forge/linux-sysroot-feedstock/blob/main/LICENSE.txt) -Home: http://sources.redhat.com/glibc/ +Home: https://repo.almalinux.org/vault/8.7 Package license: LGPL-2.0-or-later AND LGPL-2.0-or-later WITH exceptions AND GPL-2.0-or-later AND MPL-2.0 @@ -40,10 +40,6 @@ Current release info | Name | Downloads | Version | Platforms | | --- | --- | --- | --- | -| [![Conda Recipe](https://img.shields.io/badge/recipe-_sysroot_linux--64_curr_repodata_hack-green.svg)](https://anaconda.org/conda-forge/_sysroot_linux-64_curr_repodata_hack) | [![Conda Downloads](https://img.shields.io/conda/dn/conda-forge/_sysroot_linux-64_curr_repodata_hack.svg)](https://anaconda.org/conda-forge/_sysroot_linux-64_curr_repodata_hack) | [![Conda Version](https://img.shields.io/conda/vn/conda-forge/_sysroot_linux-64_curr_repodata_hack.svg)](https://anaconda.org/conda-forge/_sysroot_linux-64_curr_repodata_hack) | [![Conda Platforms](https://img.shields.io/conda/pn/conda-forge/_sysroot_linux-64_curr_repodata_hack.svg)](https://anaconda.org/conda-forge/_sysroot_linux-64_curr_repodata_hack) | -| [![Conda Recipe](https://img.shields.io/badge/recipe-_sysroot_linux--aarch64_curr_repodata_hack-green.svg)](https://anaconda.org/conda-forge/_sysroot_linux-aarch64_curr_repodata_hack) | [![Conda Downloads](https://img.shields.io/conda/dn/conda-forge/_sysroot_linux-aarch64_curr_repodata_hack.svg)](https://anaconda.org/conda-forge/_sysroot_linux-aarch64_curr_repodata_hack) | [![Conda Version](https://img.shields.io/conda/vn/conda-forge/_sysroot_linux-aarch64_curr_repodata_hack.svg)](https://anaconda.org/conda-forge/_sysroot_linux-aarch64_curr_repodata_hack) | [![Conda Platforms](https://img.shields.io/conda/pn/conda-forge/_sysroot_linux-aarch64_curr_repodata_hack.svg)](https://anaconda.org/conda-forge/_sysroot_linux-aarch64_curr_repodata_hack) | -| [![Conda Recipe](https://img.shields.io/badge/recipe-_sysroot_linux--ppc64le_curr_repodata_hack-green.svg)](https://anaconda.org/conda-forge/_sysroot_linux-ppc64le_curr_repodata_hack) | [![Conda Downloads](https://img.shields.io/conda/dn/conda-forge/_sysroot_linux-ppc64le_curr_repodata_hack.svg)](https://anaconda.org/conda-forge/_sysroot_linux-ppc64le_curr_repodata_hack) | [![Conda Version](https://img.shields.io/conda/vn/conda-forge/_sysroot_linux-ppc64le_curr_repodata_hack.svg)](https://anaconda.org/conda-forge/_sysroot_linux-ppc64le_curr_repodata_hack) | [![Conda Platforms](https://img.shields.io/conda/pn/conda-forge/_sysroot_linux-ppc64le_curr_repodata_hack.svg)](https://anaconda.org/conda-forge/_sysroot_linux-ppc64le_curr_repodata_hack) | -| [![Conda Recipe](https://img.shields.io/badge/recipe-_sysroot_linux--s390x_curr_repodata_hack-green.svg)](https://anaconda.org/conda-forge/_sysroot_linux-s390x_curr_repodata_hack) | [![Conda Downloads](https://img.shields.io/conda/dn/conda-forge/_sysroot_linux-s390x_curr_repodata_hack.svg)](https://anaconda.org/conda-forge/_sysroot_linux-s390x_curr_repodata_hack) | [![Conda Version](https://img.shields.io/conda/vn/conda-forge/_sysroot_linux-s390x_curr_repodata_hack.svg)](https://anaconda.org/conda-forge/_sysroot_linux-s390x_curr_repodata_hack) | [![Conda Platforms](https://img.shields.io/conda/pn/conda-forge/_sysroot_linux-s390x_curr_repodata_hack.svg)](https://anaconda.org/conda-forge/_sysroot_linux-s390x_curr_repodata_hack) | | [![Conda Recipe](https://img.shields.io/badge/recipe-kernel--headers_linux--64-green.svg)](https://anaconda.org/conda-forge/kernel-headers_linux-64) | [![Conda Downloads](https://img.shields.io/conda/dn/conda-forge/kernel-headers_linux-64.svg)](https://anaconda.org/conda-forge/kernel-headers_linux-64) | [![Conda Version](https://img.shields.io/conda/vn/conda-forge/kernel-headers_linux-64.svg)](https://anaconda.org/conda-forge/kernel-headers_linux-64) | [![Conda Platforms](https://img.shields.io/conda/pn/conda-forge/kernel-headers_linux-64.svg)](https://anaconda.org/conda-forge/kernel-headers_linux-64) | | [![Conda Recipe](https://img.shields.io/badge/recipe-kernel--headers_linux--aarch64-green.svg)](https://anaconda.org/conda-forge/kernel-headers_linux-aarch64) | [![Conda Downloads](https://img.shields.io/conda/dn/conda-forge/kernel-headers_linux-aarch64.svg)](https://anaconda.org/conda-forge/kernel-headers_linux-aarch64) | [![Conda Version](https://img.shields.io/conda/vn/conda-forge/kernel-headers_linux-aarch64.svg)](https://anaconda.org/conda-forge/kernel-headers_linux-aarch64) | [![Conda Platforms](https://img.shields.io/conda/pn/conda-forge/kernel-headers_linux-aarch64.svg)](https://anaconda.org/conda-forge/kernel-headers_linux-aarch64) | | [![Conda Recipe](https://img.shields.io/badge/recipe-kernel--headers_linux--ppc64le-green.svg)](https://anaconda.org/conda-forge/kernel-headers_linux-ppc64le) | [![Conda Downloads](https://img.shields.io/conda/dn/conda-forge/kernel-headers_linux-ppc64le.svg)](https://anaconda.org/conda-forge/kernel-headers_linux-ppc64le) | [![Conda Version](https://img.shields.io/conda/vn/conda-forge/kernel-headers_linux-ppc64le.svg)](https://anaconda.org/conda-forge/kernel-headers_linux-ppc64le) | [![Conda Platforms](https://img.shields.io/conda/pn/conda-forge/kernel-headers_linux-ppc64le.svg)](https://anaconda.org/conda-forge/kernel-headers_linux-ppc64le) | @@ -67,41 +63,41 @@ conda config --add channels conda-forge conda config --set channel_priority strict ``` -Once the `conda-forge` channel has been enabled, `_sysroot_linux-64_curr_repodata_hack, _sysroot_linux-aarch64_curr_repodata_hack, _sysroot_linux-ppc64le_curr_repodata_hack, _sysroot_linux-s390x_curr_repodata_hack, kernel-headers_linux-64, kernel-headers_linux-aarch64, kernel-headers_linux-ppc64le, kernel-headers_linux-s390x, sysroot-conda_2_28-aarch64, sysroot-conda_2_28-ppc64le, sysroot-conda_2_28-s390x, sysroot-conda_2_28-x86_64, sysroot_linux-64, sysroot_linux-aarch64, sysroot_linux-ppc64le, sysroot_linux-s390x` can be installed with `conda`: +Once the `conda-forge` channel has been enabled, `kernel-headers_linux-64, kernel-headers_linux-aarch64, kernel-headers_linux-ppc64le, kernel-headers_linux-s390x, sysroot-conda_2_28-aarch64, sysroot-conda_2_28-ppc64le, sysroot-conda_2_28-s390x, sysroot-conda_2_28-x86_64, sysroot_linux-64, sysroot_linux-aarch64, sysroot_linux-ppc64le, sysroot_linux-s390x` can be installed with `conda`: ``` -conda install _sysroot_linux-64_curr_repodata_hack _sysroot_linux-aarch64_curr_repodata_hack _sysroot_linux-ppc64le_curr_repodata_hack _sysroot_linux-s390x_curr_repodata_hack kernel-headers_linux-64 kernel-headers_linux-aarch64 kernel-headers_linux-ppc64le kernel-headers_linux-s390x sysroot-conda_2_28-aarch64 sysroot-conda_2_28-ppc64le sysroot-conda_2_28-s390x sysroot-conda_2_28-x86_64 sysroot_linux-64 sysroot_linux-aarch64 sysroot_linux-ppc64le sysroot_linux-s390x +conda install kernel-headers_linux-64 kernel-headers_linux-aarch64 kernel-headers_linux-ppc64le kernel-headers_linux-s390x sysroot-conda_2_28-aarch64 sysroot-conda_2_28-ppc64le sysroot-conda_2_28-s390x sysroot-conda_2_28-x86_64 sysroot_linux-64 sysroot_linux-aarch64 sysroot_linux-ppc64le sysroot_linux-s390x ``` or with `mamba`: ``` -mamba install _sysroot_linux-64_curr_repodata_hack _sysroot_linux-aarch64_curr_repodata_hack _sysroot_linux-ppc64le_curr_repodata_hack _sysroot_linux-s390x_curr_repodata_hack kernel-headers_linux-64 kernel-headers_linux-aarch64 kernel-headers_linux-ppc64le kernel-headers_linux-s390x sysroot-conda_2_28-aarch64 sysroot-conda_2_28-ppc64le sysroot-conda_2_28-s390x sysroot-conda_2_28-x86_64 sysroot_linux-64 sysroot_linux-aarch64 sysroot_linux-ppc64le sysroot_linux-s390x +mamba install kernel-headers_linux-64 kernel-headers_linux-aarch64 kernel-headers_linux-ppc64le kernel-headers_linux-s390x sysroot-conda_2_28-aarch64 sysroot-conda_2_28-ppc64le sysroot-conda_2_28-s390x sysroot-conda_2_28-x86_64 sysroot_linux-64 sysroot_linux-aarch64 sysroot_linux-ppc64le sysroot_linux-s390x ``` -It is possible to list all of the versions of `_sysroot_linux-64_curr_repodata_hack` available on your platform with `conda`: +It is possible to list all of the versions of `kernel-headers_linux-64` available on your platform with `conda`: ``` -conda search _sysroot_linux-64_curr_repodata_hack --channel conda-forge +conda search kernel-headers_linux-64 --channel conda-forge ``` or with `mamba`: ``` -mamba search _sysroot_linux-64_curr_repodata_hack --channel conda-forge +mamba search kernel-headers_linux-64 --channel conda-forge ``` Alternatively, `mamba repoquery` may provide more information: ``` # Search all versions available on your platform: -mamba repoquery search _sysroot_linux-64_curr_repodata_hack --channel conda-forge +mamba repoquery search kernel-headers_linux-64 --channel conda-forge -# List packages depending on `_sysroot_linux-64_curr_repodata_hack`: -mamba repoquery whoneeds _sysroot_linux-64_curr_repodata_hack --channel conda-forge +# List packages depending on `kernel-headers_linux-64`: +mamba repoquery whoneeds kernel-headers_linux-64 --channel conda-forge -# List dependencies of `_sysroot_linux-64_curr_repodata_hack`: -mamba repoquery depends _sysroot_linux-64_curr_repodata_hack --channel conda-forge +# List dependencies of `kernel-headers_linux-64`: +mamba repoquery depends kernel-headers_linux-64 --channel conda-forge ``` diff --git a/build-locally.py b/build-locally.py index e0d408d..8ac9b84 100755 --- a/build-locally.py +++ b/build-locally.py @@ -1,13 +1,16 @@ -#!/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. # -import os +# 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 import subprocess from argparse import ArgumentParser -import platform def setup_environment(ns):