diff options
author | W. Trevor King <wking@tremily.us> | 2018-06-29 14:47:53 -0700 |
---|---|---|
committer | Atomic Bot <atomic-devel@projectatomic.io> | 2018-07-06 00:48:39 +0000 |
commit | 4b54a471a49cfae617c65b2027ae1e7cc1671cfc (patch) | |
tree | 4bccbfa40db5f2c6b65862d75cd681f1a2e10206 /Vagrantfile | |
parent | cc6f0e85f994cab66fb63c4dd8b77b4332151748 (diff) | |
download | podman-4b54a471a49cfae617c65b2027ae1e7cc1671cfc.tar.gz podman-4b54a471a49cfae617c65b2027ae1e7cc1671cfc.tar.bz2 podman-4b54a471a49cfae617c65b2027ae1e7cc1671cfc.zip |
Makefile: Use a pattern rule for cross-compilation
Pattern-rule documentation is in [1]. This commit follows the basic
approach from [2], with the portable build tags from [3].
Using --keep-going allows folks to see errors for multiple target
platforms. For example, if the Darwin target dies, we'll still
attempt to build the Linux target before erroring out.
I've added an ALLOWED_TO_FAIL environment variable to mark script
blocks for the the allow_failures block. Currently we're requiring
builds from Linux for Linux and OS X to succeed, but allowing builds
from OS X to both targets to fail.
[1]: https://www.gnu.org/software/make/manual/html_node/Pattern-Intro.html#Pattern-Intro
[2]: https://github.com/kubernetes-incubator/cri-o/commit/e5031fcf9af7d6c78d21e38ab9f82d2392ba05e8
[3]: https://github.com/kubernetes-incubator/cri-o/pull/1653
Signed-off-by: W. Trevor King <wking@tremily.us>
Closes: #1034
Approved by: baude
Diffstat (limited to 'Vagrantfile')
0 files changed, 0 insertions, 0 deletions