Christopher Swenson
81b702b918
Remove gox in favor of go build. ( #16353 )
...
Remove gox in favor of go build.
`gox` hasn't had a release to update it in many years, so is missing
support for many modern systems, like `darwin/arm64`.
In any case, we only use it for dev builds, where we don't even use
the ability of it to build for multiple platforms. Release builds use
`go build` now.
So, this switches to `go build` everywhere.
I pulled this down and tested it in Windows as well. (Side note: I
couldn't get `gox` to work in Windows, so couldn't build before this
change.)
2022-07-20 10:44:41 -07:00
Chris Capurso
e69f89c279
Add build date ( #14957 )
...
* add BuildDate to version base
* populate BuildDate with ldflags
* include BuildDate in FullVersionNumber
* add BuildDate to seal-status and associated status cmd
* extend core/versions entries to include BuildDate
* include BuildDate in version-history API and CLI
* fix version history tests
* fix sys status tests
* fix TestStatusFormat
* remove extraneous LD_FLAGS from build.sh
* add BuildDate to build.bat
* fix TestSysUnseal_Reset
* attempt to add build-date to release builds
* add branch to github build workflow
* add get-build-date to build-* job needs
* fix release build command vars
* add missing quote in release build command
* Revert "add branch to github build workflow"
This reverts commit b835699ecb7c2c632757fa5fe64b3d5f60d2a886.
* add changelog entry
2022-04-19 14:28:08 -04:00
Robert
89b8c84928
Remove old binary before copying new one to GOPATH/bin ( #13966 )
2022-02-09 08:32:10 -05:00
Scott Miller
3dfe5176ee
Darwin/ARM64 build target ( #11321 )
...
* Update to Go 1.16.2 for build/dev
* Update SDK version_base
* 1st attempt
* Update docker images
* wip
* wip
2021-04-09 09:53:03 -05:00
Calvin Leung Huang
80ea138b9e
scripts: make build.sh gocmd aware ( #9394 )
2020-07-02 17:45:41 -07:00
Jeff Mitchell
8bcb533a1b
Create sdk/ and api/ submodules ( #6583 )
2019-04-12 17:54:35 -04:00
Jeff Mitchell
9193792773
Sync over
2019-03-18 09:33:01 -04:00
Jeff Mitchell
379b05d281
Add the ability for make dev to honor XC_OSARCH
2018-03-03 12:35:36 -05:00
Jeff Mitchell
259e425beb
It's not a 1.10 thing apparently.
...
Revert "Revert "Remove netbsd/arm as it won't compile""
This reverts commit 8b43db120c5b3f15723e7ea61edcf0d4c2c7fc9f.
2018-02-26 12:40:49 -05:00
Jeff Mitchell
fb41cf74d7
Revert "Remove netbsd/arm as it won't compile"
...
This reverts commit 3d4bd6f3cb083e8ee5dac980db58474382a99834.
2018-02-26 12:27:25 -05:00
Jeff Mitchell
7d673e5e05
Remove netbsd/arm as it won't compile
2018-02-20 15:27:33 -05:00
Bharath B
ab9111827d
Remove symbols from vault binary ( #3369 )
2017-11-08 07:53:08 -05:00
Chris Hoffman
893c63ef01
adding ability to set gcflags on build ( #3451 )
2017-10-11 11:36:26 -04:00
Jeff Mitchell
16c6a84a8a
Add linux/arm64 build.
...
Fixes #2630
2017-04-24 09:35:36 -04:00
James Nugent
2c14ff7385
build: Add support for building on Illumos
...
This commit adds support for building for Illumos-derived operating
systems. Regrettably, the cyrpto/ssh/terminal package does not include
implementations of the functions IsTerminal, MakeRaw or Restore for the
solaris OS. Consequently this commit implements them in Vault.
makeRaw(fd int) is based on the Illumos implementation of the getpass
function [1] for the correct flags. isTerminal(fd int) is based on the
Illumos libc implementation [2] of isatty.
[1] http://src.illumos.org/source/xref/illumos-gate/usr/src/lib/libast/common/uwin/getpass.c
[2] http://src.illumos.org/source/xref/illumos-gate/usr/src/lib/libbc/libc/gen/common/isatty.c
2016-08-13 00:20:15 -04:00
vishalnayak
0617199d7d
Set the OSARCH for dev builds
2016-05-24 13:25:50 -04:00
Jeff Mitchell
315db7c8ad
Cut version 0.6.0-beta1
2016-05-23 16:14:15 -04:00
Jeff Mitchell
3d2d044693
Rename build tags
2016-04-28 00:59:33 +00:00
Jeff Mitchell
1027b51d17
Built tag-ify sealtesting
2016-04-28 00:47:44 +00:00
Sean Chittenden
c14975c54c
Go's -X linker flag now requires only one argument
2016-03-17 10:57:25 -07:00
Jeff Mitchell
786bce24b1
Remove us building Solaris binaries for the moment, as they don't build successfully
2016-03-16 15:47:55 -04:00
Jeff Mitchell
d8a840cb2a
Increase platforms for next build
2016-02-25 15:49:12 -05:00
Jeff Mitchell
7e36ff547d
TF_DEV->VAULT_DEV_BUILD
2016-02-25 11:05:51 -05:00
Jeff Mitchell
7a4eda156c
Migrate to built-in Go vendoring.
...
This also removes `godep` calls from make scripts. Of note is that
currently `./...` checking in acceptance tests is disabled.
2016-02-18 15:06:02 -05:00
Jeff Mitchell
75f1c1e40c
Print version on startup.
...
Fixes #765
2015-11-09 13:52:55 -05:00
Armon Dadgar
c0d01df519
Merge pull request #404 from BRMatt/patch-1
...
Ensure build.sh uses dependencies vendored by godeps
2015-07-22 17:30:06 -07:00
Jeff Zellner
25ea28f419
use /usr/bin/env to find bash
2015-07-21 20:06:54 -06:00
Matt Button
2d0777a32f
Ensure build.sh uses dependencies vendored by godeps
2015-07-08 14:02:37 +01:00
Mitchell Hashimoto
15d3d88c48
don't compile for open/freebsd [GH-136]
2015-05-11 10:34:17 -07:00
Mitchell Hashimoto
57be8bcc09
move the cli to the cli/ package so enterprising individuals can call it
2015-04-12 16:58:45 -07:00
Mitchell Hashimoto
ba870b8fd2
scripts
2015-03-03 23:14:18 -08:00