tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
openroad: init at 2.0
Tom Repetti
4 years ago
1387ce73
3861de42
+96
2 changed files
expand all
collapse all
unified
split
pkgs
applications
science
electronics
openroad
default.nix
top-level
all-packages.nix
+94
pkgs/applications/science/electronics/openroad/default.nix
···
1
1
+
{ lib
2
2
+
, mkDerivation
3
3
+
, fetchFromGitHub
4
4
+
, bison
5
5
+
, cmake
6
6
+
, doxygen
7
7
+
, flex
8
8
+
, git
9
9
+
, python3
10
10
+
, swig4
11
11
+
, boost172
12
12
+
, cimg
13
13
+
, eigen
14
14
+
, lcov
15
15
+
, lemon-graph
16
16
+
, libjpeg
17
17
+
, pcre
18
18
+
, qtbase
19
19
+
, readline
20
20
+
, spdlog
21
21
+
, tcl
22
22
+
, tcllib
23
23
+
, xorg
24
24
+
, yosys
25
25
+
, zlib
26
26
+
}:
27
27
+
28
28
+
mkDerivation rec {
29
29
+
pname = "openroad";
30
30
+
version = "2.0";
31
31
+
32
32
+
src = fetchFromGitHub {
33
33
+
owner = "The-OpenROAD-Project";
34
34
+
repo = "OpenROAD";
35
35
+
rev = "v${version}";
36
36
+
fetchSubmodules = true;
37
37
+
sha256 = "1p677xh16wskfj06jnplhpc3glibhdaqxmk0j09832chqlryzwyx";
38
38
+
};
39
39
+
40
40
+
nativeBuildInputs = [
41
41
+
bison
42
42
+
cmake
43
43
+
doxygen
44
44
+
flex
45
45
+
git
46
46
+
swig4
47
47
+
];
48
48
+
49
49
+
buildInputs = [
50
50
+
boost172
51
51
+
cimg
52
52
+
eigen
53
53
+
lcov
54
54
+
lemon-graph
55
55
+
libjpeg
56
56
+
pcre
57
57
+
python3
58
58
+
qtbase
59
59
+
readline
60
60
+
spdlog
61
61
+
tcl
62
62
+
tcllib
63
63
+
yosys
64
64
+
xorg.libX11
65
65
+
zlib
66
66
+
];
67
67
+
68
68
+
postPatch = ''
69
69
+
patchShebangs --build etc/find_messages.py
70
70
+
'';
71
71
+
72
72
+
# Enable output images from the placer.
73
73
+
cmakeFlags = [ "-DUSE_CIMG_LIB=ON" ];
74
74
+
75
75
+
# Resynthesis needs access to the Yosys binaries.
76
76
+
qtWrapperArgs = [ "--prefix PATH : ${lib.makeBinPath [ yosys ]}" ];
77
77
+
78
78
+
# Upstream uses vendored package versions for some dependencies, so regression testing is prudent
79
79
+
# to see if there are any breaking changes in unstable that should be vendored as well.
80
80
+
doCheck = false; # Disabled pending upstream release with fix for rcx log file creation.
81
81
+
checkPhase = ''
82
82
+
# Regression tests must be run from the project root not from within the CMake build directory.
83
83
+
cd ..
84
84
+
test/regression
85
85
+
'';
86
86
+
87
87
+
meta = with lib; {
88
88
+
description = "OpenROAD's unified application implementing an RTL-to-GDS flow";
89
89
+
homepage = "https://theopenroadproject.org";
90
90
+
license = licenses.bsd3;
91
91
+
maintainers = with maintainers; [ trepetti ];
92
92
+
platforms = platforms.linux;
93
93
+
};
94
94
+
}
+2
pkgs/top-level/all-packages.nix
···
30960
30960
30961
30961
openems = callPackage ../applications/science/electronics/openems { };
30962
30962
30963
30963
+
openroad = libsForQt5.callPackage ../applications/science/electronics/openroad { };
30964
30964
+
30963
30965
pcb = callPackage ../applications/science/electronics/pcb { };
30964
30966
30965
30967
qucs = callPackage ../applications/science/electronics/qucs { };