diff options
author | zbao <fishbaozi@gmail.com> | 2015-04-30 04:44:07 +0800 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2015-05-04 14:56:21 +0200 |
commit | 939dc8492ae80858575db3e808baf18f5ab651a0 (patch) | |
tree | f64b49083c866c69ca0c4dcf713a2883360c763c /util/crossgcc/sum | |
parent | 6548ae9f99beba89f3dcf5c7b0c86c75d5c0ab5c (diff) |
crossgcc: Re-download the archive if it is incomplete
If the buildgcc is interrupt by Ctrl-C, probably part of
an archive is downloaded. If we run buildgcc again, the
incomplete archive would be considered as cached file
and skipped.
We check file hashes to see if the file is complete. If test
is failed, we need to delete the partially-downloaded file
and download it again.
sha1sum is quite different among the distributions.
Only Linux, Cygwin, Darwin have been tested.
Once new archive is deployed, a new checksum would be created,
which should be uploaded along with the script buildgcc.
Change-Id: Ibb1aa25a0374f774e1e643fe5e698de7bf7cc418
Signed-off-by: Zheng Bao <zheng.bao@amd.com>
Signed-off-by: Zheng Bao <fishbaozi@gmail.com>
Reviewed-on: http://review.coreboot.org/4511
Tested-by: build bot (Jenkins)
Reviewed-by: Idwer Vollering <vidwer@gmail.com>
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'util/crossgcc/sum')
-rw-r--r-- | util/crossgcc/sum/acpica-unix-20150204.tar.gz.cksum | 1 | ||||
-rw-r--r-- | util/crossgcc/sum/binutils-2.25.tar.bz2.cksum | 1 | ||||
-rw-r--r-- | util/crossgcc/sum/gcc-4.9.2.tar.bz2.cksum | 1 | ||||
-rw-r--r-- | util/crossgcc/sum/gmp-6.0.0a.tar.bz2.cksum | 1 | ||||
-rw-r--r-- | util/crossgcc/sum/libelf-0.8.13.tar.gz.cksum | 1 | ||||
-rw-r--r-- | util/crossgcc/sum/mpc-1.0.3.tar.gz.cksum | 1 | ||||
-rw-r--r-- | util/crossgcc/sum/mpfr-3.1.2.tar.bz2.cksum | 1 |
7 files changed, 7 insertions, 0 deletions
diff --git a/util/crossgcc/sum/acpica-unix-20150204.tar.gz.cksum b/util/crossgcc/sum/acpica-unix-20150204.tar.gz.cksum new file mode 100644 index 0000000000..c2f201f3b8 --- /dev/null +++ b/util/crossgcc/sum/acpica-unix-20150204.tar.gz.cksum @@ -0,0 +1 @@ +e8ab49a9cd47ec1f3542b4185852bb49814c7694 tarballs/acpica-unix-20150204.tar.gz diff --git a/util/crossgcc/sum/binutils-2.25.tar.bz2.cksum b/util/crossgcc/sum/binutils-2.25.tar.bz2.cksum new file mode 100644 index 0000000000..1f339d4084 --- /dev/null +++ b/util/crossgcc/sum/binutils-2.25.tar.bz2.cksum @@ -0,0 +1 @@ +b46cc90ebaba7ffcf6c6d996d60738881b14e50d tarballs/binutils-2.25.tar.bz2 diff --git a/util/crossgcc/sum/gcc-4.9.2.tar.bz2.cksum b/util/crossgcc/sum/gcc-4.9.2.tar.bz2.cksum new file mode 100644 index 0000000000..b1d8c4694f --- /dev/null +++ b/util/crossgcc/sum/gcc-4.9.2.tar.bz2.cksum @@ -0,0 +1 @@ +79dbcb09f44232822460d80b033c962c0237c6d8 tarballs/gcc-4.9.2.tar.bz2 diff --git a/util/crossgcc/sum/gmp-6.0.0a.tar.bz2.cksum b/util/crossgcc/sum/gmp-6.0.0a.tar.bz2.cksum new file mode 100644 index 0000000000..67d60bf20c --- /dev/null +++ b/util/crossgcc/sum/gmp-6.0.0a.tar.bz2.cksum @@ -0,0 +1 @@ +360802e3541a3da08ab4b55268c80f799939fddc tarballs/gmp-6.0.0a.tar.bz2 diff --git a/util/crossgcc/sum/libelf-0.8.13.tar.gz.cksum b/util/crossgcc/sum/libelf-0.8.13.tar.gz.cksum new file mode 100644 index 0000000000..daa27c684f --- /dev/null +++ b/util/crossgcc/sum/libelf-0.8.13.tar.gz.cksum @@ -0,0 +1 @@ +c1d6ac5f182d19dd685c4dfd74eedbfe3992425d tarballs/libelf-0.8.13.tar.gz diff --git a/util/crossgcc/sum/mpc-1.0.3.tar.gz.cksum b/util/crossgcc/sum/mpc-1.0.3.tar.gz.cksum new file mode 100644 index 0000000000..c7ca1ac84f --- /dev/null +++ b/util/crossgcc/sum/mpc-1.0.3.tar.gz.cksum @@ -0,0 +1 @@ +b8be66396c726fdc36ebb0f692ed8a8cca3bcc66 tarballs/mpc-1.0.3.tar.gz diff --git a/util/crossgcc/sum/mpfr-3.1.2.tar.bz2.cksum b/util/crossgcc/sum/mpfr-3.1.2.tar.bz2.cksum new file mode 100644 index 0000000000..d62e24396c --- /dev/null +++ b/util/crossgcc/sum/mpfr-3.1.2.tar.bz2.cksum @@ -0,0 +1 @@ +46d5a11a59a4e31f74f73dd70c5d57a59de2d0b4 tarballs/mpfr-3.1.2.tar.bz2 |