diff --git a/.azure-pipelines/azure-pipelines-linux.yml b/.azure-pipelines/azure-pipelines-linux.yml index c822fd4..6562d44 100755 --- a/.azure-pipelines/azure-pipelines-linux.yml +++ b/.azure-pipelines/azure-pipelines-linux.yml @@ -11,15 +11,15 @@ jobs: linux_64_: CONFIG: linux_64_ UPLOAD_PACKAGES: 'True' - DOCKER_IMAGE: quay.io/condaforge/linux-anvil-cos7-x86_64 + DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9 linux_aarch64_: CONFIG: linux_aarch64_ UPLOAD_PACKAGES: 'True' - DOCKER_IMAGE: quay.io/condaforge/linux-anvil-cos7-x86_64 + DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9 linux_ppc64le_: CONFIG: linux_ppc64le_ UPLOAD_PACKAGES: 'True' - DOCKER_IMAGE: quay.io/condaforge/linux-anvil-ppc64le + DOCKER_IMAGE: quay.io/condaforge/linux-anvil-ppc64le:alma9 timeoutInMinutes: 360 variables: {} diff --git a/.ci_support/linux_64_.yaml b/.ci_support/linux_64_.yaml index 5cd9d38..2401b22 100644 --- a/.ci_support/linux_64_.yaml +++ b/.ci_support/linux_64_.yaml @@ -17,7 +17,7 @@ cxx_compiler: cxx_compiler_version: - '13' docker_image: -- quay.io/condaforge/linux-anvil-cos7-x86_64 +- quay.io/condaforge/linux-anvil-x86_64:alma9 fortran_compiler: - gfortran fortran_compiler_version: @@ -36,8 +36,6 @@ mpfr: - '4' target_platform: - linux-64 -tbb_devel: -- '2021' zip_keys: - - c_compiler_version - cxx_compiler_version diff --git a/.ci_support/linux_aarch64_.yaml b/.ci_support/linux_aarch64_.yaml index d795241..2347d06 100644 --- a/.ci_support/linux_aarch64_.yaml +++ b/.ci_support/linux_aarch64_.yaml @@ -21,7 +21,7 @@ cxx_compiler: cxx_compiler_version: - '13' docker_image: -- quay.io/condaforge/linux-anvil-cos7-x86_64 +- quay.io/condaforge/linux-anvil-x86_64:alma9 fortran_compiler: - gfortran fortran_compiler_version: @@ -40,8 +40,6 @@ mpfr: - '4' target_platform: - linux-aarch64 -tbb_devel: -- '2021' zip_keys: - - c_compiler_version - cxx_compiler_version diff --git a/.ci_support/linux_ppc64le_.yaml b/.ci_support/linux_ppc64le_.yaml index 9d6c451..4ee18ff 100644 --- a/.ci_support/linux_ppc64le_.yaml +++ b/.ci_support/linux_ppc64le_.yaml @@ -17,7 +17,7 @@ cxx_compiler: cxx_compiler_version: - '13' docker_image: -- quay.io/condaforge/linux-anvil-ppc64le +- quay.io/condaforge/linux-anvil-ppc64le:alma9 fortran_compiler: - gfortran fortran_compiler_version: @@ -36,8 +36,6 @@ mpfr: - '4' target_platform: - linux-ppc64le -tbb_devel: -- '2021' zip_keys: - - c_compiler_version - cxx_compiler_version diff --git a/.ci_support/osx_64_.yaml b/.ci_support/osx_64_.yaml index 51181f8..b9921d3 100644 --- a/.ci_support/osx_64_.yaml +++ b/.ci_support/osx_64_.yaml @@ -40,8 +40,6 @@ mpfr: - '4' target_platform: - osx-64 -tbb_devel: -- '2021' zip_keys: - - c_compiler_version - cxx_compiler_version diff --git a/.ci_support/osx_arm64_.yaml b/.ci_support/osx_arm64_.yaml index 245221a..1002c9a 100644 --- a/.ci_support/osx_arm64_.yaml +++ b/.ci_support/osx_arm64_.yaml @@ -40,8 +40,6 @@ mpfr: - '4' target_platform: - osx-arm64 -tbb_devel: -- '2021' zip_keys: - - c_compiler_version - cxx_compiler_version diff --git a/.ci_support/win_64_.yaml b/.ci_support/win_64_.yaml index 661a6f4..defebad 100644 --- a/.ci_support/win_64_.yaml +++ b/.ci_support/win_64_.yaml @@ -22,5 +22,3 @@ metis: - 5.1.0 target_platform: - win-64 -tbb_devel: -- '2021' diff --git a/.scripts/build_steps.sh b/.scripts/build_steps.sh index 827a29f..644cb03 100755 --- a/.scripts/build_steps.sh +++ b/.scripts/build_steps.sh @@ -35,7 +35,7 @@ mv /opt/conda/conda-meta/history /opt/conda/conda-meta/history.$(date +%Y-%m-%d- echo > /opt/conda/conda-meta/history micromamba install --root-prefix ~/.conda --prefix /opt/conda \ --yes --override-channels --channel conda-forge --strict-channel-priority \ - pip python=3.12 conda-build conda-forge-ci-setup=4 "conda-build>=24.1" + pip rattler-build conda-forge-ci-setup=4 "conda-build>=24.1" export CONDA_LIBMAMBA_SOLVER_NO_CHANNELS_FROM_INSTALLED=1 # set up the condarc @@ -60,20 +60,16 @@ if [[ -f "${FEEDSTOCK_ROOT}/LICENSE.txt" ]]; then fi if [[ "${BUILD_WITH_CONDA_DEBUG:-0}" == 1 ]]; then - if [[ "x${BUILD_OUTPUT_ID:-}" != "x" ]]; then - EXTRA_CB_OPTIONS="${EXTRA_CB_OPTIONS:-} --output-id ${BUILD_OUTPUT_ID}" - fi - conda debug "${RECIPE_ROOT}" -m "${CI_SUPPORT}/${CONFIG}.yaml" \ - ${EXTRA_CB_OPTIONS:-} \ - --clobber-file "${CI_SUPPORT}/clobber_${CONFIG}.yaml" - - # Drop into an interactive shell - /bin/bash + echo "rattler-build currently doesn't support debug mode" else - conda-build "${RECIPE_ROOT}" -m "${CI_SUPPORT}/${CONFIG}.yaml" \ - --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:-}" + + rattler-build build --recipe "${RECIPE_ROOT}" \ + -m "${CI_SUPPORT}/${CONFIG}.yaml" \ + ${EXTRA_CB_OPTIONS:-} \ + --target-platform "${HOST_PLATFORM}" \ + --extra-meta flow_run_id="${flow_run_id:-}" \ + --extra-meta remote_url="${remote_url:-}" \ + --extra-meta sha="${sha:-}" ( startgroup "Inspecting artifacts" ) 2> /dev/null # inspect_artifacts was only added in conda-forge-ci-setup 4.9.4 diff --git a/.scripts/run_osx_build.sh b/.scripts/run_osx_build.sh index 0b36498..0a0df18 100755 --- a/.scripts/run_osx_build.sh +++ b/.scripts/run_osx_build.sh @@ -25,7 +25,7 @@ chmod +x "${micromamba_exe}" echo "Creating environment" "${micromamba_exe}" create --yes --root-prefix "${MAMBA_ROOT_PREFIX}" --prefix "${MINIFORGE_HOME}" \ --channel conda-forge \ - pip python=3.12 conda-build conda-forge-ci-setup=4 "conda-build>=24.1" + pip rattler-build conda-forge-ci-setup=4 "conda-build>=24.1" echo "Moving pkgs cache from ${MAMBA_ROOT_PREFIX} to ${MINIFORGE_HOME}" mv "${MAMBA_ROOT_PREFIX}/pkgs" "${MINIFORGE_HOME}" echo "Cleaning up micromamba" @@ -69,33 +69,25 @@ source run_conda_forge_build_setup ( endgroup "Configuring conda" ) 2> /dev/null -echo -e "\n\nMaking the build clobber file" -make_build_number ./ ./recipe ./.ci_support/${CONFIG}.yaml - if [[ -f LICENSE.txt ]]; then cp LICENSE.txt "recipe/recipe-scripts-license.txt" fi if [[ "${BUILD_WITH_CONDA_DEBUG:-0}" == 1 ]]; then - if [[ "x${BUILD_OUTPUT_ID:-}" != "x" ]]; then - EXTRA_CB_OPTIONS="${EXTRA_CB_OPTIONS:-} --output-id ${BUILD_OUTPUT_ID}" - fi - conda debug ./recipe -m ./.ci_support/${CONFIG}.yaml \ - ${EXTRA_CB_OPTIONS:-} \ - --clobber-file ./.ci_support/clobber_${CONFIG}.yaml - - # Drop into an interactive shell - /bin/bash + echo "rattler-build does not currently support debug mode" else if [[ "${HOST_PLATFORM}" != "${BUILD_PLATFORM}" ]]; then EXTRA_CB_OPTIONS="${EXTRA_CB_OPTIONS:-} --no-test" fi - conda-build ./recipe -m ./.ci_support/${CONFIG}.yaml \ - --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" + rattler-build build --recipe ./recipe \ + -m ./.ci_support/${CONFIG}.yaml \ + --output-dir ${MINIFORGE_HOME}/conda-bld ${EXTRA_CB_OPTIONS:-} \ + --target-platform "${HOST_PLATFORM}" \ + --extra-meta flow_run_id="$flow_run_id" \ + --extra-meta remote_url="$remote_url" \ + --extra-meta sha="$sha" ( startgroup "Inspecting artifacts" ) 2> /dev/null diff --git a/.scripts/run_win_build.bat b/.scripts/run_win_build.bat index 3aaf80c..591ea08 100755 --- a/.scripts/run_win_build.bat +++ b/.scripts/run_win_build.bat @@ -31,7 +31,7 @@ if !errorlevel! neq 0 exit /b !errorlevel! echo Creating environment call "%MICROMAMBA_EXE%" create --yes --root-prefix "%MAMBA_ROOT_PREFIX%" --prefix "%MINIFORGE_HOME%" ^ --channel conda-forge ^ - pip python=3.12 conda-build conda-forge-ci-setup=4 "conda-build>=24.1" + pip rattler-build conda-forge-ci-setup=4 "conda-build>=24.1" if !errorlevel! neq 0 exit /b !errorlevel! echo Removing %MAMBA_ROOT_PREFIX% del /S /Q "%MAMBA_ROOT_PREFIX%" >nul @@ -68,14 +68,14 @@ if NOT [%HOST_PLATFORM%] == [%BUILD_PLATFORM%] ( ) 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% --extra-meta remote_url=%remote_url% --extra-meta sha=%sha%" ) call :end_group :: Build the recipe echo Building recipe -conda-build.exe "recipe" -m .ci_support\%CONFIG%.yaml --suppress-variables %EXTRA_CB_OPTIONS% +rattler-build.exe build --recipe "recipe" -m .ci_support\%CONFIG%.yaml %EXTRA_CB_OPTIONS% --target-platform %HOST_PLATFORM% if !errorlevel! neq 0 exit /b !errorlevel! call :start_group "Inspecting artifacts" diff --git a/README.md b/README.md index 08a5c28..ad67165 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,188 @@ -About suitesparse-feedstock -=========================== +About libsuitesparseconfig-feedstock +==================================== Feedstock license: [BSD-3-Clause](https://github.com/conda-forge/suitesparse-feedstock/blob/main/LICENSE.txt) + +About libsuitesparseconfig +-------------------------- + +Home: http://faculty.cse.tamu.edu/davis/suitesparse.html + +Package license: BSD-3-Clause + +Summary: A suite of sparse matrix algorithms + +Development: https://github.com/DrTimothyAldenDavis/SuiteSparse + +About libldl +------------ + +Home: http://faculty.cse.tamu.edu/davis/suitesparse.html + +Package license: LGPL-2.1-or-later + +Summary: A suite of sparse matrix algorithms + +Development: https://github.com/DrTimothyAldenDavis/SuiteSparse + +About libbtf +------------ + +Home: http://faculty.cse.tamu.edu/davis/suitesparse.html + +Package license: LGPL-2.1-or-later + +Summary: A suite of sparse matrix algorithms + +Development: https://github.com/DrTimothyAldenDavis/SuiteSparse + +About libamd +------------ + +Home: http://faculty.cse.tamu.edu/davis/suitesparse.html + +Package license: BSD-3-Clause + +Summary: A suite of sparse matrix algorithms + +Development: https://github.com/DrTimothyAldenDavis/SuiteSparse + +About libccolamd +---------------- + +Home: http://faculty.cse.tamu.edu/davis/suitesparse.html + +Package license: BSD-3-Clause + +Summary: A suite of sparse matrix algorithms + +Development: https://github.com/DrTimothyAldenDavis/SuiteSparse + +About libcamd +------------- + +Home: http://faculty.cse.tamu.edu/davis/suitesparse.html + +Package license: BSD-3-Clause + +Summary: A suite of sparse matrix algorithms + +Development: https://github.com/DrTimothyAldenDavis/SuiteSparse + +About librbio +------------- + +Home: http://faculty.cse.tamu.edu/davis/suitesparse.html + +Package license: GPL-2.0-or-later + +Summary: A suite of sparse matrix algorithms + +Development: https://github.com/DrTimothyAldenDavis/SuiteSparse + +About suitesparse-mongoose +-------------------------- + +Home: http://faculty.cse.tamu.edu/davis/suitesparse.html + +Package license: GPL-3.0-only + +Summary: A suite of sparse matrix algorithms + +Development: https://github.com/DrTimothyAldenDavis/SuiteSparse + +About libcolamd +--------------- + +Home: http://faculty.cse.tamu.edu/davis/suitesparse.html + +Package license: BSD-3-Clause + +Summary: A suite of sparse matrix algorithms + +Development: https://github.com/DrTimothyAldenDavis/SuiteSparse + +About libcholmod +---------------- + +Home: http://faculty.cse.tamu.edu/davis/suitesparse.html + +Package license: LGPL-2.1-or-later AND GPL-2.0-or-later AND Apache-2.0 + +Summary: A suite of sparse matrix algorithms + +Development: https://github.com/DrTimothyAldenDavis/SuiteSparse + +About libspqr +------------- + +Home: http://faculty.cse.tamu.edu/davis/suitesparse.html + +Package license: GPL-2.0-or-later + +Summary: A suite of sparse matrix algorithms + +Development: https://github.com/DrTimothyAldenDavis/SuiteSparse + +About libklu +------------ + +Home: http://faculty.cse.tamu.edu/davis/suitesparse.html + +Package license: LGPL-2.1-or-later + +Summary: A suite of sparse matrix algorithms + +Development: https://github.com/DrTimothyAldenDavis/SuiteSparse + +About libumfpack +---------------- + +Home: http://faculty.cse.tamu.edu/davis/suitesparse.html + +Package license: GPL-2.0-or-later + +Summary: A suite of sparse matrix algorithms + +Development: https://github.com/DrTimothyAldenDavis/SuiteSparse + +About libparu +------------- + +Home: http://faculty.cse.tamu.edu/davis/suitesparse.html + +Package license: GPL-3.0-or-later + +Summary: A suite of sparse matrix algorithms + +Development: https://github.com/DrTimothyAldenDavis/SuiteSparse + +About libspex +------------- + +Home: http://faculty.cse.tamu.edu/davis/suitesparse.html + +Package license: LGPL-2.0-or-later + +Summary: A suite of sparse matrix algorithms + +Development: https://github.com/DrTimothyAldenDavis/SuiteSparse + +About libcxsparse +----------------- + +Home: http://faculty.cse.tamu.edu/davis/suitesparse.html + +Package license: LGPL-2.1-or-later + +Summary: A suite of sparse matrix algorithms + +Development: https://github.com/DrTimothyAldenDavis/SuiteSparse + +About suitesparse +----------------- + Home: http://faculty.cse.tamu.edu/davis/suitesparse.html Package license: LGPL-2.1-or-later AND BSD-3-Clause AND GPL-2.0-or-later AND Apache-2.0 @@ -83,53 +263,69 @@ Current release info | Name | Downloads | Version | Platforms | | --- | --- | --- | --- | +| [![Conda Recipe](https://img.shields.io/badge/recipe-libamd-green.svg)](https://anaconda.org/conda-forge/libamd) | [![Conda Downloads](https://img.shields.io/conda/dn/conda-forge/libamd.svg)](https://anaconda.org/conda-forge/libamd) | [![Conda Version](https://img.shields.io/conda/vn/conda-forge/libamd.svg)](https://anaconda.org/conda-forge/libamd) | [![Conda Platforms](https://img.shields.io/conda/pn/conda-forge/libamd.svg)](https://anaconda.org/conda-forge/libamd) | +| [![Conda Recipe](https://img.shields.io/badge/recipe-libbtf-green.svg)](https://anaconda.org/conda-forge/libbtf) | [![Conda Downloads](https://img.shields.io/conda/dn/conda-forge/libbtf.svg)](https://anaconda.org/conda-forge/libbtf) | [![Conda Version](https://img.shields.io/conda/vn/conda-forge/libbtf.svg)](https://anaconda.org/conda-forge/libbtf) | [![Conda Platforms](https://img.shields.io/conda/pn/conda-forge/libbtf.svg)](https://anaconda.org/conda-forge/libbtf) | +| [![Conda Recipe](https://img.shields.io/badge/recipe-libcamd-green.svg)](https://anaconda.org/conda-forge/libcamd) | [![Conda Downloads](https://img.shields.io/conda/dn/conda-forge/libcamd.svg)](https://anaconda.org/conda-forge/libcamd) | [![Conda Version](https://img.shields.io/conda/vn/conda-forge/libcamd.svg)](https://anaconda.org/conda-forge/libcamd) | [![Conda Platforms](https://img.shields.io/conda/pn/conda-forge/libcamd.svg)](https://anaconda.org/conda-forge/libcamd) | +| [![Conda Recipe](https://img.shields.io/badge/recipe-libccolamd-green.svg)](https://anaconda.org/conda-forge/libccolamd) | [![Conda Downloads](https://img.shields.io/conda/dn/conda-forge/libccolamd.svg)](https://anaconda.org/conda-forge/libccolamd) | [![Conda Version](https://img.shields.io/conda/vn/conda-forge/libccolamd.svg)](https://anaconda.org/conda-forge/libccolamd) | [![Conda Platforms](https://img.shields.io/conda/pn/conda-forge/libccolamd.svg)](https://anaconda.org/conda-forge/libccolamd) | +| [![Conda Recipe](https://img.shields.io/badge/recipe-libcholmod-green.svg)](https://anaconda.org/conda-forge/libcholmod) | [![Conda Downloads](https://img.shields.io/conda/dn/conda-forge/libcholmod.svg)](https://anaconda.org/conda-forge/libcholmod) | [![Conda Version](https://img.shields.io/conda/vn/conda-forge/libcholmod.svg)](https://anaconda.org/conda-forge/libcholmod) | [![Conda Platforms](https://img.shields.io/conda/pn/conda-forge/libcholmod.svg)](https://anaconda.org/conda-forge/libcholmod) | +| [![Conda Recipe](https://img.shields.io/badge/recipe-libcolamd-green.svg)](https://anaconda.org/conda-forge/libcolamd) | [![Conda Downloads](https://img.shields.io/conda/dn/conda-forge/libcolamd.svg)](https://anaconda.org/conda-forge/libcolamd) | [![Conda Version](https://img.shields.io/conda/vn/conda-forge/libcolamd.svg)](https://anaconda.org/conda-forge/libcolamd) | [![Conda Platforms](https://img.shields.io/conda/pn/conda-forge/libcolamd.svg)](https://anaconda.org/conda-forge/libcolamd) | +| [![Conda Recipe](https://img.shields.io/badge/recipe-libcxsparse-green.svg)](https://anaconda.org/conda-forge/libcxsparse) | [![Conda Downloads](https://img.shields.io/conda/dn/conda-forge/libcxsparse.svg)](https://anaconda.org/conda-forge/libcxsparse) | [![Conda Version](https://img.shields.io/conda/vn/conda-forge/libcxsparse.svg)](https://anaconda.org/conda-forge/libcxsparse) | [![Conda Platforms](https://img.shields.io/conda/pn/conda-forge/libcxsparse.svg)](https://anaconda.org/conda-forge/libcxsparse) | +| [![Conda Recipe](https://img.shields.io/badge/recipe-libklu-green.svg)](https://anaconda.org/conda-forge/libklu) | [![Conda Downloads](https://img.shields.io/conda/dn/conda-forge/libklu.svg)](https://anaconda.org/conda-forge/libklu) | [![Conda Version](https://img.shields.io/conda/vn/conda-forge/libklu.svg)](https://anaconda.org/conda-forge/libklu) | [![Conda Platforms](https://img.shields.io/conda/pn/conda-forge/libklu.svg)](https://anaconda.org/conda-forge/libklu) | +| [![Conda Recipe](https://img.shields.io/badge/recipe-libldl-green.svg)](https://anaconda.org/conda-forge/libldl) | [![Conda Downloads](https://img.shields.io/conda/dn/conda-forge/libldl.svg)](https://anaconda.org/conda-forge/libldl) | [![Conda Version](https://img.shields.io/conda/vn/conda-forge/libldl.svg)](https://anaconda.org/conda-forge/libldl) | [![Conda Platforms](https://img.shields.io/conda/pn/conda-forge/libldl.svg)](https://anaconda.org/conda-forge/libldl) | +| [![Conda Recipe](https://img.shields.io/badge/recipe-libparu-green.svg)](https://anaconda.org/conda-forge/libparu) | [![Conda Downloads](https://img.shields.io/conda/dn/conda-forge/libparu.svg)](https://anaconda.org/conda-forge/libparu) | [![Conda Version](https://img.shields.io/conda/vn/conda-forge/libparu.svg)](https://anaconda.org/conda-forge/libparu) | [![Conda Platforms](https://img.shields.io/conda/pn/conda-forge/libparu.svg)](https://anaconda.org/conda-forge/libparu) | +| [![Conda Recipe](https://img.shields.io/badge/recipe-librbio-green.svg)](https://anaconda.org/conda-forge/librbio) | [![Conda Downloads](https://img.shields.io/conda/dn/conda-forge/librbio.svg)](https://anaconda.org/conda-forge/librbio) | [![Conda Version](https://img.shields.io/conda/vn/conda-forge/librbio.svg)](https://anaconda.org/conda-forge/librbio) | [![Conda Platforms](https://img.shields.io/conda/pn/conda-forge/librbio.svg)](https://anaconda.org/conda-forge/librbio) | +| [![Conda Recipe](https://img.shields.io/badge/recipe-libspex-green.svg)](https://anaconda.org/conda-forge/libspex) | [![Conda Downloads](https://img.shields.io/conda/dn/conda-forge/libspex.svg)](https://anaconda.org/conda-forge/libspex) | [![Conda Version](https://img.shields.io/conda/vn/conda-forge/libspex.svg)](https://anaconda.org/conda-forge/libspex) | [![Conda Platforms](https://img.shields.io/conda/pn/conda-forge/libspex.svg)](https://anaconda.org/conda-forge/libspex) | +| [![Conda Recipe](https://img.shields.io/badge/recipe-libspqr-green.svg)](https://anaconda.org/conda-forge/libspqr) | [![Conda Downloads](https://img.shields.io/conda/dn/conda-forge/libspqr.svg)](https://anaconda.org/conda-forge/libspqr) | [![Conda Version](https://img.shields.io/conda/vn/conda-forge/libspqr.svg)](https://anaconda.org/conda-forge/libspqr) | [![Conda Platforms](https://img.shields.io/conda/pn/conda-forge/libspqr.svg)](https://anaconda.org/conda-forge/libspqr) | +| [![Conda Recipe](https://img.shields.io/badge/recipe-libsuitesparseconfig-green.svg)](https://anaconda.org/conda-forge/libsuitesparseconfig) | [![Conda Downloads](https://img.shields.io/conda/dn/conda-forge/libsuitesparseconfig.svg)](https://anaconda.org/conda-forge/libsuitesparseconfig) | [![Conda Version](https://img.shields.io/conda/vn/conda-forge/libsuitesparseconfig.svg)](https://anaconda.org/conda-forge/libsuitesparseconfig) | [![Conda Platforms](https://img.shields.io/conda/pn/conda-forge/libsuitesparseconfig.svg)](https://anaconda.org/conda-forge/libsuitesparseconfig) | +| [![Conda Recipe](https://img.shields.io/badge/recipe-libumfpack-green.svg)](https://anaconda.org/conda-forge/libumfpack) | [![Conda Downloads](https://img.shields.io/conda/dn/conda-forge/libumfpack.svg)](https://anaconda.org/conda-forge/libumfpack) | [![Conda Version](https://img.shields.io/conda/vn/conda-forge/libumfpack.svg)](https://anaconda.org/conda-forge/libumfpack) | [![Conda Platforms](https://img.shields.io/conda/pn/conda-forge/libumfpack.svg)](https://anaconda.org/conda-forge/libumfpack) | | [![Conda Recipe](https://img.shields.io/badge/recipe-suitesparse-green.svg)](https://anaconda.org/conda-forge/suitesparse) | [![Conda Downloads](https://img.shields.io/conda/dn/conda-forge/suitesparse.svg)](https://anaconda.org/conda-forge/suitesparse) | [![Conda Version](https://img.shields.io/conda/vn/conda-forge/suitesparse.svg)](https://anaconda.org/conda-forge/suitesparse) | [![Conda Platforms](https://img.shields.io/conda/pn/conda-forge/suitesparse.svg)](https://anaconda.org/conda-forge/suitesparse) | +| [![Conda Recipe](https://img.shields.io/badge/recipe-suitesparse--mongoose-green.svg)](https://anaconda.org/conda-forge/suitesparse-mongoose) | [![Conda Downloads](https://img.shields.io/conda/dn/conda-forge/suitesparse-mongoose.svg)](https://anaconda.org/conda-forge/suitesparse-mongoose) | [![Conda Version](https://img.shields.io/conda/vn/conda-forge/suitesparse-mongoose.svg)](https://anaconda.org/conda-forge/suitesparse-mongoose) | [![Conda Platforms](https://img.shields.io/conda/pn/conda-forge/suitesparse-mongoose.svg)](https://anaconda.org/conda-forge/suitesparse-mongoose) | -Installing suitesparse -====================== +Installing libsuitesparseconfig +=============================== -Installing `suitesparse` from the `conda-forge` channel can be achieved by adding `conda-forge` to your channels with: +Installing `libsuitesparseconfig` from the `conda-forge` channel can be achieved by adding `conda-forge` to your channels with: ``` conda config --add channels conda-forge conda config --set channel_priority strict ``` -Once the `conda-forge` channel has been enabled, `suitesparse` can be installed with `conda`: +Once the `conda-forge` channel has been enabled, `libamd, libbtf, libcamd, libccolamd, libcholmod, libcolamd, libcxsparse, libklu, libldl, libparu, librbio, libspex, libspqr, libsuitesparseconfig, libumfpack, suitesparse, suitesparse-mongoose` can be installed with `conda`: ``` -conda install suitesparse +conda install libamd libbtf libcamd libccolamd libcholmod libcolamd libcxsparse libklu libldl libparu librbio libspex libspqr libsuitesparseconfig libumfpack suitesparse suitesparse-mongoose ``` or with `mamba`: ``` -mamba install suitesparse +mamba install libamd libbtf libcamd libccolamd libcholmod libcolamd libcxsparse libklu libldl libparu librbio libspex libspqr libsuitesparseconfig libumfpack suitesparse suitesparse-mongoose ``` -It is possible to list all of the versions of `suitesparse` available on your platform with `conda`: +It is possible to list all of the versions of `libamd` available on your platform with `conda`: ``` -conda search suitesparse --channel conda-forge +conda search libamd --channel conda-forge ``` or with `mamba`: ``` -mamba search suitesparse --channel conda-forge +mamba search libamd --channel conda-forge ``` Alternatively, `mamba repoquery` may provide more information: ``` # Search all versions available on your platform: -mamba repoquery search suitesparse --channel conda-forge +mamba repoquery search libamd --channel conda-forge -# List packages depending on `suitesparse`: -mamba repoquery whoneeds suitesparse --channel conda-forge +# List packages depending on `libamd`: +mamba repoquery whoneeds libamd --channel conda-forge -# List dependencies of `suitesparse`: -mamba repoquery depends suitesparse --channel conda-forge +# List dependencies of `libamd`: +mamba repoquery depends libamd --channel conda-forge ``` @@ -174,17 +370,17 @@ Terminology produce the finished article (built conda distributions) -Updating suitesparse-feedstock -============================== +Updating libsuitesparseconfig-feedstock +======================================= -If you would like to improve the suitesparse recipe or build a new +If you would like to improve the libsuitesparseconfig recipe or build a new package version, please fork this repository and submit a PR. Upon submission, your changes will be run on the appropriate platforms to give the reviewer an opportunity to confirm that the changes result in a successful build. Once merged, the recipe will be re-built and uploaded automatically to the `conda-forge` channel, whereupon the built conda packages will be available for everybody to install and use from the `conda-forge` channel. -Note that all branches in the conda-forge/suitesparse-feedstock are +Note that all branches in the conda-forge/libsuitesparseconfig-feedstock are immediately built and any created packages are uploaded, so PRs should be based on branches in forks and branches in the main repository should only be used to build distinct package versions. diff --git a/build-locally.py b/build-locally.py index 6788aea..c4a56c6 100755 --- a/build-locally.py +++ b/build-locally.py @@ -26,6 +26,13 @@ def setup_environment(ns): os.path.dirname(__file__), "miniforge3" ) + # The default cache location might not be writable using docker on macOS. + if ns.config.startswith("linux") and platform.system() == "Darwin": + os.environ["CONDA_FORGE_DOCKER_RUN_ARGS"] = ( + os.environ.get("CONDA_FORGE_DOCKER_RUN_ARGS", "") + + " -e RATTLER_CACHE_DIR=/tmp/rattler_cache" + ) + def run_docker_build(ns): script = ".scripts/run_docker_build.sh"