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.
- siliconcompiler/__init__.py +19 -2
- siliconcompiler/_metadata.py +3 -2
- siliconcompiler/apps/sc.py +2 -2
- siliconcompiler/apps/sc_install.py +3 -3
- siliconcompiler/apps/sc_issue.py +1 -1
- siliconcompiler/apps/sc_remote.py +4 -4
- siliconcompiler/apps/sc_show.py +2 -2
- siliconcompiler/apps/utils/replay.py +5 -3
- siliconcompiler/asic.py +120 -0
- siliconcompiler/checklist.py +150 -0
- siliconcompiler/core.py +319 -345
- siliconcompiler/{templates → data/templates}/replay/replay.sh.j2 +2 -2
- siliconcompiler/flowgraph.py +803 -515
- siliconcompiler/fpga.py +84 -0
- siliconcompiler/metric.py +420 -0
- siliconcompiler/optimizer/vizier.py +2 -3
- siliconcompiler/package/__init__.py +29 -6
- siliconcompiler/pdk.py +415 -0
- siliconcompiler/record.py +449 -0
- siliconcompiler/remote/client.py +61 -19
- siliconcompiler/remote/schema.py +116 -112
- siliconcompiler/remote/server.py +3 -5
- siliconcompiler/report/__init__.py +3 -2
- siliconcompiler/report/dashboard/__init__.py +61 -170
- siliconcompiler/report/dashboard/cli/__init__.py +79 -0
- siliconcompiler/report/dashboard/cli/board.py +895 -0
- siliconcompiler/report/dashboard/web/__init__.py +196 -0
- siliconcompiler/report/dashboard/{components → web/components}/__init__.py +9 -8
- siliconcompiler/report/dashboard/{components → web/components}/flowgraph.py +3 -3
- siliconcompiler/report/dashboard/{components → web/components}/graph.py +7 -4
- siliconcompiler/report/dashboard/{layouts → web/layouts}/__init__.py +3 -3
- siliconcompiler/report/dashboard/{layouts → web/layouts}/_common.py +1 -1
- siliconcompiler/report/dashboard/{layouts → web/layouts}/vertical_flowgraph.py +5 -5
- siliconcompiler/report/dashboard/{layouts → web/layouts}/vertical_flowgraph_node_tab.py +6 -6
- siliconcompiler/report/dashboard/{layouts → web/layouts}/vertical_flowgraph_sac_tabs.py +6 -6
- siliconcompiler/report/dashboard/{state.py → web/state.py} +1 -1
- siliconcompiler/report/dashboard/{utils → web/utils}/__init__.py +4 -3
- siliconcompiler/report/dashboard/{viewer.py → web/viewer.py} +4 -4
- siliconcompiler/report/html_report.py +2 -3
- siliconcompiler/report/report.py +13 -7
- siliconcompiler/report/summary_image.py +1 -1
- siliconcompiler/report/summary_table.py +3 -3
- siliconcompiler/report/utils.py +11 -10
- siliconcompiler/scheduler/__init__.py +153 -286
- siliconcompiler/scheduler/run_node.py +2 -1
- siliconcompiler/scheduler/send_messages.py +4 -4
- siliconcompiler/scheduler/slurm.py +2 -2
- siliconcompiler/schema/__init__.py +19 -2
- siliconcompiler/schema/baseschema.py +493 -0
- siliconcompiler/schema/cmdlineschema.py +250 -0
- siliconcompiler/{sphinx_ext → schema/docs}/__init__.py +3 -1
- siliconcompiler/{sphinx_ext → schema/docs}/dynamicgen.py +63 -81
- siliconcompiler/{sphinx_ext → schema/docs}/schemagen.py +73 -85
- siliconcompiler/{sphinx_ext → schema/docs}/utils.py +12 -13
- siliconcompiler/schema/editableschema.py +136 -0
- siliconcompiler/schema/journalingschema.py +238 -0
- siliconcompiler/schema/namedschema.py +41 -0
- siliconcompiler/schema/packageschema.py +101 -0
- siliconcompiler/schema/parameter.py +791 -0
- siliconcompiler/schema/parametertype.py +323 -0
- siliconcompiler/schema/parametervalue.py +736 -0
- siliconcompiler/schema/safeschema.py +37 -0
- siliconcompiler/schema/schema_cfg.py +109 -1789
- siliconcompiler/schema/utils.py +5 -68
- siliconcompiler/schema_obj.py +119 -0
- siliconcompiler/tool.py +1308 -0
- siliconcompiler/tools/_common/__init__.py +8 -10
- siliconcompiler/tools/_common/sdc/sc_constraints.sdc +1 -1
- siliconcompiler/tools/bluespec/convert.py +7 -7
- siliconcompiler/tools/builtin/_common.py +1 -1
- siliconcompiler/tools/builtin/concatenate.py +2 -2
- siliconcompiler/tools/builtin/minimum.py +1 -1
- siliconcompiler/tools/builtin/mux.py +2 -1
- siliconcompiler/tools/builtin/nop.py +1 -1
- siliconcompiler/tools/builtin/verify.py +6 -4
- siliconcompiler/tools/chisel/convert.py +4 -4
- siliconcompiler/tools/genfasm/bitstream.py +3 -3
- siliconcompiler/tools/ghdl/convert.py +1 -1
- siliconcompiler/tools/icarus/compile.py +4 -4
- siliconcompiler/tools/icepack/bitstream.py +6 -1
- siliconcompiler/tools/klayout/convert_drc_db.py +5 -0
- siliconcompiler/tools/klayout/klayout_export.py +0 -1
- siliconcompiler/tools/klayout/klayout_utils.py +3 -10
- siliconcompiler/tools/nextpnr/apr.py +6 -1
- siliconcompiler/tools/nextpnr/nextpnr.py +4 -4
- siliconcompiler/tools/openroad/_apr.py +17 -0
- siliconcompiler/tools/openroad/fillmetal_insertion.py +14 -14
- siliconcompiler/tools/openroad/rdlroute.py +3 -3
- siliconcompiler/tools/openroad/scripts/apr/postamble.tcl +1 -1
- siliconcompiler/tools/openroad/scripts/apr/preamble.tcl +5 -5
- siliconcompiler/tools/openroad/scripts/apr/sc_antenna_repair.tcl +3 -3
- siliconcompiler/tools/openroad/scripts/apr/sc_clock_tree_synthesis.tcl +3 -3
- siliconcompiler/tools/openroad/scripts/apr/sc_detailed_placement.tcl +3 -3
- siliconcompiler/tools/openroad/scripts/apr/sc_detailed_route.tcl +3 -3
- siliconcompiler/tools/openroad/scripts/apr/sc_endcap_tapcell_insertion.tcl +3 -3
- siliconcompiler/tools/openroad/scripts/apr/sc_fillercell_insertion.tcl +3 -3
- siliconcompiler/tools/openroad/scripts/apr/sc_fillmetal_insertion.tcl +4 -4
- siliconcompiler/tools/openroad/scripts/apr/sc_global_placement.tcl +3 -3
- siliconcompiler/tools/openroad/scripts/apr/sc_global_route.tcl +3 -3
- siliconcompiler/tools/openroad/scripts/apr/sc_init_floorplan.tcl +3 -3
- siliconcompiler/tools/openroad/scripts/apr/sc_macro_placement.tcl +4 -4
- siliconcompiler/tools/openroad/scripts/apr/sc_metrics.tcl +3 -3
- siliconcompiler/tools/openroad/scripts/apr/sc_pin_placement.tcl +3 -3
- siliconcompiler/tools/openroad/scripts/apr/sc_power_grid.tcl +3 -3
- siliconcompiler/tools/openroad/scripts/apr/sc_repair_design.tcl +3 -3
- siliconcompiler/tools/openroad/scripts/apr/sc_repair_timing.tcl +4 -4
- siliconcompiler/tools/openroad/scripts/apr/sc_write_data.tcl +3 -3
- siliconcompiler/tools/openroad/scripts/common/procs.tcl +58 -2
- siliconcompiler/tools/openroad/scripts/common/reports.tcl +2 -2
- siliconcompiler/tools/openroad/scripts/common/screenshot.tcl +2 -2
- siliconcompiler/tools/openroad/scripts/common/write_images.tcl +28 -3
- siliconcompiler/tools/openroad/scripts/sc_rcx.tcl +2 -2
- siliconcompiler/tools/openroad/scripts/sc_rdlroute.tcl +4 -4
- siliconcompiler/tools/openroad/scripts/sc_show.tcl +7 -7
- siliconcompiler/tools/opensta/__init__.py +1 -1
- siliconcompiler/tools/opensta/scripts/sc_check_library.tcl +1 -1
- siliconcompiler/tools/opensta/scripts/sc_procs.tcl +16 -0
- siliconcompiler/tools/opensta/scripts/sc_report_libraries.tcl +1 -1
- siliconcompiler/tools/opensta/scripts/sc_timing.tcl +35 -7
- siliconcompiler/tools/opensta/timing.py +6 -2
- siliconcompiler/tools/slang/__init__.py +10 -10
- siliconcompiler/tools/surelog/parse.py +4 -4
- siliconcompiler/tools/sv2v/convert.py +20 -3
- siliconcompiler/tools/verilator/compile.py +2 -2
- siliconcompiler/tools/verilator/verilator.py +3 -3
- siliconcompiler/tools/vpr/place.py +1 -1
- siliconcompiler/tools/vpr/route.py +4 -4
- siliconcompiler/tools/vpr/screenshot.py +1 -1
- siliconcompiler/tools/vpr/show.py +5 -5
- siliconcompiler/tools/vpr/vpr.py +24 -24
- siliconcompiler/tools/xdm/convert.py +2 -2
- siliconcompiler/tools/xyce/simulate.py +1 -1
- siliconcompiler/tools/yosys/sc_synth_asic.tcl +104 -90
- siliconcompiler/tools/yosys/syn_asic.py +13 -4
- siliconcompiler/toolscripts/_tools.json +12 -7
- siliconcompiler/toolscripts/rhel8/install-chisel.sh +2 -0
- siliconcompiler/toolscripts/rhel8/install-icarus.sh +1 -0
- siliconcompiler/toolscripts/rhel8/install-klayout.sh +2 -0
- siliconcompiler/toolscripts/rhel8/install-magic.sh +1 -2
- siliconcompiler/toolscripts/rhel8/install-netgen.sh +1 -1
- siliconcompiler/toolscripts/rhel8/install-slang.sh +2 -0
- siliconcompiler/toolscripts/rhel8/install-surelog.sh +3 -1
- siliconcompiler/toolscripts/rhel8/install-sv2v.sh +1 -0
- siliconcompiler/toolscripts/rhel8/install-verible.sh +2 -0
- siliconcompiler/toolscripts/rhel8/install-verilator.sh +1 -0
- siliconcompiler/toolscripts/rhel8/install-xyce.sh +2 -0
- siliconcompiler/toolscripts/rhel9/install-chisel.sh +2 -0
- siliconcompiler/toolscripts/rhel9/install-ghdl.sh +1 -0
- siliconcompiler/toolscripts/rhel9/install-gtkwave.sh +1 -0
- siliconcompiler/toolscripts/rhel9/install-icarus.sh +1 -0
- siliconcompiler/toolscripts/rhel9/install-klayout.sh +2 -0
- siliconcompiler/toolscripts/rhel9/install-magic.sh +1 -2
- siliconcompiler/toolscripts/rhel9/install-netgen.sh +1 -1
- siliconcompiler/toolscripts/rhel9/install-openroad.sh +2 -0
- siliconcompiler/toolscripts/rhel9/install-opensta.sh +76 -0
- siliconcompiler/toolscripts/rhel9/install-slang.sh +3 -1
- siliconcompiler/toolscripts/rhel9/install-surelog.sh +2 -1
- siliconcompiler/toolscripts/rhel9/install-sv2v.sh +1 -0
- siliconcompiler/toolscripts/rhel9/install-verible.sh +2 -0
- siliconcompiler/toolscripts/rhel9/install-verilator.sh +1 -0
- siliconcompiler/toolscripts/rhel9/install-vpr.sh +2 -0
- siliconcompiler/toolscripts/rhel9/install-xdm.sh +2 -0
- siliconcompiler/toolscripts/rhel9/install-xyce.sh +2 -0
- siliconcompiler/toolscripts/rhel9/install-yosys-moosic.sh +2 -0
- siliconcompiler/toolscripts/rhel9/install-yosys-parmys.sh +2 -0
- siliconcompiler/toolscripts/rhel9/install-yosys-slang.sh +3 -1
- siliconcompiler/toolscripts/rhel9/install-yosys.sh +2 -0
- siliconcompiler/toolscripts/ubuntu20/install-bambu.sh +2 -0
- siliconcompiler/toolscripts/ubuntu20/install-bluespec.sh +2 -0
- siliconcompiler/toolscripts/ubuntu20/install-chisel.sh +2 -0
- siliconcompiler/toolscripts/ubuntu20/install-ghdl.sh +2 -0
- siliconcompiler/toolscripts/ubuntu20/install-gtkwave.sh +2 -0
- siliconcompiler/toolscripts/ubuntu20/install-icarus.sh +2 -0
- siliconcompiler/toolscripts/ubuntu20/install-icepack.sh +2 -0
- siliconcompiler/toolscripts/ubuntu20/install-klayout.sh +2 -0
- siliconcompiler/toolscripts/ubuntu20/install-magic.sh +2 -0
- siliconcompiler/toolscripts/ubuntu20/install-netgen.sh +2 -0
- siliconcompiler/toolscripts/ubuntu20/install-nextpnr.sh +1 -3
- siliconcompiler/toolscripts/ubuntu20/install-openroad.sh +2 -0
- siliconcompiler/toolscripts/ubuntu20/install-opensta.sh +72 -0
- siliconcompiler/toolscripts/ubuntu20/install-slang.sh +3 -1
- siliconcompiler/toolscripts/ubuntu20/install-slurm.sh +2 -0
- siliconcompiler/toolscripts/ubuntu20/install-surelog.sh +3 -1
- siliconcompiler/toolscripts/ubuntu20/install-sv2v.sh +1 -1
- siliconcompiler/toolscripts/ubuntu20/install-verible.sh +2 -0
- siliconcompiler/toolscripts/ubuntu20/install-verilator.sh +2 -0
- siliconcompiler/toolscripts/ubuntu20/install-xdm.sh +2 -0
- siliconcompiler/toolscripts/ubuntu20/install-xyce.sh +2 -0
- siliconcompiler/toolscripts/ubuntu20/install-yosys-moosic.sh +2 -0
- siliconcompiler/toolscripts/ubuntu20/install-yosys.sh +2 -0
- siliconcompiler/toolscripts/ubuntu22/install-bambu.sh +2 -0
- siliconcompiler/toolscripts/ubuntu22/install-bluespec.sh +2 -0
- siliconcompiler/toolscripts/ubuntu22/install-chisel.sh +2 -0
- siliconcompiler/toolscripts/ubuntu22/install-ghdl.sh +2 -0
- siliconcompiler/toolscripts/ubuntu22/install-gtkwave.sh +2 -0
- siliconcompiler/toolscripts/ubuntu22/install-icarus.sh +2 -0
- siliconcompiler/toolscripts/ubuntu22/install-icepack.sh +2 -0
- siliconcompiler/toolscripts/ubuntu22/install-klayout.sh +2 -0
- siliconcompiler/toolscripts/ubuntu22/install-magic.sh +2 -0
- siliconcompiler/toolscripts/ubuntu22/install-netgen.sh +2 -0
- siliconcompiler/toolscripts/ubuntu22/install-nextpnr.sh +1 -2
- siliconcompiler/toolscripts/ubuntu22/install-openroad.sh +2 -0
- siliconcompiler/toolscripts/ubuntu22/install-opensta.sh +72 -0
- siliconcompiler/toolscripts/ubuntu22/install-slang.sh +3 -1
- siliconcompiler/toolscripts/ubuntu22/install-slurm.sh +2 -0
- siliconcompiler/toolscripts/ubuntu22/install-surelog.sh +3 -1
- siliconcompiler/toolscripts/ubuntu22/install-sv2v.sh +1 -1
- siliconcompiler/toolscripts/ubuntu22/install-verible.sh +2 -0
- siliconcompiler/toolscripts/ubuntu22/install-verilator.sh +2 -0
- siliconcompiler/toolscripts/ubuntu22/install-vpr.sh +2 -2
- siliconcompiler/toolscripts/ubuntu22/install-xdm.sh +2 -0
- siliconcompiler/toolscripts/ubuntu22/install-xyce.sh +2 -0
- siliconcompiler/toolscripts/ubuntu22/install-yosys-moosic.sh +2 -0
- siliconcompiler/toolscripts/ubuntu22/install-yosys-parmys.sh +2 -0
- siliconcompiler/toolscripts/ubuntu22/install-yosys-slang.sh +3 -1
- siliconcompiler/toolscripts/ubuntu22/install-yosys.sh +2 -0
- siliconcompiler/toolscripts/ubuntu24/install-bambu.sh +2 -0
- siliconcompiler/toolscripts/ubuntu24/install-bluespec.sh +2 -0
- siliconcompiler/toolscripts/ubuntu24/install-chisel.sh +2 -0
- siliconcompiler/toolscripts/ubuntu24/install-ghdl.sh +2 -0
- siliconcompiler/toolscripts/ubuntu24/install-gtkwave.sh +2 -0
- siliconcompiler/toolscripts/ubuntu24/install-icarus.sh +2 -0
- siliconcompiler/toolscripts/ubuntu24/install-icepack.sh +2 -0
- siliconcompiler/toolscripts/ubuntu24/install-klayout.sh +2 -0
- siliconcompiler/toolscripts/ubuntu24/install-magic.sh +2 -0
- siliconcompiler/toolscripts/ubuntu24/install-netgen.sh +2 -0
- siliconcompiler/toolscripts/ubuntu24/install-nextpnr.sh +1 -3
- siliconcompiler/toolscripts/ubuntu24/install-openroad.sh +2 -0
- siliconcompiler/toolscripts/ubuntu24/install-opensta.sh +72 -0
- siliconcompiler/toolscripts/ubuntu24/install-slang.sh +3 -1
- siliconcompiler/toolscripts/ubuntu24/install-slurm.sh +2 -0
- siliconcompiler/toolscripts/ubuntu24/install-surelog.sh +3 -1
- siliconcompiler/toolscripts/ubuntu24/install-sv2v.sh +1 -1
- siliconcompiler/toolscripts/ubuntu24/install-verible.sh +2 -0
- siliconcompiler/toolscripts/ubuntu24/install-verilator.sh +2 -0
- siliconcompiler/toolscripts/ubuntu24/install-vpr.sh +2 -2
- siliconcompiler/toolscripts/ubuntu24/install-xdm.sh +2 -0
- siliconcompiler/toolscripts/ubuntu24/install-xyce.sh +2 -0
- siliconcompiler/toolscripts/ubuntu24/install-yosys-moosic.sh +2 -0
- siliconcompiler/toolscripts/ubuntu24/install-yosys-parmys.sh +2 -0
- siliconcompiler/toolscripts/ubuntu24/install-yosys-slang.sh +3 -1
- siliconcompiler/toolscripts/ubuntu24/install-yosys.sh +2 -0
- siliconcompiler/utils/__init__.py +8 -112
- siliconcompiler/utils/flowgraph.py +339 -0
- siliconcompiler/{issue.py → utils/issue.py} +7 -4
- siliconcompiler/utils/logging.py +86 -33
- {siliconcompiler-0.32.2.dist-info → siliconcompiler-0.33.0.dist-info}/METADATA +10 -8
- siliconcompiler-0.33.0.dist-info/RECORD +487 -0
- {siliconcompiler-0.32.2.dist-info → siliconcompiler-0.33.0.dist-info}/WHEEL +1 -1
- {siliconcompiler-0.32.2.dist-info → siliconcompiler-0.33.0.dist-info}/entry_points.txt +8 -8
- siliconcompiler/schema/schema_obj.py +0 -1936
- siliconcompiler/toolscripts/ubuntu20/install-vpr.sh +0 -27
- siliconcompiler/toolscripts/ubuntu20/install-yosys-parmys.sh +0 -59
- siliconcompiler-0.32.2.dist-info/RECORD +0 -464
- /siliconcompiler/{templates → data/templates}/__init__.py +0 -0
- /siliconcompiler/{templates → data/templates}/email/__init__.py +0 -0
- /siliconcompiler/{templates → data/templates}/email/general.j2 +0 -0
- /siliconcompiler/{templates → data/templates}/email/summary.j2 +0 -0
- /siliconcompiler/{templates → data/templates}/issue/README.txt +0 -0
- /siliconcompiler/{templates → data/templates}/issue/__init__.py +0 -0
- /siliconcompiler/{templates → data/templates}/issue/run.sh +0 -0
- /siliconcompiler/{templates → data/templates}/replay/replay.py.j2 +0 -0
- /siliconcompiler/{templates → data/templates}/replay/requirements.txt +0 -0
- /siliconcompiler/{templates → data/templates}/replay/setup.sh +0 -0
- /siliconcompiler/{templates → data/templates}/report/__init__.py +0 -0
- /siliconcompiler/{templates → data/templates}/report/bootstrap.min.css +0 -0
- /siliconcompiler/{templates → data/templates}/report/bootstrap.min.js +0 -0
- /siliconcompiler/{templates → data/templates}/report/bootstrap_LICENSE.md +0 -0
- /siliconcompiler/{templates → data/templates}/report/sc_report.j2 +0 -0
- /siliconcompiler/{templates → data/templates}/slurm/__init__.py +0 -0
- /siliconcompiler/{templates → data/templates}/slurm/run.sh +0 -0
- /siliconcompiler/{templates → data/templates}/tcl/__init__.py +0 -0
- /siliconcompiler/{templates → data/templates}/tcl/manifest.tcl.j2 +0 -0
- /siliconcompiler/report/dashboard/{utils → web/utils}/file_utils.py +0 -0
- /siliconcompiler/{units.py → utils/units.py} +0 -0
- {siliconcompiler-0.32.2.dist-info → siliconcompiler-0.33.0.dist-info}/licenses/LICENSE +0 -0
- {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
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
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
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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": "
|
|
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.
|
|
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": "
|
|
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": "
|
|
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.
|
|
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": "
|
|
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": "
|
|
159
|
+
"git-commit": "c606a21d9ab5db53fb382a7dd79a0703c887108c",
|
|
155
160
|
"docker-depends": [
|
|
156
161
|
"yosys",
|
|
157
162
|
"vpr"
|
|
@@ -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
|
|
@@ -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
|
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,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
|
|
@@ -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
|