Giter VIP home page Giter VIP logo

Comments (10)

 avatar commented on September 26, 2024

Have you tried enabling ccache? How much is the build sped up?

from multibuild.

anthrotype avatar anthrotype commented on September 26, 2024

I haven't. Will let you know

from multibuild.

matthew-brett avatar matthew-brett commented on September 26, 2024

Yes, an environment variable would be fine - any interest in making a PR for that?

from multibuild.

 avatar commented on September 26, 2024

I mean yes, it would be fine, but ccache accomplishes exactly the same thing, and it results in overall less maintenance. My concern is that people will try to solve "using your own docker image" when they're really trying to solve "speeding up their builds."

from multibuild.

anthrotype avatar anthrotype commented on September 26, 2024

I'll try the ccache first. I don't particularly want to maintain a fork of the manylinux1 docker.

from multibuild.

 avatar commented on September 26, 2024

@anthrotype Just so we're on the same page, all you have to do is add these lines to travis.yml:

https://github.com/matthew-brett/multibuild/blob/9f2e1c6fb2c3889f96268f2ab5710b0cdd6d39e7/.travis.yml#L10-L12

https://github.com/matthew-brett/multibuild/blob/9f2e1c6fb2c3889f96268f2ab5710b0cdd6d39e7/.travis.yml#L29

from multibuild.

anthrotype avatar anthrotype commented on September 26, 2024

Thanks!

from multibuild.

anthrotype avatar anthrotype commented on September 26, 2024

@xoviat how do I check that the USE_CCACHE option is actually doing anything? Sorry, I'm not familiar with this ccache thing. I don't see much of a difference. My (linux) builds still take 7 minutes and a half on average (which I guess it's ok).

from multibuild.

 avatar commented on September 26, 2024

Seeing that OSX took 12 minutes and the libraries were pre-compiled, I doubt the the "building libraries" phase of the build is responsible for more than two or three minutes. 7 minutes though is an appropriate time for multibuild to run; it's not meant for iteration.

from multibuild.

anthrotype avatar anthrotype commented on September 26, 2024

fair enough, thanks.

from multibuild.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.