cloudflare / tls-tris

crypto/tls, now with 100% more 1.3. THE API IS NOT STABLE AND DOCUMENTATION IS NOT GUARANTEED.
Other
291 stars 51 forks source link

Makefile: avoid unnecessary rebuilds of the library #173

Closed Lekensteyn closed 5 years ago

Lekensteyn commented 5 years ago
Lekensteyn commented 5 years ago

Changes since the initial PR:

Initially the Makefile depended on $(GOROOT_LOCAL)/pkg under the assumption that this directory will have an older mtime whenever $(GOROOT_LOCAL)/pkg is updated. This was not the case with the bogo test and prevented the $(GOROOT_LOCAL)/src from being updated to the latest version. As a fix, now the version is included (as $(GOROOT_LOCAL)/pkg/.ok_$(VER_OS_ARCH).

Lekensteyn commented 5 years ago

Hi @henrydcase, any comments on this patch? It would remove unnecessary git clones during the build and speed up development.