Fix master builds on mips* again (#815)

* Use local folder for xgo

* Always do crosscompile and testing to fail early

* Added mips* values for boltdb

In order to get master building again I have applied these 2 additional
files to boltdb. This should get dropped when
https://github.com/boltdb/bolt/issues/656 gets solved.
This commit is contained in:
Thomas Boerger 2017-02-02 04:56:08 +01:00 committed by Lunny Xiao
parent 79ab69fe30
commit ea8c8cdaf3
5 changed files with 23 additions and 8 deletions

8
vendor/github.com/boltdb/bolt/bolt_mips64.go generated vendored Normal file
View file

@ -0,0 +1,8 @@
// +build mips64
package bolt
// maxMapSize represents the largest mmap size supported by Bolt.
const maxMapSize = 0xFFFFFFFFFFFF // 256TB
// maxAllocSize is the size used when creating array pointers.
const maxAllocSize = 0x7FFFFFFF

8
vendor/github.com/boltdb/bolt/bolt_mips64le.go generated vendored Normal file
View file

@ -0,0 +1,8 @@
// +build mips64le
package bolt
// maxMapSize represents the largest mmap size supported by Bolt.
const maxMapSize = 0xFFFFFFFFFFFF // 256TB
// maxAllocSize is the size used when creating array pointers.
const maxAllocSize = 0x7FFFFFFF