mirror of
				https://github.com/cheat/cheat.git
				synced 2025-11-04 07:45:28 +01:00 
			
		
		
		
	Add ARM64/ARMv8 build
This commit is contained in:
		
				
					committed by
					
						
						Chris Lane
					
				
			
			
				
	
			
			
			
						parent
						
							018bce7ad5
						
					
				
				
					commit
					a2aa82d9f3
				
			
							
								
								
									
										6
									
								
								Makefile
									
									
									
									
									
								
							
							
						
						
									
										6
									
								
								Makefile
									
									
									
									
									
								
							@@ -36,6 +36,7 @@ releases :=                        \
 | 
			
		||||
	$(dist_dir)/cheat-linux-arm5   \
 | 
			
		||||
	$(dist_dir)/cheat-linux-arm6   \
 | 
			
		||||
	$(dist_dir)/cheat-linux-arm7   \
 | 
			
		||||
	$(dist_dir)/cheat-linux-arm64   \
 | 
			
		||||
	$(dist_dir)/cheat-windows-amd64.exe
 | 
			
		||||
 | 
			
		||||
## build: build an executable for your architecture
 | 
			
		||||
@@ -76,6 +77,11 @@ $(dist_dir)/cheat-linux-arm6: prepare
 | 
			
		||||
$(dist_dir)/cheat-linux-arm7: prepare
 | 
			
		||||
	GOARCH=arm GOOS=linux GOARM=7 \
 | 
			
		||||
	$(GO) build $(BUILD_FLAGS) -o $@ $(cmd_dir) && $(GZIP) $@ && chmod -x $@.gz
 | 
			
		||||
	
 | 
			
		||||
# cheat-linux-arm64
 | 
			
		||||
$(dist_dir)/cheat-linux-arm64: prepare
 | 
			
		||||
	GOARCH=arm64 GOOS=linux \
 | 
			
		||||
	$(GO) build $(BUILD_FLAGS) -o $@ $(cmd_dir) && $(GZIP) $@ && chmod -x $@.gz
 | 
			
		||||
 | 
			
		||||
# cheat-windows-amd64
 | 
			
		||||
$(dist_dir)/cheat-windows-amd64.exe: prepare
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user