[Commits] [wesnoth/wesnoth] 3cbf4a: Enables travis to cache scons' build/ directory.

GitHub noreply at github.com
Fri Feb 9 15:05:28 UTC 2018


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 3cbf4aa40cbeb0b40bea0500f2e1d7b00b62e219
      https://github.com/wesnoth/wesnoth/commit/3cbf4aa40cbeb0b40bea0500f2e1d7b00b62e219
  Author: pentarctagon <pentarctagon at tutamail.com>
  Date:   2018-02-10 (Sat, 10 Feb 2018)

  Changed paths:
    M .travis.yml

  Log Message:
  -----------
  Enables travis to cache scons' build/ directory.

Scons makes this simple - all the object files are placed in build/release/, and the build/sconsign.dblite file keeps track of the md5 sum of each file built. This then means all that's necessary to prevent scons from doing a full rebuild each time is to cache the build/ directory.

Keep in mind however, that this does not make the actual compiling faster, it just means that most of the time fewer things will need to be compiled. Any change that would trigger a rebuild of most or all of the source files will still take just as long as before.





More information about the Commits mailing list