Show how to build riscv-tools in parallel (#530)
Make it easier to build riscv-tools faster on multicore machines
This commit is contained in:
		
				
					committed by
					
						
						Andrew Waterman
					
				
			
			
				
	
			
			
			
						parent
						
							d1bb82a1f8
						
					
				
				
					commit
					859416de73
				
			@@ -37,9 +37,10 @@ of riscv-tools:
 | 
			
		||||
    $ cd rocket-chip/riscv-tools
 | 
			
		||||
    $ git submodule update --init --recursive
 | 
			
		||||
    $ export RISCV=/path/to/install/riscv/toolchain
 | 
			
		||||
    $ export MAKEFLAGS="$MAKEFLAGS -jN" # Assuming you have N cores on your host system
 | 
			
		||||
    $ ./build.sh
 | 
			
		||||
    $ ./build-rv32ima.sh (if you are using RV32).
 | 
			
		||||
   
 | 
			
		||||
 | 
			
		||||
For more information (or if you run into any issues), please consult the
 | 
			
		||||
[riscv-tools/README](https://github.com/riscv/riscv-tools/blob/master/README.md).
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user