Build nOS-V with PAPI support
To support the new instrumentation for HWC it would be useful to already
build nOS-V with PAPI support enabled. The enablePapi switch allows it
to be disabled with `nosv.override { enablePapi = false; }`.
			
			
This commit is contained in:
		
							parent
							
								
									1666c14a35
								
							
						
					
					
						commit
						b35868f0d8
					
				| @ -6,6 +6,8 @@ | |||||||
| , pkg-config | , pkg-config | ||||||
| , numactl | , numactl | ||||||
| , hwloc | , hwloc | ||||||
|  | , papi | ||||||
|  | , enablePapi ? true | ||||||
| , cacheline ? 64 # bits | , cacheline ? 64 # bits | ||||||
| , ovni ? null | , ovni ? null | ||||||
| , useGit ? false | , useGit ? false | ||||||
| @ -56,5 +58,5 @@ in | |||||||
|       numactl |       numactl | ||||||
|       hwloc |       hwloc | ||||||
|       ovni |       ovni | ||||||
|     ]; |     ] ++ lib.optionals enablePapi [ papi ]; | ||||||
|   } |   } | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user