Commit Graph

14 Commits

Author SHA1 Message Date
Carlos Martín Nieto 27d123f631 Deduplicate Makefile static target and add thread locking check
It turns out we had been running CI without performing the thread locking check.
2017-07-08 18:24:41 +02:00
Carlos Martín Nieto e7747d3174 travis: build statically 2017-04-14 12:51:13 +02:00
Carlos Martín Nieto 5001942b59 Allow building statically via the "static" build tag 2017-04-14 12:36:42 +02:00
Carlos Martín Nieto 9c5fb973fc Get rid of the with-static.sh script
CGO can perform variable substitution in the directives, so we don't
need to use a script to set up the variables; we can let the go tool do
it for us.
2016-11-01 00:17:51 +01:00
Carlos Martín Nieto 92fa6357ae Bring back the Makefile from 'next' 2016-08-27 21:11:22 +02:00
Matthew Donoughe 43f6a75066 remove static git support files 2015-02-13 21:43:16 -05:00
Carlos Martín Nieto ef83908059 Revert "Make the cgo tool do more linking work" 2014-12-31 19:43:20 +00:00
Carlos Martín Nieto 8f6e13bd08 Make the cgo tool do more linking work
The cgo directives let us do a lot more than I previously thought, so we
can use this to make the building process of git2go go through the go
tool directly rather than via the script.

libgit2 still needs to be built manually, so we do still require make,
but only for building libgit2. Once that's built, any modifications to
git2go's own code can be built with

    go build
2014-12-27 10:59:19 +00:00
Quinn Slack 3087e610fb add script for checking thread locks in funcs that call MakeGitError 2014-12-08 11:52:35 -08:00
Carlos Martín Nieto 12a3a1e05c Move the settings into the main git2go 2014-06-07 18:57:46 +02:00
Carlos Martín Nieto aabeb7f585 Really build statically 2014-06-07 15:43:05 +02:00
Carlos Martín Nieto 3da96c3dd7 Adjust travis script to static 2014-06-07 03:27:00 +02:00
Carlos Martín Nieto c734fc2a6b Use a submodule for libgit2
This makes building the static version easier as we know where the repo
is and that it's has a known-good version.
2014-06-07 03:03:04 +02:00
Carlos Martín Nieto 0646294282 Move some logic into the Makefile
This should provide a nice compromise between the scripts and comon
commands.
2014-06-03 18:35:09 +02:00