Skip to content
Merged
Show file tree
Hide file tree
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
18 changes: 15 additions & 3 deletions .azure-pipelines/azure-pipelines-osx.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

25 changes: 16 additions & 9 deletions .azure-pipelines/azure-pipelines-win.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

35 changes: 0 additions & 35 deletions .ci_support/migrations/absl_grpc_proto_26Q1.yaml

This file was deleted.

34 changes: 34 additions & 0 deletions .ci_support/migrations/absl_grpc_proto_26Q2.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
__migrator:
build_number: 1
commit_message: |
Rebuild for libabseil 20260526, libgrpc 1.82 & libprotobuf 7.35.1

grpc v1.82 is currently in pre-release and thus not published yet.
Therefore, it is expected that feedstocks depending on libgrpc will
see resolver errors for now.
kind: version
migration_number: 1
exclude:
# core deps
- abseil-cpp
- grpc-cpp
- libprotobuf
# required for building/testing
- protobuf
- re2
# bazel stack
- bazel
- grpc_java_plugin
- singlejar
# built manually beforehand due to enormous build time
- pytorch-cpu
libabseil:
- 20260526
libgrpc:
- "1.82"
libprotobuf:
- 7.35.1
# https://github.com/protocolbuffers/protobuf/commit/66a9ea7540ad7d3d0822ace6fc8d9ba6cd088c4d
c_stdlib_version: # [osx]
- 12.0 # [osx]
migrator_ts: 1775539322.336586
6 changes: 3 additions & 3 deletions .ci_support/osx_64_.yaml
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
MACOSX_DEPLOYMENT_TARGET:
- '11.0'
- '12.0'
MACOSX_SDK_VERSION:
- '11.0'
- '12.0'
c_compiler:
- clang
c_compiler_version:
- '19'
c_stdlib:
- macosx_deployment_target
c_stdlib_version:
- '11.0'
- '12.0'
channel_sources:
- conda-forge
channel_targets:
Expand Down
6 changes: 3 additions & 3 deletions .ci_support/osx_arm64_.yaml
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
MACOSX_DEPLOYMENT_TARGET:
- '11.0'
- '12.0'
MACOSX_SDK_VERSION:
- '11.0'
- '12.0'
c_compiler:
- clang
c_compiler_version:
- '19'
c_stdlib:
- macosx_deployment_target
c_stdlib_version:
- '11.0'
- '12.0'
channel_sources:
- conda-forge
channel_targets:
Expand Down
72 changes: 49 additions & 23 deletions .github/workflows/conda-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,70 +23,96 @@ jobs:
matrix:
include:
- CONFIG: linux_64_
DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9
STORE_BUILD_ARTIFACTS: False
UPLOAD_PACKAGES: True
build_workspace_dir: build_artifacts
docker_run_args:
free_disk_space: skip
os: ubuntu
runs_on: ['namespace-profile-16cpu-on-linux-64']
DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9
pagefile_size: 0
resize_partitions: False
runs_on: ['namespace-profile-16cpu-on-linux-64;container.privileged=true;container.mount-scratch=true']
tools_install_dir: ~/miniforge3
- CONFIG: linux_aarch64_
DOCKER_IMAGE: quay.io/condaforge/linux-anvil-aarch64:alma9
STORE_BUILD_ARTIFACTS: False
UPLOAD_PACKAGES: True
build_workspace_dir: build_artifacts
docker_run_args:
free_disk_space: skip
os: ubuntu
runs_on: ['namespace-profile-8cpu-on-linux-aarch64']
DOCKER_IMAGE: quay.io/condaforge/linux-anvil-aarch64:alma9
pagefile_size: 0
resize_partitions: False
runs_on: ['namespace-profile-8cpu-on-linux-aarch64;container.privileged=true;container.mount-scratch=true']
tools_install_dir: ~/miniforge3
steps:

- name: Checkout code
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Configure binfmt_misc
if: matrix.os == 'ubuntu'
shell: bash
run: |
if [[ "$(uname -m)" == "x86_64" ]]; then
docker run --rm --privileged multiarch/qemu-user-static:register --reset --credential yes
fi

- name: Build on Linux
id: build-linux
if: matrix.os == 'ubuntu'
env:
CI: github_actions
CONDA_BLD_PATH: ${{ matrix.build_workspace_dir }}
CONDA_FORGE_DOCKER_RUN_ARGS: ${{ matrix.docker_run_args }}
CONFIG: ${{ matrix.CONFIG }}
UPLOAD_PACKAGES: ${{ matrix.UPLOAD_PACKAGES }}
MINIFORGE_HOME: ${{ matrix.tools_install_dir }}
DOCKER_IMAGE: ${{ matrix.DOCKER_IMAGE }}
CI: github_actions
CONDA_FORGE_DOCKER_RUN_ARGS: "${{ matrix.CONDA_FORGE_DOCKER_RUN_ARGS }}"
UPLOAD_PACKAGES: ${{ matrix.UPLOAD_PACKAGES }}
RATTLER_BUILD_COLOR: always
RATTLER_BUILD_ENABLE_GITHUB_INTEGRATION: 'true'
BINSTAR_TOKEN: ${{ secrets.BINSTAR_TOKEN }}
FEEDSTOCK_TOKEN: ${{ secrets.FEEDSTOCK_TOKEN }}
STAGING_BINSTAR_TOKEN: ${{ secrets.STAGING_BINSTAR_TOKEN }}
shell: bash
run: |
if [[ "$(uname -m)" == "x86_64" ]]; then
echo "::group::Configure binfmt_misc"
docker run --rm --privileged multiarch/qemu-user-static:register --reset --credential yes
fi
export CONDA_BLD_PATH="${CONDA_BLD_PATH/#~/${HOME}}"
export FEEDSTOCK_NAME="$(basename $GITHUB_REPOSITORY)"
export GIT_BRANCH="$(basename $GITHUB_REF)"
export MINIFORGE_HOME="${MINIFORGE_HOME/#~/${HOME}}"
export flow_run_id="github_$GITHUB_RUN_ID"
export remote_url="https://github.com/$GITHUB_REPOSITORY"
export sha="$GITHUB_SHA"
export FEEDSTOCK_NAME="$(basename $GITHUB_REPOSITORY)"
export GIT_BRANCH="$(basename $GITHUB_REF)"
if [[ "${GITHUB_EVENT_NAME}" == "pull_request" ]]; then
export IS_PR_BUILD="True"
else
export IS_PR_BUILD="False"
fi
echo "::endgroup::"
./.scripts/run_docker_build.sh

- name: Build on macOS
id: build-macos
if: matrix.os == 'macos'
env:
CI: github_actions
CONDA_BLD_PATH: ${{ matrix.build_workspace_dir }}
CONFIG: ${{ matrix.CONFIG }}
MINIFORGE_HOME: ${{ matrix.tools_install_dir }}
UPLOAD_PACKAGES: ${{ matrix.UPLOAD_PACKAGES }}
CI: github_actions
RATTLER_BUILD_COLOR: always
RATTLER_BUILD_ENABLE_GITHUB_INTEGRATION: 'true'
BINSTAR_TOKEN: ${{ secrets.BINSTAR_TOKEN }}
FEEDSTOCK_TOKEN: ${{ secrets.FEEDSTOCK_TOKEN }}
STAGING_BINSTAR_TOKEN: ${{ secrets.STAGING_BINSTAR_TOKEN }}
shell: bash
run: |
export CONDA_BLD_PATH="${CONDA_BLD_PATH/#~/${HOME}}"
export FEEDSTOCK_NAME="$(basename $GITHUB_REPOSITORY)"
export GIT_BRANCH="$(basename $GITHUB_REF)"
export MINIFORGE_HOME="${MINIFORGE_HOME/#~/${HOME}}"
export flow_run_id="github_$GITHUB_RUN_ID"
export remote_url="https://github.com/$GITHUB_REPOSITORY"
export sha="$GITHUB_SHA"
export FEEDSTOCK_NAME="$(basename $GITHUB_REPOSITORY)"
export GIT_BRANCH="$(basename $GITHUB_REF)"
if [[ "${GITHUB_EVENT_NAME}" == "pull_request" ]]; then
export IS_PR_BUILD="True"
else
Expand All @@ -104,14 +130,14 @@ jobs:
set "sha=%GITHUB_SHA%"
call ".scripts\run_win_build.bat"
env:
# default value; make it explicit, as it needs to match with artefact
# generation below. Not configurable for now, can be revisited later
CONDA_BLD_PATH: C:\bld
MINIFORGE_HOME: ${{ contains(runner.arch, 'ARM') && 'C' || 'D' }}:\Miniforge
PYTHONUNBUFFERED: 1
CONFIG: ${{ matrix.CONFIG }}
CI: github_actions
CONDA_BLD_PATH: ${{ matrix.build_workspace_dir }}
CONFIG: ${{ matrix.CONFIG }}
MINIFORGE_HOME: ${{ matrix.tools_install_dir }}
PYTHONUNBUFFERED: 1
UPLOAD_PACKAGES: ${{ matrix.UPLOAD_PACKAGES }}
RATTLER_BUILD_COLOR: always
RATTLER_BUILD_ENABLE_GITHUB_INTEGRATION: 'true'
BINSTAR_TOKEN: ${{ secrets.BINSTAR_TOKEN }}
FEEDSTOCK_TOKEN: ${{ secrets.FEEDSTOCK_TOKEN }}
STAGING_BINSTAR_TOKEN: ${{ secrets.STAGING_BINSTAR_TOKEN }}
39 changes: 30 additions & 9 deletions .scripts/build_steps.sh

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading