Makefile: detected TINYGO now works even if a rule changes directory
Этот коммит содержится в:
		
							родитель
							
								
									9c3f9537be
								
							
						
					
					
						коммит
						f4fdf8dce9
					
				
					 3 изменённых файлов: 3 добавлений и 3 удалений
				
			
		
							
								
								
									
										2
									
								
								.github/workflows/build-macos.yml
									
										
									
									
										предоставленный
									
									
								
							
							
						
						
									
										2
									
								
								.github/workflows/build-macos.yml
									
										
									
									
										предоставленный
									
									
								
							| 
						 | 
					@ -92,4 +92,4 @@ jobs:
 | 
				
			||||||
          path: build/tinygo.darwin-amd64.tar.gz
 | 
					          path: build/tinygo.darwin-amd64.tar.gz
 | 
				
			||||||
      - name: Smoke tests
 | 
					      - name: Smoke tests
 | 
				
			||||||
        shell: bash
 | 
					        shell: bash
 | 
				
			||||||
        run: make smoketest TINYGO=build/tinygo AVR=0
 | 
					        run: make smoketest TINYGO=$(PWD)/build/tinygo AVR=0
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
							
								
								
									
										2
									
								
								.github/workflows/windows.yml
									
										
									
									
										предоставленный
									
									
								
							
							
						
						
									
										2
									
								
								.github/workflows/windows.yml
									
										
									
									
										предоставленный
									
									
								
							| 
						 | 
					@ -92,6 +92,6 @@ jobs:
 | 
				
			||||||
          path: build/release/release.zip
 | 
					          path: build/release/release.zip
 | 
				
			||||||
      - name: Smoke tests
 | 
					      - name: Smoke tests
 | 
				
			||||||
        shell: bash
 | 
					        shell: bash
 | 
				
			||||||
        run: make smoketest TINYGO=build/tinygo AVR=0 XTENSA=0
 | 
					        run: make smoketest TINYGO=$(PWD)/build/tinygo AVR=0 XTENSA=0
 | 
				
			||||||
      - name: Test stdlib packages
 | 
					      - name: Test stdlib packages
 | 
				
			||||||
        run: make tinygo-test
 | 
					        run: make tinygo-test
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
							
								
								
									
										2
									
								
								Makefile
									
										
									
									
									
								
							
							
						
						
									
										2
									
								
								Makefile
									
										
									
									
									
								
							| 
						 | 
					@ -36,7 +36,7 @@ GOTESTFLAGS ?= -v
 | 
				
			||||||
MD5SUM = md5sum
 | 
					MD5SUM = md5sum
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# tinygo binary for tests
 | 
					# tinygo binary for tests
 | 
				
			||||||
TINYGO ?= $(call detect,tinygo,tinygo build/tinygo)
 | 
					TINYGO ?= $(call detect,tinygo,tinygo $(CURDIR)/build/tinygo)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Use CCACHE for LLVM if possible
 | 
					# Use CCACHE for LLVM if possible
 | 
				
			||||||
ifneq (, $(shell command -v ccache 2> /dev/null))
 | 
					ifneq (, $(shell command -v ccache 2> /dev/null))
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Загрузка…
	
	Создание таблицы
		
		Сослаться в новой задаче