mirror of
				https://github.com/openhwgroup/cvw
				synced 2025-02-11 06:05:49 +00:00 
			
		
		
		
	Cleanup
This commit is contained in:
		
							parent
							
								
									09a061b580
								
							
						
					
					
						commit
						70a65e2d6b
					
				@ -37,7 +37,7 @@ NUM_THREADS=8  # for >= 32GiB
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
# Error handler
 | 
					# Error handler
 | 
				
			||||||
error() {
 | 
					error() {
 | 
				
			||||||
    echo -e "${FAIL_COLOR}Error: $STATUS installation failed$"
 | 
					    echo -e "${FAIL_COLOR}Error: $STATUS installation failed"
 | 
				
			||||||
    echo -e "Error on line ${BASH_LINENO[0]} with command $BASH_COMMAND${ENDC}"
 | 
					    echo -e "Error on line ${BASH_LINENO[0]} with command $BASH_COMMAND${ENDC}"
 | 
				
			||||||
    exit 1
 | 
					    exit 1
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
@ -347,6 +347,7 @@ echo -e "Installing/Updating Sail Compiler"
 | 
				
			|||||||
echo -e "*************************************************************************"
 | 
					echo -e "*************************************************************************"
 | 
				
			||||||
echo -e "*************************************************************************\n${ENDC}"
 | 
					echo -e "*************************************************************************\n${ENDC}"
 | 
				
			||||||
STATUS="Sail Compiler"
 | 
					STATUS="Sail Compiler"
 | 
				
			||||||
 | 
					OPAMROOTISOK=1 # Silence warnings about running opam as root
 | 
				
			||||||
cd "$RISCV"
 | 
					cd "$RISCV"
 | 
				
			||||||
opam init -y --disable-sandboxing
 | 
					opam init -y --disable-sandboxing
 | 
				
			||||||
opam update -y
 | 
					opam update -y
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user