Skip to content

Commit

Permalink
MNT: Re-rendered with conda-build 3.17.5, conda-smithy 3.2.9, and con…
Browse files Browse the repository at this point in the history
…da-forge-pinning 2019.01.16
  • Loading branch information
conda-forge-admin committed Jan 18, 2019
1 parent 647c6d9 commit 400e3b8
Show file tree
Hide file tree
Showing 12 changed files with 68 additions and 103 deletions.
19 changes: 15 additions & 4 deletions .azure-pipelines/azure-pipelines-linux.yml
@@ -1,3 +1,7 @@
# This file was generated automatically from conda-smithy. To update this configuration,
# update the conda-forge.yml and/or the recipe/meta.yaml.
# -*- mode: yaml -*-

jobs:
- job: linux_64
pool:
Expand All @@ -6,15 +10,22 @@ jobs:
strategy:
maxParallel: 8
matrix:
linux_c_compilergcccxx_compilergxx:
CONFIG: linux_c_compilergcccxx_compilergxx
linux_c_compilertoolchain_ccxx_compilertoolchain_cxx:
CONFIG: linux_c_compilertoolchain_ccxx_compilertoolchain_cxx
linux_:
CONFIG: linux_
UPLOAD_PACKAGES: False
steps:
- script: |
sudo pip install --upgrade pip
sudo pip install setuptools shyaml
displayName: Install dependencies
# configure qemu binfmt-misc running. This allows us to run docker containers
# embedded qemu-static
- script: |
docker run --rm --privileged multiarch/qemu-user-static:register
ls /proc/sys/fs/binfmt_misc/
condition: not(startsWith(variables['CONFIG'], 'linux_64'))
displayName: Configure binfmt_misc
- script: .azure-pipelines/run_docker_build.sh
displayName: Run docker build
10 changes: 5 additions & 5 deletions .azure-pipelines/build_steps.sh
Expand Up @@ -24,15 +24,15 @@ conda install --yes --quiet conda-forge-ci-setup=2 conda-build -c conda-forge
# set up the condarc
setup_conda_rc "${FEEDSTOCK_ROOT}" "${RECIPE_ROOT}" "${CONFIG_FILE}"

# A lock sometimes occurs with incomplete builds. The lock file is stored in build_artifacts.
conda clean --lock

run_conda_forge_build_setup# make the build number clobber
run_conda_forge_build_setup
# make the build number clobber
make_build_number "${FEEDSTOCK_ROOT}" "${RECIPE_ROOT}" "${CONFIG_FILE}"

conda build "${RECIPE_ROOT}" -m "${CI_SUPPORT}/${CONFIG}.yaml" \
--clobber-file "${CI_SUPPORT}/clobber_${CONFIG}.yaml"


if [[ "${UPLOAD_PACKAGES}" != "False" ]]; then
upload_package "${FEEDSTOCK_ROOT}" "${RECIPE_ROOT}" "${CONFIG_FILE}"
fi

touch "/home/conda/feedstock_root/build_artifacts/conda-forge-build-done-${CONFIG}"
5 changes: 3 additions & 2 deletions .azure-pipelines/run_docker_build.sh
Expand Up @@ -33,21 +33,22 @@ if [ -z "$CONFIG" ]; then
fi

pip install shyaml
DOCKER_IMAGE=$(cat "${FEEDSTOCK_ROOT}/.ci_support/${CONFIG}.yaml" | shyaml get-value docker_image.0 condaforge/linux-anvil )
DOCKER_IMAGE=$(cat "${FEEDSTOCK_ROOT}/.ci_support/${CONFIG}.yaml" | shyaml get-value docker_image.0 condaforge/linux-anvil-comp7 )

mkdir -p "$ARTIFACTS"
DONE_CANARY="$ARTIFACTS/conda-forge-build-done-${CONFIG}"
rm -f "$DONE_CANARY"
# Not all providers run with a real tty. Disable using one
DOCKER_RUN_ARGS=" "


export UPLOAD_PACKAGES="${UPLOAD_PACKAGES:-True}"
docker run ${DOCKER_RUN_ARGS} \
-v "${RECIPE_ROOT}":/home/conda/recipe_root:ro,z \
-v "${FEEDSTOCK_ROOT}":/home/conda/feedstock_root:rw,z \
-e CONFIG \
-e BINSTAR_TOKEN \
-e HOST_USER_ID \
-e UPLOAD_PACKAGES \
$DOCKER_IMAGE \
bash \
/home/conda/feedstock_root/${PROVIDER_DIR}/build_steps.sh
Expand Down
19 changes: 19 additions & 0 deletions .ci_support/linux_.yaml
@@ -0,0 +1,19 @@
c_compiler:
- gcc
channel_sources:
- conda-forge,defaults
channel_targets:
- conda-forge main
cxx_compiler:
- gxx
docker_image:
- condaforge/linux-anvil-comp7
gmp:
- '6'
pin_run_as_build:
gmp:
max_pin: x
xz:
max_pin: x.x
xz:
- '5.2'
28 changes: 0 additions & 28 deletions .ci_support/linux_c_compilergcccxx_compilergxx.yaml

This file was deleted.

This file was deleted.

9 changes: 3 additions & 6 deletions .circleci/build_steps.sh
Expand Up @@ -24,9 +24,6 @@ conda install --yes --quiet conda-forge-ci-setup=2 conda-build -c conda-forge
# set up the condarc
setup_conda_rc "${FEEDSTOCK_ROOT}" "${RECIPE_ROOT}" "${CONFIG_FILE}"

# A lock sometimes occurs with incomplete builds. The lock file is stored in build_artifacts.
conda clean --lock

source run_conda_forge_build_setup

# make the build number clobber
Expand All @@ -35,8 +32,8 @@ make_build_number "${FEEDSTOCK_ROOT}" "${RECIPE_ROOT}" "${CONFIG_FILE}"
conda build "${RECIPE_ROOT}" -m "${CI_SUPPORT}/${CONFIG}.yaml" \
--clobber-file "${CI_SUPPORT}/clobber_${CONFIG}.yaml"


upload_package "${FEEDSTOCK_ROOT}" "${RECIPE_ROOT}" "${CONFIG_FILE}"

if [[ "${UPLOAD_PACKAGES}" != "False" ]]; then
upload_package "${FEEDSTOCK_ROOT}" "${RECIPE_ROOT}" "${CONFIG_FILE}"
fi

touch "/home/conda/feedstock_root/build_artifacts/conda-forge-build-done-${CONFIG}"
30 changes: 8 additions & 22 deletions .circleci/config.yml
@@ -1,28 +1,15 @@
# This file was generated automatically from conda-smithy. To update this configuration,
# update the conda-forge.yml and/or the recipe/meta.yaml.
# -*- mode: yaml -*-

version: 2

jobs:
build_linux_c_compilergcccxx_compilergxx:
working_directory: ~/test
machine: true
environment:
- CONFIG: "linux_c_compilergcccxx_compilergxx"
steps:
- checkout
- run:
name: Fast finish outdated PRs and merge PRs
command: |
./.circleci/fast_finish_ci_pr_build.sh
./.circleci/checkout_merge_commit.sh
- run:
command: docker pull condaforge/linux-anvil
- run:
# Run, test and (if we have a BINSTAR_TOKEN) upload the distributions.
command: ./.circleci/run_docker_build.sh
build_linux_c_compilertoolchain_ccxx_compilertoolchain_cxx:
build_linux_:
working_directory: ~/test
machine: true
environment:
- CONFIG: "linux_c_compilertoolchain_ccxx_compilertoolchain_cxx"
- CONFIG: "linux_"
steps:
- checkout
- run:
Expand All @@ -31,7 +18,7 @@ jobs:
./.circleci/fast_finish_ci_pr_build.sh
./.circleci/checkout_merge_commit.sh
- run:
command: docker pull condaforge/linux-anvil
command: docker pull condaforge/linux-anvil-comp7
- run:
# Run, test and (if we have a BINSTAR_TOKEN) upload the distributions.
command: ./.circleci/run_docker_build.sh
Expand All @@ -40,5 +27,4 @@ workflows:
version: 2
build_and_test:
jobs:
- build_linux_c_compilergcccxx_compilergxx
- build_linux_c_compilertoolchain_ccxx_compilertoolchain_cxx
- build_linux_
2 changes: 1 addition & 1 deletion .circleci/fast_finish_ci_pr_build.sh
@@ -1,4 +1,4 @@
#!/bin/bash

curl https://raw.githubusercontent.com/conda-forge/conda-forge-ci-setup-feedstock/branch2.0/recipe/conda_forge_ci_setup/ff_ci_pr_build.py | \
curl https://raw.githubusercontent.com/conda-forge/conda-forge-ci-setup-feedstock/master/recipe/conda_forge_ci_setup/ff_ci_pr_build.py | \
python - -v --ci "circle" "${CIRCLE_PROJECT_USERNAME}/${CIRCLE_PROJECT_REPONAME}" "${CIRCLE_BUILD_NUM}" "${CIRCLE_PR_NUMBER}"
5 changes: 3 additions & 2 deletions .circleci/run_docker_build.sh
Expand Up @@ -33,21 +33,22 @@ if [ -z "$CONFIG" ]; then
fi

pip install shyaml
DOCKER_IMAGE=$(cat "${FEEDSTOCK_ROOT}/.ci_support/${CONFIG}.yaml" | shyaml get-value docker_image.0 condaforge/linux-anvil )
DOCKER_IMAGE=$(cat "${FEEDSTOCK_ROOT}/.ci_support/${CONFIG}.yaml" | shyaml get-value docker_image.0 condaforge/linux-anvil-comp7 )

mkdir -p "$ARTIFACTS"
DONE_CANARY="$ARTIFACTS/conda-forge-build-done-${CONFIG}"
rm -f "$DONE_CANARY"
# Enable running in interactive mode attached to a tty
DOCKER_RUN_ARGS=" -it "


export UPLOAD_PACKAGES="${UPLOAD_PACKAGES:-True}"
docker run ${DOCKER_RUN_ARGS} \
-v "${RECIPE_ROOT}":/home/conda/recipe_root:ro,z \
-v "${FEEDSTOCK_ROOT}":/home/conda/feedstock_root:rw,z \
-e CONFIG \
-e BINSTAR_TOKEN \
-e HOST_USER_ID \
-e UPLOAD_PACKAGES \
$DOCKER_IMAGE \
bash \
/home/conda/feedstock_root/${PROVIDER_DIR}/build_steps.sh
Expand Down
8 changes: 6 additions & 2 deletions README.md
@@ -1,8 +1,10 @@
<!--
# -*- mode: jinja -*-
-->

About ghc-bootstrap
===================

[![Powered by NumFOCUS](https://img.shields.io/badge/powered%20by-NumFOCUS-orange.svg?style=flat&colorA=E1523D&colorB=007D8A)](http://numfocus.org)

Home: https://haskell.org/ghc/

Package license: BSD 3-Clause
Expand Down Expand Up @@ -52,6 +54,8 @@ conda search ghc-bootstrap --channel conda-forge
About conda-forge
=================

[![Powered by NumFOCUS](https://img.shields.io/badge/powered%20by-NumFOCUS-orange.svg?style=flat&colorA=E1523D&colorB=007D8A)](http://numfocus.org)

conda-forge is a community-led conda channel of installable packages.
In order to provide high-quality builds, the process has been automated into the
conda-forge GitHub organization. The conda-forge organization contains one repository
Expand Down
8 changes: 5 additions & 3 deletions azure-pipelines.yml
@@ -1,4 +1,6 @@
jobs:
- template: ./.azure-pipelines/azure-pipelines-linux.yml
# This file was generated automatically from conda-smithy. To update this configuration,
# update the conda-forge.yml and/or the recipe/meta.yaml.
# -*- mode: yaml -*-


jobs:
- template: ./.azure-pipelines/azure-pipelines-linux.yml

0 comments on commit 400e3b8

Please sign in to comment.