aboutsummaryrefslogtreecommitdiff
path: root/depends/funcs.mk
Commit message (Collapse)AuthorAgeFilesLines
* depends: fix fallback downloadsCory Fields2016-04-041-6/+10
| | | | | In some cases, failed downloads wouldn't trigger a fallback download attempt. Namely, checksum mismatches.
* depends: create a hostid and buildid and add option for saltsCory Fields2016-04-041-1/+1
| | | | | | | | | These add very simple sanity checks to ensure that the build/host toolchains have not changed since the last run. If they have, all ids will change and packages will be rebuilt. For more complicated usage (like parsing dpkg), HOST_ID_SALT/BUILD_ID_SALT may be used to introduce arbitrary data to the ids.
* depends: sanity-check sources and cached buildsCory Fields2015-05-141-3/+10
| | | | | | | | | | In some cases (Travis), sources and build caches may be moved around in-between builds, and we can't necessarily trust that everything is still intact. This introduces pre-build checks that verify against stashed checksums. Note that this will cause all sources to be re-downloaded, since cached sources weren't trustworthy before this.
* depends: fix typosMichael Ford2015-01-311-1/+1
|
* depends: fix major regression after d546191dc.Cory Fields2014-12-311-2/+2
| | | | | | Broken hash logic caused all depends on some platforms (osx at least) to end up with the same build-id. Without this fix, nothing will be rebuilt when recipes or dependencies change.
* depends: Move source stamps to source dir and misc cleanupsCory Fields2014-12-111-11/+13
| | | | | | | | | | | | | | Since the last commit will force rebuilds of all depends, take the opportunity to clean up a few other things that would trigger rebuilds as well. - Move source stamps to the sources dir so that SOURCES_PATH is respected for "make download". - Only print "fetching..." when actually downloading a file. - Avoid using non-deterministic paths for the recipe hash (patch location). This should ensure that all builders get the same resulting build-ids. - Use a per-package source paths. This will allow for removing old source files in the future. - Use a host-agnostic path for downloads which gets cleaned up properly.
* depends: add the debug/release concept to dependsCory Fields2014-09-251-32/+39
|
* depends: fix typo in source downloading. Regression from c897b1e732.Cory Fields2014-09-041-2/+2
| | | | | | | Some sources are renamed after download, since the filenames don't play nice with (for example) gitian. This fixes the rename. Needed for OSX build as it renames a file.
* depends: add a fallback path in case package sources go missingCory Fields2014-08-221-6/+8
| | | | | | If a source url fails to download, try again at $FALLBACK_DOWNLOAD_PATH/file.name, where FALLBACK_DOWNLOAD_PATH can be overridden by the user.
* depends: fix shasum on osx < 10.9Cory Fields2014-08-151-2/+6
| | | | | | | Shasum verification from stdin doesn't work there, so we write to a file instead. Formatted a bit too.
* depends: add shared dependency builderCory Fields2014-08-081-0/+219
See the README's in depends for documentation