forked from rarias/bscpkgs
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; }`. Reviewed-by: Aleix Roca Nonell <aleix.rocanonell@bsc.es> Tested-by: Rodrigo Arias Mallo <rodrigo.arias@bsc.es>
This commit is contained in:
parent
1666c14a35
commit
2c8d7ed855
@ -6,6 +6,8 @@
|
||||
, pkg-config
|
||||
, numactl
|
||||
, hwloc
|
||||
, papi
|
||||
, enablePapi ? true
|
||||
, cacheline ? 64 # bits
|
||||
, ovni ? null
|
||||
, useGit ? false
|
||||
@ -56,5 +58,5 @@ in
|
||||
numactl
|
||||
hwloc
|
||||
ovni
|
||||
];
|
||||
] ++ lib.optionals enablePapi [ papi ];
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user