emeryberger / Hoard

The Hoard Memory Allocator: A Fast, Scalable, and Memory-efficient Malloc for Linux, Windows, and Mac.
http://www.hoard.org
Apache License 2.0
1.1k stars 128 forks source link

Use a specific commit of Heap-Layers #43

Open ryandesign opened 6 years ago

ryandesign commented 6 years ago

Looks like Hoard's Makefile and GNUmakefile clone master of Heap-Layers. Unless you never change Heap-Layers, it seems likely that at some point you will introduce a change to Heap-Layers that will require a corresponding change to Hoard. When that happens, old versions of Hoard (which might be present in package management systems) will no longer be able to build. This problem might not always be noticed right away, leaving your software in broken state in that package management system for an unbounded period of time.

For this reason, you should download a specific version of Heap-Layers that is known to work with this version of Hoard.

I think git already behaved that way before when you were using submodules, so you could get this behavior back by reverting 5275686d67ae90c67f05d96c67cd2e4ea0076a0a and also making the same change to GNUmakefile.

emeryberger commented 5 years ago

Submodules have been a problem; people repeatedly fail to recursively clone and then wonder why Hoard won't build. It's a headache.

I could, however, checkout a specific version of Heap-Layers. Will that address this concern?