mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 16:40:24 +08:00 
			
		
		
		
	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:
		
				
					committed by
					
						
						Lunny Xiao
					
				
			
			
				
	
			
			
			
						parent
						
							79ab69fe30
						
					
				
				
					commit
					ea8c8cdaf3
				
			
							
								
								
									
										8
									
								
								vendor/github.com/boltdb/bolt/bolt_mips64.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										8
									
								
								vendor/github.com/boltdb/bolt/bolt_mips64.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal 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
									
								
							
							
						
						
									
										8
									
								
								vendor/github.com/boltdb/bolt/bolt_mips64le.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal 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
 | 
			
		||||
		Reference in New Issue
	
	Block a user