-
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from xylar/add_vtk_patches
Add two common patches
- Loading branch information
Showing
9 changed files
with
701 additions
and
67 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
c_compiler: | ||
- vs2015 | ||
- vs2017 | ||
channel_sources: | ||
- conda-forge,defaults | ||
channel_targets: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
#!/usr/bin/env bash | ||
|
||
set -x | ||
|
||
echo -e "\n\nInstalling a fresh version of Miniforge." | ||
if [[ ${CI} == "travis" ]]; then | ||
echo -en 'travis_fold:start:install_miniforge\\r' | ||
fi | ||
MINIFORGE_URL="https://github.com/conda-forge/miniforge/releases/latest/download" | ||
MINIFORGE_FILE="Miniforge3-MacOSX-x86_64.sh" | ||
curl -L -O "${MINIFORGE_URL}/${MINIFORGE_FILE}" | ||
bash $MINIFORGE_FILE -b | ||
if [[ ${CI} == "travis" ]]; then | ||
echo -en 'travis_fold:end:install_miniforge\\r' | ||
fi | ||
|
||
echo -e "\n\nConfiguring conda." | ||
if [[ ${CI} == "travis" ]]; then | ||
echo -en 'travis_fold:start:configure_conda\\r' | ||
fi | ||
|
||
source ${HOME}/miniforge3/etc/profile.d/conda.sh | ||
conda activate base | ||
|
||
echo -e "\n\nInstalling conda-forge-ci-setup=3 and conda-build." | ||
conda install -n base --quiet --yes conda-forge-ci-setup=3 conda-build pip | ||
|
||
|
||
|
||
echo -e "\n\nSetting up the condarc and mangling the compiler." | ||
setup_conda_rc ./ ./recipe ./.ci_support/${CONFIG}.yaml | ||
mangle_compiler ./ ./recipe .ci_support/${CONFIG}.yaml | ||
|
||
echo -e "\n\nMangling homebrew in the CI to avoid conflicts." | ||
/usr/bin/sudo mangle_homebrew | ||
/usr/bin/sudo -k | ||
|
||
echo -e "\n\nRunning the build setup script." | ||
source run_conda_forge_build_setup | ||
|
||
|
||
if [[ ${CI} == "travis" ]]; then | ||
echo -en 'travis_fold:end:configure_conda\\r' | ||
fi | ||
|
||
set -e | ||
|
||
echo -e "\n\nMaking the build clobber file and running the build." | ||
make_build_number ./ ./recipe ./.ci_support/${CONFIG}.yaml | ||
conda build ./recipe -m ./.ci_support/${CONFIG}.yaml --clobber-file ./.ci_support/clobber_${CONFIG}.yaml | ||
|
||
if [[ "${UPLOAD_PACKAGES}" != "False" ]]; then | ||
echo -e "\n\nUploading the packages." | ||
upload_package ./ ./recipe ./.ci_support/${CONFIG}.yaml | ||
fi |
Oops, something went wrong.