nextpnr: enable OpenMP support (for Eigen)
The new HEaP analytic placer for NextPNR uses Eigen for underlying placement algorithms. Enabling -DUSE_OPENMP passes -fopenmp onto the compiler, which Eigen picks up automatically with no extra work. This should result in placer speedups for large designs, e.g. on ECP5 85k chips. Signed-off-by: Austin Seipp <aseipp@pobox.com>
This commit is contained in:
parent
a5add1e623
commit
3b6c07c398
@ -46,6 +46,7 @@ stdenv.mkDerivation rec {
|
||||
[ "-DARCH=generic;ice40;ecp5"
|
||||
"-DICEBOX_ROOT=${icestorm}/share/icebox"
|
||||
"-DTRELLIS_ROOT=${trellisRoot}/trellis"
|
||||
"-DUSE_OPENMP=ON"
|
||||
] ++ (stdenv.lib.optional (!enableGui) "-DBUILD_GUI=OFF");
|
||||
|
||||
# Fix the version number. This is a bit stupid (and fragile) in practice
|
||||
|
Loading…
Reference in New Issue
Block a user