libgo: only rebuild package if dependent .gox has changed
commit6a192a8f5146a39ed59bad30892d3ae30f62dde9
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 1 Nov 2016 13:54:21 +0000 (1 13:54 +0000)
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 1 Nov 2016 13:54:21 +0000 (1 13:54 +0000)
tree9acb7767e9def70288ebb2e996ed1cee01dfa9a5
parent29645b477b60f56c8e3498a5d8e639b9b96e0c30
libgo: only rebuild package if dependent .gox has changed

    Use mvifdiff and stamp files to track whether a .gox file has changed.
    When package A depends on package B, and we rebuild package B, only
    rebuild package A if package B's .gox file changes.  This is safe
    because when package A imports package B it only reads package B's .gox
    file.  This means that changes that do not affect export information
    will not cause dependent packages to be recompiled.

    Reviewed-on: https://go-review.googlesource.com/32476

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@241742 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/go/gofrontend/MERGE
libgo/Makefile.am
libgo/Makefile.in