diff options
author | Thomas Boerger <thomas@webhippie.de> | 2017-02-02 04:56:08 +0100 |
---|---|---|
committer | Lunny Xiao <xiaolunwen@gmail.com> | 2017-02-02 11:56:08 +0800 |
commit | ea8c8cdaf358a3cc96fbf749d50a9b15a6f3ca41 (patch) | |
tree | dad82dc1660de7e1684a142322983e006a7f9009 /vendor/github.com/boltdb | |
parent | 79ab69fe30b9e7779186c1ffde48e5186a0f578d (diff) | |
download | gitea-ea8c8cdaf358a3cc96fbf749d50a9b15a6f3ca41.tar.gz gitea-ea8c8cdaf358a3cc96fbf749d50a9b15a6f3ca41.zip |
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.
Diffstat (limited to 'vendor/github.com/boltdb')
-rw-r--r-- | vendor/github.com/boltdb/bolt/bolt_mips64.go | 8 | ||||
-rw-r--r-- | vendor/github.com/boltdb/bolt/bolt_mips64le.go | 8 |
2 files changed, 16 insertions, 0 deletions
diff --git a/vendor/github.com/boltdb/bolt/bolt_mips64.go b/vendor/github.com/boltdb/bolt/bolt_mips64.go new file mode 100644 index 0000000000..c1dfbac577 --- /dev/null +++ b/vendor/github.com/boltdb/bolt/bolt_mips64.go @@ -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 diff --git a/vendor/github.com/boltdb/bolt/bolt_mips64le.go b/vendor/github.com/boltdb/bolt/bolt_mips64le.go new file mode 100644 index 0000000000..45be6947a0 --- /dev/null +++ b/vendor/github.com/boltdb/bolt/bolt_mips64le.go @@ -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 |