-
Notifications
You must be signed in to change notification settings - Fork 3.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
automated build tweaks #6
Conversation
Conflicts: pysam/build.sh
It was taking a while for me to download packages for the CentOS container (firewall issues at work I think?) so I added a Dockerfile to build a locally-cached container, an additional script to support it, and docs. Also, I realized the existing Last, I found it useful to force builds when debugging this stuff, so I added a Rather than push the changes I figured I'd use a PR to double check with everyone else to see if this makes sense. |
RUN wget http://people.centos.org/tru/devtools-2/devtools-2.repo -O /etc/yum.repos.d/devtools-2.repo | ||
RUN yum install -y devtoolset-2-gcc devtoolset-2-binutils devtoolset-2-gcc-c++ | ||
ENV MANPATH="" | ||
RUN source /opt/rh/devtoolset-2/enable |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These two lines should go in update_binstar_packages_docker_prebuilt.sh -- they turn on gcc-4.8 which is helpful for building a lot of packages. I'm not sure how well this gets cached between a recipe and a run.
Ryan -- this is awesome, thank you.
Thanks again. |
Brad -- thanks for your comments. Pre-building the docker container sounds good. @johanneskoester do you have plans for a bioconda dockerhub account? For the OSX packages, it was working as you said. The automatic failure came at the end of building pysam, which took a while to build, prompting me to restrict to Linux. I'll put the cross-compile build functionality back in by default to facilitate future bcbio python-only packages. It would be nice to detect whether or not a Python package has C/C++ packages so the build fails early. I'm thinking presence of (also: as you suggested in the commit comments, I moved the |
Great work! Apart from that, a bioconda docker hub account is a good idea anyway, because we need to pull the image from there also in case of using travis. What do you think? |
Hi guys, |
Johannes, thanks for the dockerhub account. And very cool, I didn't realize Docker can be used on travis-ci now. CI builds would be great to have. From my reading of the travis-ci docs, I think it would be possible to use encrypted environmental variables to deploy successful builds to anaconda. |
Ok. Let me start with some relevant links: creating binstar token and encrypt it for travis CI: installing miniconda in travis: |
- Defaults to using a pre-built docker image in bioconda docker hub. - Improve naming of scripts and update README with details. - Test on new version of cutadapt
Ryan and Johannes; |
update to bioconda master
* First attempt at a recipe for PhyloCSF * Reset build number to 0; Added basic test; Added license (CLI round 1 errors) * Lowercased package name (CLI round 2) * changed folder name to match package name (CLI round 3) * Added manual download and compiling of Opam * Added wget as requirement * Added opam setup step * Attempt to fix opam install process: added unzip and glpk dependencies, build without sandboxing * test with g++ instead of gcc * Fix attempt for missing solver * Second attempt at c++ compiler * Added messages for better debugging * Attempt to change opam install mode to binaries * It works locally now ... * Forgot to revert curl to wget ... * Added -y option to opam install * Fix attempt for OCaml package compiling bugs * Second fix attempt for OCaml package compiling bugs * Debugging gsl-conf + see if I can remove some dependencies * Debugging gsl-conf #2 * Debugging gsl-conf #3 * Debugging gsl-conf #4 * Debugging gsl-conf #5 * Debugging gsl-conf #5 * Debugging gsl-conf #6 * Cleaned up, small test * Checking output from pkg-config gsl * Checking output from pkg-config gsl - 2 * Checking output from pkg-config gsl - 3 * Test with pkg-config * Testing pkgconfig path + removed exporting ld path * More pkg-config testing * More pkg-config testing * More pkg-config testing * More pkg-config testing * Testing after candidate fixs * Cleaned up recipe after successful tests for GSL, added ocamlfind package to opam * Updated PhyloCSF archive to new release that fixes makefile for new compilers * Cleanup, candidate for final recipe 1 * Added gsl to runtime to fix missing gsl shared library in tests * Removed the accidental 0 that I added at the end of build.sh ... * Added test files to source_files in metal.yaml test section * Manually moved file required for test in bin, less clean but otherwise mulled-build fails as test file is missing * woops * Fix attempt for test file * Removed test as it required a file and failed in mulled-build since the file was not present * I don't know why tests are failing * Removed test at the moment * First attempt at implementing tests properly * Second attempt at implementing tests properly * Updated test * Trying to understand testing environment * Test with * Test with 2 * Test with PREFIX 3 * Tentative fix to build on OSX * First attempt at a recipe for PhyloCSF * Reset build number to 0; Added basic test; Added license (CLI round 1 errors) * Lowercased package name (CLI round 2) * changed folder name to match package name (CLI round 3) * Added manual download and compiling of Opam * Added wget as requirement * Added opam setup step * Attempt to fix opam install process: added unzip and glpk dependencies, build without sandboxing * test with g++ instead of gcc * Fix attempt for missing solver * Second attempt at c++ compiler * Added messages for better debugging * Attempt to change opam install mode to binaries * It works locally now ... * Forgot to revert curl to wget ... * Added -y option to opam install * Fix attempt for OCaml package compiling bugs * Second fix attempt for OCaml package compiling bugs * Debugging gsl-conf + see if I can remove some dependencies * Debugging gsl-conf #2 * Debugging gsl-conf #3 * Debugging gsl-conf #4 * Debugging gsl-conf #5 * Debugging gsl-conf #5 * Debugging gsl-conf #6 * Cleaned up, small test * Checking output from pkg-config gsl * Checking output from pkg-config gsl - 2 * Checking output from pkg-config gsl - 3 * Test with pkg-config * Testing pkgconfig path + removed exporting ld path * More pkg-config testing * More pkg-config testing * More pkg-config testing * More pkg-config testing * Testing after candidate fixs * Cleaned up recipe after successful tests for GSL, added ocamlfind package to opam * Updated PhyloCSF archive to new release that fixes makefile for new compilers * Cleanup, candidate for final recipe 1 * Added gsl to runtime to fix missing gsl shared library in tests * Removed the accidental 0 that I added at the end of build.sh ... * Added test files to source_files in metal.yaml test section * Manually moved file required for test in bin, less clean but otherwise mulled-build fails as test file is missing * woops * Fix attempt for test file * Removed test as it required a file and failed in mulled-build since the file was not present * I don't know why tests are failing * Removed test at the moment * First attempt at implementing tests properly * Second attempt at implementing tests properly * Updated test * Trying to understand testing environment * Test with * Test with 2 * Test with PREFIX 3 * Tentative fix to build on OSX * Update meta.yaml
Merge PR #19810, commits were: * add abricate * Merge pull request #6 from liaochenlanruo/master update pgcgap branch * Merge pull request #5 from bioconda/master update local files * add gubbins 2.3.4 * Update meta.yaml * Update meta.yaml * Update meta.yaml * add gubbins 2.3.4 * add gubbins * combination of roary and orthofinder * Update meta.yaml * Merge pull request #4 from liaochenlanruo/master update local branch * Merge pull request #3 from bioconda/master update local fork * Merge pull request #2 from bioconda/master update fork * Update meta.yaml * Update meta.yaml * Merge branch 'master' of https://github.com/bioconda/bioconda-recipes * Merge pull request #1 from bioconda/master update local recipes
Merge PR bioconda#19810, commits were: * add abricate * Merge pull request bioconda#6 from liaochenlanruo/master update pgcgap branch * Merge pull request bioconda#5 from bioconda/master update local files * add gubbins 2.3.4 * Update meta.yaml * Update meta.yaml * Update meta.yaml * add gubbins 2.3.4 * add gubbins * combination of roary and orthofinder * Update meta.yaml * Merge pull request bioconda#4 from liaochenlanruo/master update local branch * Merge pull request bioconda#3 from bioconda/master update local fork * Merge pull request bioconda#2 from bioconda/master update fork * Update meta.yaml * Update meta.yaml * Merge branch 'master' of https://github.com/bioconda/bioconda-recipes * Merge pull request bioconda#1 from bioconda/master update local recipes
Merge PR #19905, commits were: * Merge branch 'master' into pgcgap * update pgcgap to v1.0.10 * add abricate * Merge pull request #6 from liaochenlanruo/master update pgcgap branch * Merge pull request #5 from bioconda/master update local files * add gubbins 2.3.4 * Update meta.yaml * Update meta.yaml * Update meta.yaml * add gubbins 2.3.4 * add gubbins * combination of roary and orthofinder * Update meta.yaml * Merge pull request #4 from liaochenlanruo/master update local branch * Merge pull request #3 from bioconda/master update local fork * Merge pull request #2 from bioconda/master update fork * Update meta.yaml * Update meta.yaml * Merge branch 'master' of https://github.com/bioconda/bioconda-recipes * Merge pull request #1 from bioconda/master update local recipes
Merge PR #13363, commits were: * Update meta.yaml * Merge branch 'master' into intlim * Merge branch 'master' of https://github.com/bioconda/bioconda-recipes * Merge branch 'master' of github.com:abotzki/bioconda-recipes * Merge pull request #6 from bioconda/master merge from bioconda master * some cleanups * build requirements removed and LICENSE.txt added * Merge branch 'master' of github.com:abotzki/bioconda-recipes * Merge pull request #5 from bioconda/master merge from bioconda master * Merge pull request #4 from bioconda/master merge from bioconda master * Merge branch 'master' of https://github.com/bioconda/bioconda-recipes * Merge branch 'master' of https://github.com/bioconda/bioconda-recipes into intlim * Merge branch 'master' of github.com:abotzki/bioconda-recipes into intlim * Merge pull request #3 from bioconda/master merge from bioconda * Merge branch 'master' of https://github.com/bioconda/bioconda-recipes into intlim * correct URL and license * add missing packages * typo corrected * Merge branch 'master' of github.com:abotzki/bioconda-recipes into intlim * Merge pull request #2 from bioconda/master merge from bioconda master * add initial version of intlim * scikit-learn added * noarch section added * new recipe mofapy * Merge branch 'master' of https://github.com/bioconda/bioconda-recipes * Merge pull request #1 from bioconda/master merge from master
Merge PR #20792, commits were: * Update meta.yaml * Merge branch 'master' into pgcgap * Update PGCGAP to v1.0.11 * Merge branch 'pgcgap' of https://github.com/liaochenlanruo/bioconda-recipes into pgcgap * canu>=1.8 * Merge branch 'master' into pgcgap * Update meta.yaml * add modeltest-ng and raxml-ng * Merge branch 'master' into pgcgap * add circlator and unicycler * Merge branch 'master' into pgcgap * update pgcgap to v1.0.10 * add abricate * Merge pull request #6 from liaochenlanruo/master update pgcgap branch * Merge pull request #5 from bioconda/master update local files * add gubbins 2.3.4 * Update meta.yaml * Update meta.yaml * Update meta.yaml * add gubbins 2.3.4 * add gubbins * combination of roary and orthofinder * Update meta.yaml * Merge pull request #4 from liaochenlanruo/master update local branch * Merge pull request #3 from bioconda/master update local fork * Merge pull request #2 from bioconda/master update fork * Update meta.yaml * Update meta.yaml * Merge branch 'master' of https://github.com/bioconda/bioconda-recipes * Merge pull request #1 from bioconda/master update local recipes
Merge PR #21021, commits were: * Update meta.yaml * Merge branch 'master' into pgcgap * Update PGCGAP to v1.0.11 * Merge branch 'pgcgap' of https://github.com/liaochenlanruo/bioconda-recipes into pgcgap * canu>=1.8 * Merge branch 'master' into pgcgap * Update meta.yaml * add modeltest-ng and raxml-ng * Merge branch 'master' into pgcgap * add circlator and unicycler * Merge branch 'master' into pgcgap * update pgcgap to v1.0.10 * add abricate * Merge pull request #6 from liaochenlanruo/master update pgcgap branch * Merge pull request #5 from bioconda/master update local files * add gubbins 2.3.4 * Update meta.yaml * Update meta.yaml * Update meta.yaml * add gubbins 2.3.4 * add gubbins * combination of roary and orthofinder * Update meta.yaml * Merge pull request #4 from liaochenlanruo/master update local branch * Merge pull request #3 from bioconda/master update local fork * Merge pull request #2 from bioconda/master update fork * Update meta.yaml * Update meta.yaml * Merge branch 'master' of https://github.com/bioconda/bioconda-recipes * Merge pull request #1 from bioconda/master update local recipes
Merge PR #21459, commits were: * Update meta.yaml * Merge branch 'master' into pgcgap * Update PGCGAP to v1.0.11 * Merge branch 'pgcgap' of https://github.com/liaochenlanruo/bioconda-recipes into pgcgap * canu>=1.8 * Merge branch 'master' into pgcgap * Update meta.yaml * add modeltest-ng and raxml-ng * Merge branch 'master' into pgcgap * add circlator and unicycler * Merge branch 'master' into pgcgap * update pgcgap to v1.0.10 * add abricate * Merge pull request #6 from liaochenlanruo/master update pgcgap branch * Merge pull request #5 from bioconda/master update local files * add gubbins 2.3.4 * Update meta.yaml * Update meta.yaml * Update meta.yaml * add gubbins 2.3.4 * add gubbins * combination of roary and orthofinder * Update meta.yaml * Merge pull request #4 from liaochenlanruo/master update local branch * Merge pull request #3 from bioconda/master update local fork * Merge pull request #2 from bioconda/master update fork * Update meta.yaml * Update meta.yaml * Merge branch 'master' of https://github.com/bioconda/bioconda-recipes * Merge pull request #1 from bioconda/master update local recipes
Merge PR #21599, commits were: * Update meta.yaml * Merge branch 'master' into pgcgap * Update PGCGAP to v1.0.11 * Merge branch 'pgcgap' of https://github.com/liaochenlanruo/bioconda-recipes into pgcgap * canu>=1.8 * Merge branch 'master' into pgcgap * Update meta.yaml * add modeltest-ng and raxml-ng * Merge branch 'master' into pgcgap * add circlator and unicycler * Merge branch 'master' into pgcgap * update pgcgap to v1.0.10 * add abricate * Merge pull request #6 from liaochenlanruo/master update pgcgap branch * Merge pull request #5 from bioconda/master update local files * add gubbins 2.3.4 * Update meta.yaml * Update meta.yaml * Update meta.yaml * add gubbins 2.3.4 * add gubbins * combination of roary and orthofinder * Update meta.yaml * Merge pull request #4 from liaochenlanruo/master update local branch * Merge pull request #3 from bioconda/master update local fork * Merge pull request #2 from bioconda/master update fork * Update meta.yaml * Update meta.yaml * Merge branch 'master' of https://github.com/bioconda/bioconda-recipes * Merge pull request #1 from bioconda/master update local recipes
Merge PR #37080, commits were: * Update meta.yaml * Update meta.yaml * Update meta.yaml * Merge branch 'master' into master * Merge branch 'master' into master * Merge pull request #8 from marcDabad/cvlr_package new emas commit * new emas commit * Merge pull request #7 from marcDabad/cvlr_package fix variable * fix variable * Merge branch 'master' into master * Merge pull request #6 from marcDabad/cvlr_package gcc 2 cc * gcc 2 cc * Merge branch 'master' into master * Merge pull request #5 from marcDabad/cvlr_package passes tests in local * passes tests in local * Merge branch 'master' into master * Merge pull request #4 from marcDabad/cvlr_package cc * cc * Merge pull request #3 from marcDabad/cvlr_package Cvlr package * Merge branch 'master' into master * Merge branch 'cvlr_package' of https://github.com/marcDabad/bioconda-recipes into cvlr_package * cvlr_recipe * Merge pull request #2 from marcDabad/cvlr_package Cvlr package * Merge branch 'master' into cvlr_package * Merge pull request #1 from bioconda/master update * cvlr_recipe
No description provided.