mirror of
				https://github.com/openhwgroup/cvw
				synced 2025-02-11 06:05:49 +00:00 
			
		
		
		
	Add correction for regression on Sail due to bug in recent release. This hash is known to work (verified by Stine/Thompson). May remove later if Sail ever gets fixed
This commit is contained in:
		
							parent
							
								
									67072b89e9
								
							
						
					
					
						commit
						e60b49952e
					
				@ -115,9 +115,12 @@ opam install sail -y
 | 
				
			|||||||
eval $(opam config env)
 | 
					eval $(opam config env)
 | 
				
			||||||
git clone https://github.com/riscv/sail-riscv.git
 | 
					git clone https://github.com/riscv/sail-riscv.git
 | 
				
			||||||
cd sail-riscv
 | 
					cd sail-riscv
 | 
				
			||||||
 | 
					# Current bug in Sail - use hash that works for Wally
 | 
				
			||||||
 | 
					#   (may remove later if Sail is ever fixed)
 | 
				
			||||||
 | 
					git checkout 4d05aa1698a0003a4f6f99e1380c743711c32052
 | 
				
			||||||
make -j ${NUM_THREADS}
 | 
					make -j ${NUM_THREADS}
 | 
				
			||||||
ARCH=RV32 make
 | 
					ARCH=RV32 make -j ${NUM_THREADS}
 | 
				
			||||||
ARCH=RV64 make
 | 
					ARCH=RV64 make -j ${NUM_THREADS}
 | 
				
			||||||
ln -sf $RISCV/sail-riscv/c_emulator/riscv_sim_RV64 /usr/bin/riscv_sim_RV64
 | 
					ln -sf $RISCV/sail-riscv/c_emulator/riscv_sim_RV64 /usr/bin/riscv_sim_RV64
 | 
				
			||||||
ln -sf $RISCV/sail-riscv/c_emulator/riscv_sim_RV32 /usr/bin/riscv_sim_RV32
 | 
					ln -sf $RISCV/sail-riscv/c_emulator/riscv_sim_RV32 /usr/bin/riscv_sim_RV32
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user