mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-01 03:12:51 +00:00
openroad: 2.0 -> unstable-2022-07-19
This commit is contained in:
parent
5bcec70433
commit
9f86e929b0
@ -8,7 +8,7 @@
|
|||||||
, git
|
, git
|
||||||
, python3
|
, python3
|
||||||
, swig4
|
, swig4
|
||||||
, boost172
|
, boost17x
|
||||||
, cimg
|
, cimg
|
||||||
, eigen
|
, eigen
|
||||||
, lcov
|
, lcov
|
||||||
@ -27,14 +27,14 @@
|
|||||||
|
|
||||||
mkDerivation rec {
|
mkDerivation rec {
|
||||||
pname = "openroad";
|
pname = "openroad";
|
||||||
version = "2.0";
|
version = "unstable-2022-07-19";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "The-OpenROAD-Project";
|
owner = "The-OpenROAD-Project";
|
||||||
repo = "OpenROAD";
|
repo = "OpenROAD";
|
||||||
rev = "v${version}";
|
rev = "2610b3953ef62651825d89fb96917cf5d20af0f1";
|
||||||
fetchSubmodules = true;
|
fetchSubmodules = true;
|
||||||
sha256 = "1p677xh16wskfj06jnplhpc3glibhdaqxmk0j09832chqlryzwyx";
|
sha256 = "sha256-BP0JSnxl1XyqHzDY4eITaGHevqd+rbjWZy/LAfDfELs=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
@ -47,7 +47,7 @@ mkDerivation rec {
|
|||||||
];
|
];
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
boost172
|
boost17x
|
||||||
cimg
|
cimg
|
||||||
eigen
|
eigen
|
||||||
lcov
|
lcov
|
||||||
@ -70,7 +70,11 @@ mkDerivation rec {
|
|||||||
'';
|
'';
|
||||||
|
|
||||||
# Enable output images from the placer.
|
# Enable output images from the placer.
|
||||||
cmakeFlags = [ "-DUSE_CIMG_LIB=ON" ];
|
cmakeFlags = [
|
||||||
|
"-DUSE_SYSTEM_BOOST=ON"
|
||||||
|
"-DUSE_CIMG_LIB=ON"
|
||||||
|
"-DOPENROAD_VERSION=${src.rev}"
|
||||||
|
];
|
||||||
|
|
||||||
# Resynthesis needs access to the Yosys binaries.
|
# Resynthesis needs access to the Yosys binaries.
|
||||||
qtWrapperArgs = [ "--prefix PATH : ${lib.makeBinPath [ yosys ]}" ];
|
qtWrapperArgs = [ "--prefix PATH : ${lib.makeBinPath [ yosys ]}" ];
|
||||||
@ -84,6 +88,12 @@ mkDerivation rec {
|
|||||||
test/regression
|
test/regression
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
doInstallCheck = true;
|
||||||
|
installCheckPhase = ''
|
||||||
|
$out/bin/openroad -version
|
||||||
|
$out/bin/sta -version
|
||||||
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "OpenROAD's unified application implementing an RTL-to-GDS flow";
|
description = "OpenROAD's unified application implementing an RTL-to-GDS flow";
|
||||||
homepage = "https://theopenroadproject.org";
|
homepage = "https://theopenroadproject.org";
|
||||||
|
Loading…
Reference in New Issue
Block a user