From 7f1dd3476f45a1a02a73c52483a07c162cfe0275 Mon Sep 17 00:00:00 2001 From: Bradley Dice Date: Wed, 10 Apr 2024 09:37:16 -0500 Subject: [PATCH] Switch to cross-compilation for `linux_aarch64` and `linux_ppc64le` --- .azure-pipelines/azure-pipelines-linux.yml | 4 ++++ .ci_support/linux_ppc64le_.yaml | 2 +- .ci_support/win_64_.yaml | 2 ++ .travis.yml | 25 ---------------------- README.md | 9 +------- conda-forge.yml | 3 +++ recipe/meta.yaml | 2 +- 7 files changed, 12 insertions(+), 35 deletions(-) delete mode 100644 .travis.yml diff --git a/.azure-pipelines/azure-pipelines-linux.yml b/.azure-pipelines/azure-pipelines-linux.yml index 875d996..abb9749 100755 --- a/.azure-pipelines/azure-pipelines-linux.yml +++ b/.azure-pipelines/azure-pipelines-linux.yml @@ -12,6 +12,10 @@ jobs: CONFIG: linux_64_ UPLOAD_PACKAGES: 'True' DOCKER_IMAGE: quay.io/condaforge/linux-anvil-cos7-x86_64 + linux_ppc64le_: + CONFIG: linux_ppc64le_ + UPLOAD_PACKAGES: 'True' + DOCKER_IMAGE: quay.io/condaforge/linux-anvil-cos7-x86_64 timeoutInMinutes: 360 variables: {} diff --git a/.ci_support/linux_ppc64le_.yaml b/.ci_support/linux_ppc64le_.yaml index 3adf975..55ef512 100644 --- a/.ci_support/linux_ppc64le_.yaml +++ b/.ci_support/linux_ppc64le_.yaml @@ -17,7 +17,7 @@ cxx_compiler: cxx_compiler_version: - '12' docker_image: -- quay.io/condaforge/linux-anvil-ppc64le +- quay.io/condaforge/linux-anvil-cos7-x86_64 target_platform: - linux-ppc64le zip_keys: diff --git a/.ci_support/win_64_.yaml b/.ci_support/win_64_.yaml index d1d2b41..3860cc2 100644 --- a/.ci_support/win_64_.yaml +++ b/.ci_support/win_64_.yaml @@ -2,6 +2,8 @@ c_compiler: - vs2019 c_stdlib: - vs +c_stdlib_version: +- '2019' channel_sources: - conda-forge channel_targets: diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 5f7a896..0000000 --- a/.travis.yml +++ /dev/null @@ -1,25 +0,0 @@ -# This file was generated automatically from conda-smithy. To update this configuration, -# update the conda-forge.yml and/or the recipe/meta.yaml. - -language: generic - - - -matrix: - include: - - env: CONFIG=linux_ppc64le_ UPLOAD_PACKAGES=True PLATFORM=linux-ppc64le DOCKER_IMAGE=quay.io/condaforge/linux-anvil-ppc64le - os: linux - arch: ppc64le - dist: focal - -script: - - export CI=travis - - export GIT_BRANCH="$TRAVIS_BRANCH" - - export flow_run_id="travis_$TRAVIS_JOB_ID" - - export sha="$TRAVIS_COMMIT" - - export remote_url="https://github.com/$TRAVIS_REPO_SLUG" - - export FEEDSTOCK_NAME=$(basename ${TRAVIS_REPO_SLUG}) - - if [[ "${TRAVIS_PULL_REQUEST:-}" == "false" ]]; then export IS_PR_BUILD="False"; else export IS_PR_BUILD="True"; fi - - - - if [[ ${PLATFORM} =~ .*linux.* ]]; then CONDA_FORGE_DOCKER_RUN_ARGS="--network=host --security-opt=seccomp=unconfined" ./.scripts/run_docker_build.sh; fi \ No newline at end of file diff --git a/README.md b/README.md index 783eb6a..57183fa 100644 --- a/README.md +++ b/README.md @@ -19,14 +19,7 @@ Current build status ==================== - - - - +
Travis - - linux - -
diff --git a/conda-forge.yml b/conda-forge.yml index f6ab364..04c24b6 100644 --- a/conda-forge.yml +++ b/conda-forge.yml @@ -1,3 +1,6 @@ +build_platform: + linux_aarch64: linux_64 + linux_ppc64le: linux_64 conda_build: error_overlinking: false conda_forge_output_validation: true diff --git a/recipe/meta.yaml b/recipe/meta.yaml index 0511b0d..2409c11 100644 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -21,7 +21,7 @@ source: sha256: bd434d759948b4ef9d9e663b89f5019ea104afec6bf7a17267c624b0bfbc1a03 # [win] build: - number: 0 + number: 1 binary_relocation: false skip: true # [osx or aarch64] missing_dso_whitelist:
Azure