siliconcompiler 0.32.2__py3-none-any.whl → 0.33.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (277) hide show
  1. siliconcompiler/__init__.py +19 -2
  2. siliconcompiler/_metadata.py +3 -2
  3. siliconcompiler/apps/sc.py +2 -2
  4. siliconcompiler/apps/sc_install.py +3 -3
  5. siliconcompiler/apps/sc_issue.py +1 -1
  6. siliconcompiler/apps/sc_remote.py +4 -4
  7. siliconcompiler/apps/sc_show.py +2 -2
  8. siliconcompiler/apps/utils/replay.py +5 -3
  9. siliconcompiler/asic.py +120 -0
  10. siliconcompiler/checklist.py +150 -0
  11. siliconcompiler/core.py +319 -345
  12. siliconcompiler/{templates → data/templates}/replay/replay.sh.j2 +2 -2
  13. siliconcompiler/flowgraph.py +803 -515
  14. siliconcompiler/fpga.py +84 -0
  15. siliconcompiler/metric.py +420 -0
  16. siliconcompiler/optimizer/vizier.py +2 -3
  17. siliconcompiler/package/__init__.py +29 -6
  18. siliconcompiler/pdk.py +415 -0
  19. siliconcompiler/record.py +449 -0
  20. siliconcompiler/remote/client.py +61 -19
  21. siliconcompiler/remote/schema.py +116 -112
  22. siliconcompiler/remote/server.py +3 -5
  23. siliconcompiler/report/__init__.py +3 -2
  24. siliconcompiler/report/dashboard/__init__.py +61 -170
  25. siliconcompiler/report/dashboard/cli/__init__.py +79 -0
  26. siliconcompiler/report/dashboard/cli/board.py +895 -0
  27. siliconcompiler/report/dashboard/web/__init__.py +196 -0
  28. siliconcompiler/report/dashboard/{components → web/components}/__init__.py +9 -8
  29. siliconcompiler/report/dashboard/{components → web/components}/flowgraph.py +3 -3
  30. siliconcompiler/report/dashboard/{components → web/components}/graph.py +7 -4
  31. siliconcompiler/report/dashboard/{layouts → web/layouts}/__init__.py +3 -3
  32. siliconcompiler/report/dashboard/{layouts → web/layouts}/_common.py +1 -1
  33. siliconcompiler/report/dashboard/{layouts → web/layouts}/vertical_flowgraph.py +5 -5
  34. siliconcompiler/report/dashboard/{layouts → web/layouts}/vertical_flowgraph_node_tab.py +6 -6
  35. siliconcompiler/report/dashboard/{layouts → web/layouts}/vertical_flowgraph_sac_tabs.py +6 -6
  36. siliconcompiler/report/dashboard/{state.py → web/state.py} +1 -1
  37. siliconcompiler/report/dashboard/{utils → web/utils}/__init__.py +4 -3
  38. siliconcompiler/report/dashboard/{viewer.py → web/viewer.py} +4 -4
  39. siliconcompiler/report/html_report.py +2 -3
  40. siliconcompiler/report/report.py +13 -7
  41. siliconcompiler/report/summary_image.py +1 -1
  42. siliconcompiler/report/summary_table.py +3 -3
  43. siliconcompiler/report/utils.py +11 -10
  44. siliconcompiler/scheduler/__init__.py +153 -286
  45. siliconcompiler/scheduler/run_node.py +2 -1
  46. siliconcompiler/scheduler/send_messages.py +4 -4
  47. siliconcompiler/scheduler/slurm.py +2 -2
  48. siliconcompiler/schema/__init__.py +19 -2
  49. siliconcompiler/schema/baseschema.py +493 -0
  50. siliconcompiler/schema/cmdlineschema.py +250 -0
  51. siliconcompiler/{sphinx_ext → schema/docs}/__init__.py +3 -1
  52. siliconcompiler/{sphinx_ext → schema/docs}/dynamicgen.py +63 -81
  53. siliconcompiler/{sphinx_ext → schema/docs}/schemagen.py +73 -85
  54. siliconcompiler/{sphinx_ext → schema/docs}/utils.py +12 -13
  55. siliconcompiler/schema/editableschema.py +136 -0
  56. siliconcompiler/schema/journalingschema.py +238 -0
  57. siliconcompiler/schema/namedschema.py +41 -0
  58. siliconcompiler/schema/packageschema.py +101 -0
  59. siliconcompiler/schema/parameter.py +791 -0
  60. siliconcompiler/schema/parametertype.py +323 -0
  61. siliconcompiler/schema/parametervalue.py +736 -0
  62. siliconcompiler/schema/safeschema.py +37 -0
  63. siliconcompiler/schema/schema_cfg.py +109 -1789
  64. siliconcompiler/schema/utils.py +5 -68
  65. siliconcompiler/schema_obj.py +119 -0
  66. siliconcompiler/tool.py +1308 -0
  67. siliconcompiler/tools/_common/__init__.py +8 -10
  68. siliconcompiler/tools/_common/sdc/sc_constraints.sdc +1 -1
  69. siliconcompiler/tools/bluespec/convert.py +7 -7
  70. siliconcompiler/tools/builtin/_common.py +1 -1
  71. siliconcompiler/tools/builtin/concatenate.py +2 -2
  72. siliconcompiler/tools/builtin/minimum.py +1 -1
  73. siliconcompiler/tools/builtin/mux.py +2 -1
  74. siliconcompiler/tools/builtin/nop.py +1 -1
  75. siliconcompiler/tools/builtin/verify.py +6 -4
  76. siliconcompiler/tools/chisel/convert.py +4 -4
  77. siliconcompiler/tools/genfasm/bitstream.py +3 -3
  78. siliconcompiler/tools/ghdl/convert.py +1 -1
  79. siliconcompiler/tools/icarus/compile.py +4 -4
  80. siliconcompiler/tools/icepack/bitstream.py +6 -1
  81. siliconcompiler/tools/klayout/convert_drc_db.py +5 -0
  82. siliconcompiler/tools/klayout/klayout_export.py +0 -1
  83. siliconcompiler/tools/klayout/klayout_utils.py +3 -10
  84. siliconcompiler/tools/nextpnr/apr.py +6 -1
  85. siliconcompiler/tools/nextpnr/nextpnr.py +4 -4
  86. siliconcompiler/tools/openroad/_apr.py +17 -0
  87. siliconcompiler/tools/openroad/fillmetal_insertion.py +14 -14
  88. siliconcompiler/tools/openroad/rdlroute.py +3 -3
  89. siliconcompiler/tools/openroad/scripts/apr/postamble.tcl +1 -1
  90. siliconcompiler/tools/openroad/scripts/apr/preamble.tcl +5 -5
  91. siliconcompiler/tools/openroad/scripts/apr/sc_antenna_repair.tcl +3 -3
  92. siliconcompiler/tools/openroad/scripts/apr/sc_clock_tree_synthesis.tcl +3 -3
  93. siliconcompiler/tools/openroad/scripts/apr/sc_detailed_placement.tcl +3 -3
  94. siliconcompiler/tools/openroad/scripts/apr/sc_detailed_route.tcl +3 -3
  95. siliconcompiler/tools/openroad/scripts/apr/sc_endcap_tapcell_insertion.tcl +3 -3
  96. siliconcompiler/tools/openroad/scripts/apr/sc_fillercell_insertion.tcl +3 -3
  97. siliconcompiler/tools/openroad/scripts/apr/sc_fillmetal_insertion.tcl +4 -4
  98. siliconcompiler/tools/openroad/scripts/apr/sc_global_placement.tcl +3 -3
  99. siliconcompiler/tools/openroad/scripts/apr/sc_global_route.tcl +3 -3
  100. siliconcompiler/tools/openroad/scripts/apr/sc_init_floorplan.tcl +3 -3
  101. siliconcompiler/tools/openroad/scripts/apr/sc_macro_placement.tcl +4 -4
  102. siliconcompiler/tools/openroad/scripts/apr/sc_metrics.tcl +3 -3
  103. siliconcompiler/tools/openroad/scripts/apr/sc_pin_placement.tcl +3 -3
  104. siliconcompiler/tools/openroad/scripts/apr/sc_power_grid.tcl +3 -3
  105. siliconcompiler/tools/openroad/scripts/apr/sc_repair_design.tcl +3 -3
  106. siliconcompiler/tools/openroad/scripts/apr/sc_repair_timing.tcl +4 -4
  107. siliconcompiler/tools/openroad/scripts/apr/sc_write_data.tcl +3 -3
  108. siliconcompiler/tools/openroad/scripts/common/procs.tcl +58 -2
  109. siliconcompiler/tools/openroad/scripts/common/reports.tcl +2 -2
  110. siliconcompiler/tools/openroad/scripts/common/screenshot.tcl +2 -2
  111. siliconcompiler/tools/openroad/scripts/common/write_images.tcl +28 -3
  112. siliconcompiler/tools/openroad/scripts/sc_rcx.tcl +2 -2
  113. siliconcompiler/tools/openroad/scripts/sc_rdlroute.tcl +4 -4
  114. siliconcompiler/tools/openroad/scripts/sc_show.tcl +7 -7
  115. siliconcompiler/tools/opensta/__init__.py +1 -1
  116. siliconcompiler/tools/opensta/scripts/sc_check_library.tcl +1 -1
  117. siliconcompiler/tools/opensta/scripts/sc_procs.tcl +16 -0
  118. siliconcompiler/tools/opensta/scripts/sc_report_libraries.tcl +1 -1
  119. siliconcompiler/tools/opensta/scripts/sc_timing.tcl +35 -7
  120. siliconcompiler/tools/opensta/timing.py +6 -2
  121. siliconcompiler/tools/slang/__init__.py +10 -10
  122. siliconcompiler/tools/surelog/parse.py +4 -4
  123. siliconcompiler/tools/sv2v/convert.py +20 -3
  124. siliconcompiler/tools/verilator/compile.py +2 -2
  125. siliconcompiler/tools/verilator/verilator.py +3 -3
  126. siliconcompiler/tools/vpr/place.py +1 -1
  127. siliconcompiler/tools/vpr/route.py +4 -4
  128. siliconcompiler/tools/vpr/screenshot.py +1 -1
  129. siliconcompiler/tools/vpr/show.py +5 -5
  130. siliconcompiler/tools/vpr/vpr.py +24 -24
  131. siliconcompiler/tools/xdm/convert.py +2 -2
  132. siliconcompiler/tools/xyce/simulate.py +1 -1
  133. siliconcompiler/tools/yosys/sc_synth_asic.tcl +104 -90
  134. siliconcompiler/tools/yosys/syn_asic.py +13 -4
  135. siliconcompiler/toolscripts/_tools.json +12 -7
  136. siliconcompiler/toolscripts/rhel8/install-chisel.sh +2 -0
  137. siliconcompiler/toolscripts/rhel8/install-icarus.sh +1 -0
  138. siliconcompiler/toolscripts/rhel8/install-klayout.sh +2 -0
  139. siliconcompiler/toolscripts/rhel8/install-magic.sh +1 -2
  140. siliconcompiler/toolscripts/rhel8/install-netgen.sh +1 -1
  141. siliconcompiler/toolscripts/rhel8/install-slang.sh +2 -0
  142. siliconcompiler/toolscripts/rhel8/install-surelog.sh +3 -1
  143. siliconcompiler/toolscripts/rhel8/install-sv2v.sh +1 -0
  144. siliconcompiler/toolscripts/rhel8/install-verible.sh +2 -0
  145. siliconcompiler/toolscripts/rhel8/install-verilator.sh +1 -0
  146. siliconcompiler/toolscripts/rhel8/install-xyce.sh +2 -0
  147. siliconcompiler/toolscripts/rhel9/install-chisel.sh +2 -0
  148. siliconcompiler/toolscripts/rhel9/install-ghdl.sh +1 -0
  149. siliconcompiler/toolscripts/rhel9/install-gtkwave.sh +1 -0
  150. siliconcompiler/toolscripts/rhel9/install-icarus.sh +1 -0
  151. siliconcompiler/toolscripts/rhel9/install-klayout.sh +2 -0
  152. siliconcompiler/toolscripts/rhel9/install-magic.sh +1 -2
  153. siliconcompiler/toolscripts/rhel9/install-netgen.sh +1 -1
  154. siliconcompiler/toolscripts/rhel9/install-openroad.sh +2 -0
  155. siliconcompiler/toolscripts/rhel9/install-opensta.sh +76 -0
  156. siliconcompiler/toolscripts/rhel9/install-slang.sh +3 -1
  157. siliconcompiler/toolscripts/rhel9/install-surelog.sh +2 -1
  158. siliconcompiler/toolscripts/rhel9/install-sv2v.sh +1 -0
  159. siliconcompiler/toolscripts/rhel9/install-verible.sh +2 -0
  160. siliconcompiler/toolscripts/rhel9/install-verilator.sh +1 -0
  161. siliconcompiler/toolscripts/rhel9/install-vpr.sh +2 -0
  162. siliconcompiler/toolscripts/rhel9/install-xdm.sh +2 -0
  163. siliconcompiler/toolscripts/rhel9/install-xyce.sh +2 -0
  164. siliconcompiler/toolscripts/rhel9/install-yosys-moosic.sh +2 -0
  165. siliconcompiler/toolscripts/rhel9/install-yosys-parmys.sh +2 -0
  166. siliconcompiler/toolscripts/rhel9/install-yosys-slang.sh +3 -1
  167. siliconcompiler/toolscripts/rhel9/install-yosys.sh +2 -0
  168. siliconcompiler/toolscripts/ubuntu20/install-bambu.sh +2 -0
  169. siliconcompiler/toolscripts/ubuntu20/install-bluespec.sh +2 -0
  170. siliconcompiler/toolscripts/ubuntu20/install-chisel.sh +2 -0
  171. siliconcompiler/toolscripts/ubuntu20/install-ghdl.sh +2 -0
  172. siliconcompiler/toolscripts/ubuntu20/install-gtkwave.sh +2 -0
  173. siliconcompiler/toolscripts/ubuntu20/install-icarus.sh +2 -0
  174. siliconcompiler/toolscripts/ubuntu20/install-icepack.sh +2 -0
  175. siliconcompiler/toolscripts/ubuntu20/install-klayout.sh +2 -0
  176. siliconcompiler/toolscripts/ubuntu20/install-magic.sh +2 -0
  177. siliconcompiler/toolscripts/ubuntu20/install-netgen.sh +2 -0
  178. siliconcompiler/toolscripts/ubuntu20/install-nextpnr.sh +1 -3
  179. siliconcompiler/toolscripts/ubuntu20/install-openroad.sh +2 -0
  180. siliconcompiler/toolscripts/ubuntu20/install-opensta.sh +72 -0
  181. siliconcompiler/toolscripts/ubuntu20/install-slang.sh +3 -1
  182. siliconcompiler/toolscripts/ubuntu20/install-slurm.sh +2 -0
  183. siliconcompiler/toolscripts/ubuntu20/install-surelog.sh +3 -1
  184. siliconcompiler/toolscripts/ubuntu20/install-sv2v.sh +1 -1
  185. siliconcompiler/toolscripts/ubuntu20/install-verible.sh +2 -0
  186. siliconcompiler/toolscripts/ubuntu20/install-verilator.sh +2 -0
  187. siliconcompiler/toolscripts/ubuntu20/install-xdm.sh +2 -0
  188. siliconcompiler/toolscripts/ubuntu20/install-xyce.sh +2 -0
  189. siliconcompiler/toolscripts/ubuntu20/install-yosys-moosic.sh +2 -0
  190. siliconcompiler/toolscripts/ubuntu20/install-yosys.sh +2 -0
  191. siliconcompiler/toolscripts/ubuntu22/install-bambu.sh +2 -0
  192. siliconcompiler/toolscripts/ubuntu22/install-bluespec.sh +2 -0
  193. siliconcompiler/toolscripts/ubuntu22/install-chisel.sh +2 -0
  194. siliconcompiler/toolscripts/ubuntu22/install-ghdl.sh +2 -0
  195. siliconcompiler/toolscripts/ubuntu22/install-gtkwave.sh +2 -0
  196. siliconcompiler/toolscripts/ubuntu22/install-icarus.sh +2 -0
  197. siliconcompiler/toolscripts/ubuntu22/install-icepack.sh +2 -0
  198. siliconcompiler/toolscripts/ubuntu22/install-klayout.sh +2 -0
  199. siliconcompiler/toolscripts/ubuntu22/install-magic.sh +2 -0
  200. siliconcompiler/toolscripts/ubuntu22/install-netgen.sh +2 -0
  201. siliconcompiler/toolscripts/ubuntu22/install-nextpnr.sh +1 -2
  202. siliconcompiler/toolscripts/ubuntu22/install-openroad.sh +2 -0
  203. siliconcompiler/toolscripts/ubuntu22/install-opensta.sh +72 -0
  204. siliconcompiler/toolscripts/ubuntu22/install-slang.sh +3 -1
  205. siliconcompiler/toolscripts/ubuntu22/install-slurm.sh +2 -0
  206. siliconcompiler/toolscripts/ubuntu22/install-surelog.sh +3 -1
  207. siliconcompiler/toolscripts/ubuntu22/install-sv2v.sh +1 -1
  208. siliconcompiler/toolscripts/ubuntu22/install-verible.sh +2 -0
  209. siliconcompiler/toolscripts/ubuntu22/install-verilator.sh +2 -0
  210. siliconcompiler/toolscripts/ubuntu22/install-vpr.sh +2 -2
  211. siliconcompiler/toolscripts/ubuntu22/install-xdm.sh +2 -0
  212. siliconcompiler/toolscripts/ubuntu22/install-xyce.sh +2 -0
  213. siliconcompiler/toolscripts/ubuntu22/install-yosys-moosic.sh +2 -0
  214. siliconcompiler/toolscripts/ubuntu22/install-yosys-parmys.sh +2 -0
  215. siliconcompiler/toolscripts/ubuntu22/install-yosys-slang.sh +3 -1
  216. siliconcompiler/toolscripts/ubuntu22/install-yosys.sh +2 -0
  217. siliconcompiler/toolscripts/ubuntu24/install-bambu.sh +2 -0
  218. siliconcompiler/toolscripts/ubuntu24/install-bluespec.sh +2 -0
  219. siliconcompiler/toolscripts/ubuntu24/install-chisel.sh +2 -0
  220. siliconcompiler/toolscripts/ubuntu24/install-ghdl.sh +2 -0
  221. siliconcompiler/toolscripts/ubuntu24/install-gtkwave.sh +2 -0
  222. siliconcompiler/toolscripts/ubuntu24/install-icarus.sh +2 -0
  223. siliconcompiler/toolscripts/ubuntu24/install-icepack.sh +2 -0
  224. siliconcompiler/toolscripts/ubuntu24/install-klayout.sh +2 -0
  225. siliconcompiler/toolscripts/ubuntu24/install-magic.sh +2 -0
  226. siliconcompiler/toolscripts/ubuntu24/install-netgen.sh +2 -0
  227. siliconcompiler/toolscripts/ubuntu24/install-nextpnr.sh +1 -3
  228. siliconcompiler/toolscripts/ubuntu24/install-openroad.sh +2 -0
  229. siliconcompiler/toolscripts/ubuntu24/install-opensta.sh +72 -0
  230. siliconcompiler/toolscripts/ubuntu24/install-slang.sh +3 -1
  231. siliconcompiler/toolscripts/ubuntu24/install-slurm.sh +2 -0
  232. siliconcompiler/toolscripts/ubuntu24/install-surelog.sh +3 -1
  233. siliconcompiler/toolscripts/ubuntu24/install-sv2v.sh +1 -1
  234. siliconcompiler/toolscripts/ubuntu24/install-verible.sh +2 -0
  235. siliconcompiler/toolscripts/ubuntu24/install-verilator.sh +2 -0
  236. siliconcompiler/toolscripts/ubuntu24/install-vpr.sh +2 -2
  237. siliconcompiler/toolscripts/ubuntu24/install-xdm.sh +2 -0
  238. siliconcompiler/toolscripts/ubuntu24/install-xyce.sh +2 -0
  239. siliconcompiler/toolscripts/ubuntu24/install-yosys-moosic.sh +2 -0
  240. siliconcompiler/toolscripts/ubuntu24/install-yosys-parmys.sh +2 -0
  241. siliconcompiler/toolscripts/ubuntu24/install-yosys-slang.sh +3 -1
  242. siliconcompiler/toolscripts/ubuntu24/install-yosys.sh +2 -0
  243. siliconcompiler/utils/__init__.py +8 -112
  244. siliconcompiler/utils/flowgraph.py +339 -0
  245. siliconcompiler/{issue.py → utils/issue.py} +7 -4
  246. siliconcompiler/utils/logging.py +86 -33
  247. {siliconcompiler-0.32.2.dist-info → siliconcompiler-0.33.0.dist-info}/METADATA +10 -8
  248. siliconcompiler-0.33.0.dist-info/RECORD +487 -0
  249. {siliconcompiler-0.32.2.dist-info → siliconcompiler-0.33.0.dist-info}/WHEEL +1 -1
  250. {siliconcompiler-0.32.2.dist-info → siliconcompiler-0.33.0.dist-info}/entry_points.txt +8 -8
  251. siliconcompiler/schema/schema_obj.py +0 -1936
  252. siliconcompiler/toolscripts/ubuntu20/install-vpr.sh +0 -27
  253. siliconcompiler/toolscripts/ubuntu20/install-yosys-parmys.sh +0 -59
  254. siliconcompiler-0.32.2.dist-info/RECORD +0 -464
  255. /siliconcompiler/{templates → data/templates}/__init__.py +0 -0
  256. /siliconcompiler/{templates → data/templates}/email/__init__.py +0 -0
  257. /siliconcompiler/{templates → data/templates}/email/general.j2 +0 -0
  258. /siliconcompiler/{templates → data/templates}/email/summary.j2 +0 -0
  259. /siliconcompiler/{templates → data/templates}/issue/README.txt +0 -0
  260. /siliconcompiler/{templates → data/templates}/issue/__init__.py +0 -0
  261. /siliconcompiler/{templates → data/templates}/issue/run.sh +0 -0
  262. /siliconcompiler/{templates → data/templates}/replay/replay.py.j2 +0 -0
  263. /siliconcompiler/{templates → data/templates}/replay/requirements.txt +0 -0
  264. /siliconcompiler/{templates → data/templates}/replay/setup.sh +0 -0
  265. /siliconcompiler/{templates → data/templates}/report/__init__.py +0 -0
  266. /siliconcompiler/{templates → data/templates}/report/bootstrap.min.css +0 -0
  267. /siliconcompiler/{templates → data/templates}/report/bootstrap.min.js +0 -0
  268. /siliconcompiler/{templates → data/templates}/report/bootstrap_LICENSE.md +0 -0
  269. /siliconcompiler/{templates → data/templates}/report/sc_report.j2 +0 -0
  270. /siliconcompiler/{templates → data/templates}/slurm/__init__.py +0 -0
  271. /siliconcompiler/{templates → data/templates}/slurm/run.sh +0 -0
  272. /siliconcompiler/{templates → data/templates}/tcl/__init__.py +0 -0
  273. /siliconcompiler/{templates → data/templates}/tcl/manifest.tcl.j2 +0 -0
  274. /siliconcompiler/report/dashboard/{utils → web/utils}/file_utils.py +0 -0
  275. /siliconcompiler/{units.py → utils/units.py} +0 -0
  276. {siliconcompiler-0.32.2.dist-info → siliconcompiler-0.33.0.dist-info}/licenses/LICENSE +0 -0
  277. {siliconcompiler-0.32.2.dist-info → siliconcompiler-0.33.0.dist-info}/top_level.txt +0 -0
@@ -32,43 +32,119 @@ set sc_pdk [sc_cfg_get option pdk]
32
32
 
33
33
  source "$sc_refdir/procs.tcl"
34
34
 
35
+ ####################
36
+ # DESIGNER's CHOICE
37
+ ####################
38
+
39
+ set sc_logiclibs [sc_get_asic_libraries logic]
40
+ set sc_macrolibs [sc_get_asic_libraries macro]
41
+
42
+ set sc_libraries [sc_cfg_tool_task_get {file} synthesis_libraries]
43
+ if { [sc_cfg_tool_task_exists {file} synthesis_libraries_macros] } {
44
+ set sc_macro_libraries \
45
+ [sc_cfg_tool_task_get {file} synthesis_libraries_macros]
46
+ } else {
47
+ set sc_macro_libraries []
48
+ }
49
+ set sc_mainlib [lindex $sc_logiclibs 0]
50
+
51
+ set sc_abc_constraints \
52
+ [lindex [sc_cfg_tool_task_get {file} abc_constraint_file] 0]
53
+
54
+ set sc_blackboxes []
55
+ foreach lib $sc_macrolibs {
56
+ if { [sc_cfg_exists library $lib output blackbox verilog] } {
57
+ foreach lib_f [sc_cfg_get library $lib output blackbox verilog] {
58
+ lappend sc_blackboxes $lib_f
59
+ }
60
+ }
61
+ }
62
+
63
+ set sc_memory_libmap_files ""
64
+ if { [sc_cfg_tool_task_exists file memory_libmap] } {
65
+ set sc_memory_libmap_files [sc_cfg_tool_task_get file memory_libmap]
66
+ }
67
+
68
+ set sc_memory_techmap_files ""
69
+ if { [sc_cfg_tool_task_exists file memory_techmap] } {
70
+ set sc_memory_techmap_files [sc_cfg_tool_task_get file memory_techmap]
71
+ }
72
+
73
+ ########################################################
74
+ # Read Libraries
75
+ ########################################################
76
+
77
+ foreach lib_file "$sc_libraries $sc_macro_libraries" {
78
+ yosys read_liberty -setattr liberty_cell -lib $lib_file
79
+ }
80
+ foreach bb_file $sc_blackboxes {
81
+ yosys log "Reading blackbox model file: $bb_file"
82
+ yosys read_verilog -setattr blackbox -sv $bb_file
83
+ }
84
+
85
+ # Before working on the design, we mask out any module supplied via
86
+ # `blackbox_modules`. This allows synthesis of parts of the design without having
87
+ # to modify the input RTL.
88
+ if { [sc_cfg_tool_task_exists var blackbox_modules] } {
89
+ foreach bb [sc_cfg_tool_task_get var blackbox_modules] {
90
+ foreach module [get_modules $bb] {
91
+ yosys log "Blackboxing module: $module"
92
+ yosys blackbox $module
93
+ }
94
+ }
95
+ }
96
+
35
97
  ########################################################
36
98
  # Design Inputs
37
99
  ########################################################
38
100
 
39
101
  set input_verilog "inputs/$sc_design.v"
40
- if { [file exists $input_verilog] } {
41
- if { [lindex [sc_cfg_tool_task_get var use_slang] 0] == "true" && [sc_load_plugin slang] } {
42
- # This needs some reordering of loaded to ensure blackboxes are handled
43
- # before this
44
- set slang_params []
45
- if { [sc_cfg_exists option param] } {
46
- dict for {key value} [sc_cfg_get option param] {
47
- if { ![string is integer $value] } {
48
- set value [concat \"$value\"]
49
- }
50
-
51
- lappend slang_params -G "${key}=${value}"
52
- }
102
+ if { ![file exists $input_verilog] } {
103
+ set input_verilog "inputs/$sc_design.sv"
104
+ if { ![file exists $input_verilog] } {
105
+ set input_verilog []
106
+ if { [sc_cfg_exists input rtl systemverilog] } {
107
+ lappend input_verilog {*}[sc_cfg_get input rtl systemverilog]
53
108
  }
54
- yosys read_slang \
55
- -D SYNTHESIS \
56
- --keep-hierarchy \
57
- --top $sc_design \
58
- {*}$slang_params \
59
- $input_verilog
60
- } else {
61
- # Use -noblackbox to correctly interpret empty modules as empty,
62
- # actual black boxes are read in later
63
- # https://github.com/YosysHQ/yosys/issues/1468
64
- yosys read_verilog -noblackbox -sv $input_verilog
109
+ if { [sc_cfg_exists input rtl verilog] } {
110
+ lappend input_verilog {*}[sc_cfg_get input rtl verilog]
111
+ }
112
+ }
113
+ }
65
114
 
66
- ########################################################
67
- # Override top level parameters
68
- ########################################################
115
+ if { [lindex [sc_cfg_tool_task_get var use_slang] 0] == "true" && [sc_load_plugin slang] } {
116
+ # This needs some reordering of loaded to ensure blackboxes are handled
117
+ # before this
118
+ set slang_params []
119
+ if { [sc_cfg_exists option param] } {
120
+ dict for {key value} [sc_cfg_get option param] {
121
+ if { ![string is integer $value] } {
122
+ set value [concat \"$value\"]
123
+ }
69
124
 
70
- sc_apply_params
125
+ lappend slang_params -G "${key}=${value}"
126
+ }
71
127
  }
128
+ yosys read_slang \
129
+ -D SYNTHESIS \
130
+ --keep-hierarchy \
131
+ --ignore-assertions \
132
+ --allow-use-before-declare \
133
+ --top $sc_design \
134
+ {*}$slang_params \
135
+ {*}$input_verilog
136
+ yosys setattr -unset init
137
+ } else {
138
+ # Use -noblackbox to correctly interpret empty modules as empty,
139
+ # actual black boxes are read in later
140
+ # https://github.com/YosysHQ/yosys/issues/1468
141
+ yosys read_verilog -noblackbox -sv {*}$input_verilog
142
+
143
+ ########################################################
144
+ # Override top level parameters
145
+ ########################################################
146
+
147
+ sc_apply_params
72
148
  }
73
149
 
74
150
  ####################
@@ -111,44 +187,6 @@ proc get_modules { { find "*" } } {
111
187
  return [lsort $modules]
112
188
  }
113
189
 
114
- ####################
115
- # DESIGNER's CHOICE
116
- ####################
117
-
118
- set sc_logiclibs [sc_get_asic_libraries logic]
119
- set sc_macrolibs [sc_get_asic_libraries macro]
120
-
121
- set sc_libraries [sc_cfg_tool_task_get {file} synthesis_libraries]
122
- if { [sc_cfg_tool_task_exists {file} synthesis_libraries_macros] } {
123
- set sc_macro_libraries \
124
- [sc_cfg_tool_task_get {file} synthesis_libraries_macros]
125
- } else {
126
- set sc_macro_libraries []
127
- }
128
- set sc_mainlib [lindex $sc_logiclibs 0]
129
-
130
- set sc_abc_constraints \
131
- [lindex [sc_cfg_tool_task_get {file} abc_constraint_file] 0]
132
-
133
- set sc_blackboxes []
134
- foreach lib $sc_macrolibs {
135
- if { [sc_cfg_exists library $lib output blackbox verilog] } {
136
- foreach lib_f [sc_cfg_get library $lib output blackbox verilog] {
137
- lappend sc_blackboxes $lib_f
138
- }
139
- }
140
- }
141
-
142
- set sc_memory_libmap_files ""
143
- if { [sc_cfg_tool_task_exists file memory_libmap] } {
144
- set sc_memory_libmap_files [sc_cfg_tool_task_get file memory_libmap]
145
- }
146
-
147
- set sc_memory_techmap_files ""
148
- if { [sc_cfg_tool_task_exists file memory_techmap] } {
149
- set sc_memory_techmap_files [sc_cfg_tool_task_get file memory_techmap]
150
- }
151
-
152
190
  #########################
153
191
  # Schema helper functions
154
192
  #########################
@@ -201,34 +239,10 @@ proc get_buffer_cell { } {
201
239
  return "$cell $in $out"
202
240
  }
203
241
 
204
- ########################################################
205
- # Read Libraries
206
- ########################################################
207
-
208
- foreach lib_file "$sc_libraries $sc_macro_libraries" {
209
- yosys read_liberty -setattr liberty_cell -lib $lib_file
210
- }
211
- foreach bb_file $sc_blackboxes {
212
- yosys log "Reading blackbox model file: $bb_file"
213
- yosys read_verilog -setattr blackbox -sv $bb_file
214
- }
215
-
216
242
  ########################################################
217
243
  # Synthesis
218
244
  ########################################################
219
245
 
220
- # Before working on the design, we mask out any module supplied via
221
- # `blackbox_modules`. This allows synthesis of parts of the design without having
222
- # to modify the input RTL.
223
- if { [sc_cfg_tool_task_exists var blackbox_modules] } {
224
- foreach bb [sc_cfg_tool_task_get var blackbox_modules] {
225
- foreach module [get_modules $bb] {
226
- yosys log "Blackboxing module: $module"
227
- yosys blackbox $module
228
- }
229
- }
230
- }
231
-
232
246
  # Although the `synth` command also runs `hierarchy`, we run it here without the
233
247
  # `-check` flag first in order to resolve parameters before looking for missing
234
248
  # modules. This works around the fact that Surelog doesn't pickle modules that
@@ -8,7 +8,7 @@ from siliconcompiler import utils
8
8
  from siliconcompiler.tools._common.asic import set_tool_task_var, get_libraries, get_mainlib, \
9
9
  CellArea
10
10
  from siliconcompiler.tools._common.asic_clock import get_clock_period
11
- from siliconcompiler.tools._common import get_tool_task
11
+ from siliconcompiler.tools._common import get_tool_task, input_provides, add_require_input
12
12
 
13
13
 
14
14
  def make_docs(chip):
@@ -34,7 +34,18 @@ def setup(chip):
34
34
  step=step, index=index, clobber=False)
35
35
 
36
36
  # Input/output requirements.
37
- chip.set('tool', tool, 'task', task, 'input', design + '.v', step=step, index=index)
37
+ if f'{design}.v' in input_provides(chip, step, index):
38
+ chip.set('tool', tool, 'task', task, 'input', design + '.v', step=step, index=index)
39
+ elif f'{design}.sv' in input_provides(chip, step, index):
40
+ chip.set('tool', tool, 'task', task, 'input', design + '.sv', step=step, index=index)
41
+ else:
42
+ added = False
43
+ added |= add_require_input(chip, 'input', 'rtl', 'systemverilog',
44
+ include_library_files=False)
45
+ added |= add_require_input(chip, 'input', 'rtl', 'verilog',
46
+ include_library_files=False)
47
+ if not added:
48
+ chip.add('tool', tool, 'task', task, 'require', 'input,rtl,verilog')
38
49
  chip.set('tool', tool, 'task', task, 'output', design + '.vg', step=step, index=index)
39
50
  chip.add('tool', tool, 'task', task, 'output', design + '.netlist.json', step=step, index=index)
40
51
 
@@ -556,8 +567,6 @@ def _generate_cell_area_report(chip):
556
567
  area = info["area"]
557
568
 
558
569
  for cell, inst_count in info["num_cells_by_type"].items():
559
- # print(module, cell, inst_count)
560
-
561
570
  cell_area, cell_count = get_area_count(cell)
562
571
 
563
572
  count += cell_count * inst_count
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "openroad": {
3
3
  "git-url": "https://github.com/The-OpenROAD-Project/OpenROAD.git",
4
- "git-commit": "10c0e05959e169ec9740d83e80bb4f2395afcc7b",
4
+ "git-commit": "ce617810e4dc11b3cdb5a267ef3454788f81aaf0",
5
5
  "docker-cmds": [
6
6
  "# Remove OR-Tools files",
7
7
  "RUN rm -f $SC_PREFIX/Makefile $SC_PREFIX/README.md",
@@ -15,6 +15,11 @@
15
15
  "git-commit": "v1.84",
16
16
  "auto-update": true
17
17
  },
18
+ "opensta": {
19
+ "git-url": "https://github.com/parallaxsw/OpenSTA.git",
20
+ "git-commit": "b32eed9a849381172a5d3208cc7798a8a11c4c9b",
21
+ "auto-update": true
22
+ },
18
23
  "netgen": {
19
24
  "git-url": "https://github.com/RTimothyEdwards/netgen.git",
20
25
  "git-commit": "fb7876c7a6f9d58a3d88a49e302e682c1d12e00d",
@@ -36,7 +41,7 @@
36
41
  "auto-update": false
37
42
  },
38
43
  "klayout": {
39
- "version": "0.30.0",
44
+ "version": "0.30.1",
40
45
  "git-url": "https://github.com/KLayout/klayout.git",
41
46
  "docker-skip": true,
42
47
  "auto-update": true,
@@ -45,7 +50,7 @@
45
50
  },
46
51
  "sv2v": {
47
52
  "git-url": "https://github.com/zachjs/sv2v.git",
48
- "git-commit": "e5effb5e1ea4e0cf9b4af2c769d364e0ed4b6d84",
53
+ "git-commit": "d30c7e7f4e9018b9d4a565207ff752460c81eeb4",
49
54
  "auto-update": true
50
55
  },
51
56
  "verilator": {
@@ -66,7 +71,7 @@
66
71
  },
67
72
  "vpr": {
68
73
  "git-url": "https://github.com/verilog-to-routing/vtr-verilog-to-routing.git",
69
- "git-commit": "2a4e92181280a235315621253d1dc9eb8826bc53",
74
+ "git-commit": "c606a21d9ab5db53fb382a7dd79a0703c887108c",
70
75
  "auto-update": false
71
76
  },
72
77
  "icepack": {
@@ -91,7 +96,7 @@
91
96
  },
92
97
  "yosys": {
93
98
  "git-url": "https://github.com/YosysHQ/yosys.git",
94
- "git-commit": "v0.51",
99
+ "git-commit": "v0.53",
95
100
  "version-prefix": "",
96
101
  "auto-update": true
97
102
  },
@@ -139,7 +144,7 @@
139
144
  },
140
145
  "yosys-slang": {
141
146
  "git-url": "https://github.com/povik/yosys-slang.git",
142
- "git-commit": "e23228f4b4ec5ec0b4b17f1f675debfa29458665",
147
+ "git-commit": "7d4959430442ac1d7e3bf7b3e55d648293a5ac7b",
143
148
  "docker-depends": "yosys",
144
149
  "auto-update": true
145
150
  },
@@ -151,7 +156,7 @@
151
156
  },
152
157
  "yosys-parmys": {
153
158
  "git-url": "https://github.com/verilog-to-routing/vtr-verilog-to-routing.git",
154
- "git-commit": "2a4e92181280a235315621253d1dc9eb8826bc53",
159
+ "git-commit": "c606a21d9ab5db53fb382a7dd79a0703c887108c",
155
160
  "docker-depends": [
156
161
  "yosys",
157
162
  "vpr"
@@ -5,6 +5,8 @@ set -e
5
5
  # Get directory of script
6
6
  src_path=$(cd -- "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P)/..
7
7
 
8
+ sudo yum install -y wget
9
+
8
10
  mkdir -p deps
9
11
  cd deps
10
12
 
@@ -6,6 +6,7 @@ set -e
6
6
  src_path=$(cd -- "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P)/..
7
7
 
8
8
  sudo yum group install -y "Development Tools"
9
+ sudo yum install -y wget git
9
10
 
10
11
  args=
11
12
  if [ ! -z ${PREFIX} ]; then
@@ -5,6 +5,8 @@ set -e
5
5
  # Get directory of script
6
6
  src_path=$(cd -- "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P)/..
7
7
 
8
+ sudo yum install -y wget
9
+
8
10
  mkdir -p deps
9
11
  cd deps
10
12
 
@@ -6,8 +6,7 @@ set -e
6
6
  src_path=$(cd -- "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P)/..
7
7
 
8
8
  sudo yum group install -y "Development Tools"
9
- sudo yum install -y tcl-devel tk-devel tcsh csh
10
- # sudo apt-get install -y build-essential m4 tcsh csh libx11-dev tcl-dev tk-dev
9
+ sudo yum install -y tcl-devel tk-devel tcsh csh git
11
10
 
12
11
  mkdir -p deps
13
12
  cd deps
@@ -6,7 +6,7 @@ set -e
6
6
  src_path=$(cd -- "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P)/..
7
7
 
8
8
  sudo yum group install -y "Development Tools"
9
- sudo yum install -y tcl-devel tk-devel
9
+ sudo yum install -y tcl-devel tk-devel git
10
10
 
11
11
  mkdir -p deps
12
12
  cd deps
@@ -5,6 +5,8 @@ set -e
5
5
  # Get directory of script
6
6
  src_path=$(cd -- "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P)/..
7
7
 
8
+ sudo yum install -y git
9
+
8
10
  mkdir -p deps
9
11
  cd deps
10
12
 
@@ -5,6 +5,8 @@ set -e
5
5
  # Get directory of script
6
6
  src_path=$(cd -- "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P)/..
7
7
 
8
+ sudo yum install -y git
9
+
8
10
  # These dependencies are up-to-date with instructions from the INSTALL.md from the commit we are pinned to below
9
11
  sudo yum install -y gcc-toolset-12
10
12
  sudo dnf config-manager --set-enabled devel || true
@@ -17,7 +19,7 @@ cd deps
17
19
  python3 -m venv .surelog --clear
18
20
  . .surelog/bin/activate
19
21
  python3 -m pip install --upgrade pip
20
- python3 -m pip install cmake
22
+ python3 -m pip install cmake==3.28.4
21
23
  python3 -m pip install orderedmultidict
22
24
 
23
25
  git clone $(python3 ${src_path}/_tools.py --tool surelog --field git-url) surelog
@@ -8,6 +8,7 @@ src_path=$(cd -- "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P)/..
8
8
  mkdir -p deps
9
9
  cd deps
10
10
 
11
+ sudo yum install -y git curl
11
12
  sudo yum group install -y "Development Tools"
12
13
  sudo yum install -y gmp-devel xz
13
14
 
@@ -5,6 +5,8 @@ set -e
5
5
  # Get directory of script
6
6
  src_path=$(cd -- "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P)/..
7
7
 
8
+ sudo yum install -y wget
9
+
8
10
  mkdir -p deps
9
11
  cd deps
10
12
 
@@ -6,6 +6,7 @@ set -e
6
6
  src_path=$(cd -- "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P)/..
7
7
 
8
8
  sudo yum group install -y "Development Tools"
9
+ sudo yum install -y git wget
9
10
 
10
11
  mkdir -p deps
11
12
  cd deps
@@ -5,6 +5,8 @@ set -e
5
5
  # Get directory of script
6
6
  src_path=$(cd -- "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P)/..
7
7
 
8
+ sudo yum install -y wget
9
+
8
10
  mkdir -p deps
9
11
  cd deps
10
12
 
@@ -5,6 +5,8 @@ set -e
5
5
  # Get directory of script
6
6
  src_path=$(cd -- "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P)/..
7
7
 
8
+ sudo yum install -y wget
9
+
8
10
  mkdir -p deps
9
11
  cd deps
10
12
 
@@ -6,6 +6,7 @@ set -e
6
6
  src_path=$(cd -- "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P)/..
7
7
 
8
8
  sudo yum install -y gcc-gnat zlib-devel diffutils
9
+ sudo yum install -y git
9
10
 
10
11
  mkdir -p deps
11
12
  cd deps
@@ -8,6 +8,7 @@ src_path=$(cd -- "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P)/..
8
8
  sudo yum group install -y "Development Tools"
9
9
  sudo yum install -y gtk3-devel \
10
10
  bzip2-devel xz-devel tcl-devel tk-devel
11
+ sudo yum install -y wget git
11
12
  sudo dnf config-manager --set-enabled devel || true
12
13
  sudo yum install -y Judy-devel
13
14
  sudo dnf config-manager --set-disabled devel || true
@@ -6,6 +6,7 @@ set -e
6
6
  src_path=$(cd -- "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P)/..
7
7
 
8
8
  sudo yum group install -y "Development Tools"
9
+ sudo yum install -y wget git
9
10
 
10
11
  args=
11
12
  if [ ! -z ${PREFIX} ]; then
@@ -5,6 +5,8 @@ set -e
5
5
  # Get directory of script
6
6
  src_path=$(cd -- "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P)/..
7
7
 
8
+ sudo yum install -y wget
9
+
8
10
  mkdir -p deps
9
11
  cd deps
10
12
 
@@ -6,8 +6,7 @@ set -e
6
6
  src_path=$(cd -- "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P)/..
7
7
 
8
8
  sudo yum group install -y "Development Tools"
9
- sudo yum install -y tcl-devel tk-devel tcsh csh
10
- # sudo apt-get install -y build-essential m4 tcsh csh libx11-dev tcl-dev tk-dev
9
+ sudo yum install -y tcl-devel tk-devel tcsh csh git
11
10
 
12
11
  mkdir -p deps
13
12
  cd deps
@@ -6,7 +6,7 @@ set -e
6
6
  src_path=$(cd -- "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P)/..
7
7
 
8
8
  sudo yum group install -y "Development Tools"
9
- sudo yum install -y tcl-devel tk-devel
9
+ sudo yum install -y tcl-devel tk-devel git
10
10
 
11
11
  mkdir -p deps
12
12
  cd deps
@@ -4,6 +4,8 @@ set -e
4
4
 
5
5
  src_path=$(cd -- "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P)/..
6
6
 
7
+ sudo yum install -y git
8
+
7
9
  mkdir -p deps
8
10
  cd deps
9
11
 
@@ -0,0 +1,76 @@
1
+ #!/bin/sh
2
+
3
+ set -e
4
+
5
+ src_path=$(cd -- "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P)/..
6
+
7
+ sudo yum install -y git gcc-c++ wget
8
+ sudo yum install -y tcl-tclreadline-devel \
9
+ bison flex zlib-devel automake autoconf
10
+ sudo yum install -y \
11
+ https://mirror.stream.centos.org/9-stream/AppStream/x86_64/os/Packages/flex-2.6.4-9.el9.x86_64.rpm \
12
+ https://mirror.stream.centos.org/9-stream/AppStream/x86_64/os/Packages/readline-devel-8.1-4.el9.x86_64.rpm \
13
+ https://rpmfind.net/linux/centos-stream/9-stream/AppStream/x86_64/os/Packages/tcl-devel-8.6.10-7.el9.x86_64.rpm
14
+
15
+ mkdir -p deps
16
+ cd deps
17
+
18
+ python3 -m venv .opensta --clear
19
+ . .opensta/bin/activate
20
+ python3 -m pip install cmake==3.31.6
21
+
22
+ if [ ! -z ${PREFIX} ]; then
23
+ cmake_args="-DCMAKE_INSTALL_PREFIX=$PREFIX"
24
+ config_prefix="--prefix=$PREFIX"
25
+ fi
26
+
27
+ # eigen
28
+ mkdir -p eigen3
29
+ cd eigen3
30
+ git clone --depth=1 -b 3.4 https://gitlab.com/libeigen/eigen.git
31
+ cd eigen
32
+ mkdir build
33
+ cd build
34
+ cmake $cmake_args ..
35
+ make -j$(nproc)
36
+ sudo make install
37
+
38
+ cd ../../..
39
+ # cudd
40
+ mkdir -p cudd
41
+ cd cudd
42
+ git clone --depth=1 -b 3.0.0 https://github.com/The-OpenROAD-Project/cudd.git
43
+ cd cudd
44
+ autoreconf
45
+ ./configure $config_prefix
46
+ make -j$(nproc)
47
+ sudo make install
48
+
49
+ cd ../..
50
+ #swig
51
+ wget -O swig.tar.gz https://github.com/swig/swig/archive/v4.1.0.tar.gz
52
+ tar xfz swig.tar.gz
53
+ cd swig-4.1.0
54
+
55
+ wget https://github.com/PCRE2Project/pcre2/releases/download/pcre2-10.42/pcre2-10.42.tar.gz
56
+ ./Tools/pcre-build.sh
57
+
58
+ ./autogen.sh
59
+ ./configure $config_prefix
60
+ make -j$(nproc)
61
+ sudo make -j$(nproc) install
62
+
63
+ cd ../..
64
+ # opensta
65
+ git clone $(python3 ${src_path}/_tools.py --tool opensta --field git-url) opensta
66
+ cd opensta
67
+ git checkout $(python3 ${src_path}/_tools.py --tool opensta --field git-commit)
68
+ git submodule update --init --recursive
69
+
70
+ mkdir -p build
71
+ cd build
72
+ cmake .. $cmake_args
73
+ make -j$(nproc)
74
+ sudo make install
75
+
76
+ cd -
@@ -5,13 +5,15 @@ set -e
5
5
  # Get directory of script
6
6
  src_path=$(cd -- "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P)/..
7
7
 
8
+ sudo yum install -y git
9
+
8
10
  mkdir -p deps
9
11
  cd deps
10
12
 
11
13
  python3 -m venv .slang --clear
12
14
  . .slang/bin/activate
13
15
  python3 -m pip install --upgrade pip
14
- python3 -m pip install cmake
16
+ python3 -m pip install cmake==3.31.6
15
17
 
16
18
  sudo yum install -y gcc-toolset-12
17
19
 
@@ -10,6 +10,7 @@ sudo yum install -y gcc-toolset-12
10
10
  sudo dnf config-manager --set-enabled devel || true
11
11
  sudo yum install -y libuuid-devel java-11-openjdk-devel python3 zlib-static openssl-devel
12
12
  sudo dnf config-manager --set-disabled devel || true
13
+ sudo yum install -y git
13
14
 
14
15
  mkdir -p deps
15
16
  cd deps
@@ -17,7 +18,7 @@ cd deps
17
18
  python3 -m venv .surelog --clear
18
19
  . .surelog/bin/activate
19
20
  python3 -m pip install --upgrade pip
20
- python3 -m pip install cmake
21
+ python3 -m pip install cmake==3.31.6
21
22
  python3 -m pip install orderedmultidict
22
23
 
23
24
  git clone $(python3 ${src_path}/_tools.py --tool surelog --field git-url) surelog
@@ -8,6 +8,7 @@ src_path=$(cd -- "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P)/..
8
8
  mkdir -p deps
9
9
  cd deps
10
10
 
11
+ sudo yum install -y --skip-broken git curl
11
12
  sudo yum group install -y "Development Tools"
12
13
  sudo yum install -y gmp-devel xz
13
14
 
@@ -5,6 +5,8 @@ set -e
5
5
  # Get directory of script
6
6
  src_path=$(cd -- "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P)/..
7
7
 
8
+ sudo yum install -y wget
9
+
8
10
  mkdir -p deps
9
11
  cd deps
10
12
 
@@ -6,6 +6,7 @@ set -e
6
6
  src_path=$(cd -- "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P)/..
7
7
 
8
8
  sudo yum group install -y "Development Tools"
9
+ sudo yum install -y git wget
9
10
 
10
11
  mkdir -p deps
11
12
  cd deps