Commit Graph

43 Commits

Author SHA1 Message Date
Michael Schurter 06a4d3c6cd Fix overriding build targets 2017-03-14 10:47:29 -07:00
Michael Schurter 1f6090371b make bin creates a release binary for the host arch
make dev properly copies the binary into bin/ again.

make release still creates binaries for as many archs as possible.

Fixes #2407
2017-03-08 17:42:28 -08:00
Michael Schurter 518e4f75a6 Replace "-" in env var keys with "_"
Fixes #2405
2017-03-06 19:57:44 -08:00
Alex Dadgar 0124ba1406 Fix docs and script 2017-03-03 16:00:39 -08:00
Jonathan Wright 87b84c71a6 Fix spelling error for CGO_ENABLED variable in build script 2017-03-01 19:21:46 +00:00
Michael Schurter 2f0a5e355e Oops! Don't try to build darwin on Linux.
Someday maybe
2017-02-23 16:58:21 -08:00
Michael Schurter 885f4ae9f9 Allow building specific targets 2017-02-23 13:27:28 -08:00
Michael Schurter f2cf2b1df1 Fix 32bit arm build
Had to use the hack from https://github.com/golang/go/issues/12443
2017-02-09 11:22:17 -08:00
Alex Dadgar d318e5bc38 Add windows exe extension 2017-02-05 13:17:13 -08:00
Diptanu Choudhury b6c629a6b9 fixed conflicts 2017-01-31 13:20:58 -08:00
Michael Schurter 5cd710bd8e Upgrade vagrant/release to Ubuntu 16.04 / Go 1.7.5
Switch back to soft-float arm32 as armhf chips are backward compatible.
2017-01-27 16:08:21 -08:00
Michael Schurter 6a085080bc Split out massive list of cross compile deps+cmds 2017-01-27 16:08:21 -08:00
Michael Schurter e620336a0c Install crosscompile dep to build arm in Vagrant 2017-01-27 16:08:21 -08:00
Michael Schurter 6a5fa593fa Split dev build into its own script
The dev build is far simpler than the release build, so move it to its
own shell script. This simplifies the release build script slightly as
well at the cost of duplicating the version/tag logic.

Also don't even try to check for LXC if not running on Linux. I don't
think we want to try to support cross-compiling LXC from non-Linux
hosts.
2017-01-27 16:08:21 -08:00
root c3869ffd73
Release v0.5.3-rc1 2017-01-24 18:30:10 +00:00
Michael Schurter 81a709e6d4 Use - not _ for lxc enabled build 2016-12-15 11:06:03 -08:00
root 8c1bdc0342
Release v0.5.0-rc2 2016-11-10 19:08:15 +00:00
Seth Vargo de0c9d3911
Simplify xc script
This is the same set of builds that we currently publish, but it groups
them into less magic.
2016-10-27 22:08:58 -04:00
Michael Schurter f430203505 Put lxc support behind a flag
Since lxc support requires linking to a C lib at compile and runtime
I'm putting it behind a build flag to avoid forcing all nomad users to
install liblxc (lxc-dev for development).
2016-10-26 14:55:54 -07:00
vagrant dbbb20dd99
Release v0.4.1-rc1 2016-08-13 01:02:08 +00:00
Diptanu Choudhury 7fbb661756 Enabled cgo 2016-08-12 17:34:54 -07:00
Diptanu Choudhury d1a4acb300 Updated the build script 2016-08-12 15:55:39 -07:00
Alex Dadgar 5a09c44517 Add OSs back to build script 2016-06-28 14:30:02 -07:00
Alex Dadgar e207339e80
Release v0.4.0 2016-06-28 14:26:34 -07:00
Diptanu Choudhury ac724e2800 Revert changes to build script 2016-06-22 17:01:53 -07:00
vagrant 0a6e2a245c
Release v0.4.0-rc2 2016-06-22 23:50:29 +00:00
Sean Chittenden faea8921d6
Remove the FreeBSD exclusion rule.
Other *NIX systems may be eligible for being removed from this list
but I am not in a position to support or test them at present.
2016-06-16 23:07:13 -07:00
Sean Chittenden 4a507c0ddb Fully enumerate build targets
Exclude broken build targets from gox
2016-05-07 12:12:04 -07:00
Sean Chittenden 7fbc365feb Go's -X linker flag now requires only one argument 2016-03-17 11:57:46 -07:00
Diptanu Choudhury 25fd1194fc Removing support for Go 1.5.3 2016-02-22 00:42:34 -08:00
Diptanu Choudhury efea99001a Fixed the make dev target 2016-02-12 10:36:11 -08:00
Jake Champlin f40371963b Allow compilation on BSD
BSD Make uses `$.CURDIR` instead of `$CURDIR`. BSD and GNU share `$PWD`
though, so it works as a drop in replacement.

Also update scripts in `scripts/` to call `/usr/bin/env` in the shebang,
as BSD places `bash` at `/usr/local/bin/bash` instead of `/bin/bash`
2016-01-27 20:37:29 -05:00
Diptanu Choudhury f6fb42835e Using cgo dependencies to look up users 2015-12-15 11:12:13 -08:00
Camilo Aguilar 6e5c34e514 Fixes #505
https://github.com/hashicorp/nomad/pull/421 removed the last piece
of CGO dependant code. We we can stop building binaries with CGO
enabled now.
2015-12-04 12:20:34 -05:00
Alex Dadgar 1d15f6eda6 Bind alloc dir and task local dir to docker containers and parse args correctly 2015-10-15 16:40:07 -07:00
Ryan Uber 6254719898 Add release target, package Nomad 2015-09-30 12:54:59 -07:00
lalyos f26d9d0f61 use 'idiomatic' bash 2015-09-29 16:58:09 +02:00
Mitchell Hashimoto 22252974a2 scripts 2015-09-27 23:58:40 -07:00
Mitchell Hashimoto dc14f9be7e scripts for release 2015-09-27 23:21:00 -07:00
Seth Vargo 03f92e50fa Use = in -X because it's deprecated without 2015-09-20 16:36:30 -04:00
Armon Dadgar 1a18a57368 Fixing build script 2015-09-18 11:48:04 -07:00
Ryan Uber 76c7584eaf scripts: fix build warning 2015-09-08 11:24:28 -07:00
Armon Dadgar 0b91f01cbf Adding initial skeleton 2015-06-01 13:46:21 +02:00