siliconcompiler 0.36.3__py3-none-any.whl → 0.36.4__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 (112) hide show
  1. siliconcompiler/_metadata.py +1 -1
  2. siliconcompiler/apps/sc_install.py +23 -2
  3. siliconcompiler/apps/sc_issue.py +4 -0
  4. siliconcompiler/flows/dvflow.py +13 -0
  5. siliconcompiler/package/__init__.py +17 -12
  6. siliconcompiler/package/git.py +2 -1
  7. siliconcompiler/schema/baseschema.py +11 -2
  8. siliconcompiler/schema_support/cmdlineschema.py +3 -2
  9. siliconcompiler/tools/_common/cocotb/__init__.py +0 -0
  10. siliconcompiler/tools/_common/cocotb/cocotb_task.py +286 -0
  11. siliconcompiler/tools/builtin/wait.py +136 -0
  12. siliconcompiler/tools/icarus/cocotb_exec.py +53 -0
  13. siliconcompiler/tools/icarus/compile.py +47 -1
  14. siliconcompiler/tools/openroad/_apr.py +13 -0
  15. siliconcompiler/tools/openroad/scripts/apr/sc_write_data.tcl +9 -2
  16. siliconcompiler/tools/verilator/cocotb_compile.py +55 -0
  17. siliconcompiler/tools/verilator/cocotb_exec.py +52 -0
  18. siliconcompiler/tools/verilator/compile.py +12 -8
  19. siliconcompiler/tools/vpr/__init__.py +1 -1
  20. siliconcompiler/tools/yosys/scripts/sc_synth_asic.tcl +1 -1
  21. siliconcompiler/tools/yosys/syn_asic.py +3 -3
  22. siliconcompiler/toolscripts/_tools.json +4 -4
  23. siliconcompiler/toolscripts/rhel8/install-icarus.sh +2 -2
  24. siliconcompiler/toolscripts/rhel8/install-magic.sh +1 -1
  25. siliconcompiler/toolscripts/rhel8/install-netgen.sh +1 -1
  26. siliconcompiler/toolscripts/rhel8/install-surelog.sh +1 -1
  27. siliconcompiler/toolscripts/rhel8/install-sv2v.sh +1 -1
  28. siliconcompiler/toolscripts/rhel8/install-verilator.sh +2 -2
  29. siliconcompiler/toolscripts/rhel8/install-xyce.sh +3 -3
  30. siliconcompiler/toolscripts/rhel9/install-ghdl.sh +1 -1
  31. siliconcompiler/toolscripts/rhel9/install-gtkwave.sh +2 -2
  32. siliconcompiler/toolscripts/rhel9/install-icarus.sh +2 -2
  33. siliconcompiler/toolscripts/rhel9/install-magic.sh +1 -1
  34. siliconcompiler/toolscripts/rhel9/install-netgen.sh +1 -1
  35. siliconcompiler/toolscripts/rhel9/install-openroad.sh +1 -1
  36. siliconcompiler/toolscripts/rhel9/install-opensta.sh +5 -5
  37. siliconcompiler/toolscripts/rhel9/install-surelog.sh +1 -1
  38. siliconcompiler/toolscripts/rhel9/install-sv2v.sh +1 -1
  39. siliconcompiler/toolscripts/rhel9/install-verilator.sh +2 -2
  40. siliconcompiler/toolscripts/rhel9/install-vpr.sh +1 -1
  41. siliconcompiler/toolscripts/rhel9/install-wildebeest.sh +1 -1
  42. siliconcompiler/toolscripts/rhel9/install-xyce.sh +3 -3
  43. siliconcompiler/toolscripts/rhel9/install-yosys-moosic.sh +1 -1
  44. siliconcompiler/toolscripts/rhel9/install-yosys-slang.sh +1 -1
  45. siliconcompiler/toolscripts/rhel9/install-yosys.sh +1 -1
  46. siliconcompiler/toolscripts/ubuntu20/install-bambu.sh +1 -1
  47. siliconcompiler/toolscripts/ubuntu20/install-bluespec.sh +1 -1
  48. siliconcompiler/toolscripts/ubuntu20/install-ghdl.sh +1 -1
  49. siliconcompiler/toolscripts/ubuntu20/install-gtkwave.sh +1 -1
  50. siliconcompiler/toolscripts/ubuntu20/install-icarus.sh +1 -1
  51. siliconcompiler/toolscripts/ubuntu20/install-icepack.sh +1 -1
  52. siliconcompiler/toolscripts/ubuntu20/install-magic.sh +1 -1
  53. siliconcompiler/toolscripts/ubuntu20/install-netgen.sh +1 -1
  54. siliconcompiler/toolscripts/ubuntu20/install-openroad.sh +1 -1
  55. siliconcompiler/toolscripts/ubuntu20/install-opensta.sh +5 -5
  56. siliconcompiler/toolscripts/ubuntu20/install-slurm.sh +1 -1
  57. siliconcompiler/toolscripts/ubuntu20/install-surelog.sh +1 -1
  58. siliconcompiler/toolscripts/ubuntu20/install-sv2v.sh +1 -1
  59. siliconcompiler/toolscripts/ubuntu20/install-verilator.sh +1 -1
  60. siliconcompiler/toolscripts/ubuntu20/install-xyce.sh +3 -3
  61. siliconcompiler/toolscripts/ubuntu22/install-bambu.sh +1 -1
  62. siliconcompiler/toolscripts/ubuntu22/install-bluespec.sh +1 -1
  63. siliconcompiler/toolscripts/ubuntu22/install-ghdl.sh +1 -1
  64. siliconcompiler/toolscripts/ubuntu22/install-gtkwave.sh +1 -1
  65. siliconcompiler/toolscripts/ubuntu22/install-icarus.sh +1 -1
  66. siliconcompiler/toolscripts/ubuntu22/install-icepack.sh +1 -1
  67. siliconcompiler/toolscripts/ubuntu22/install-keplerformal.sh +1 -1
  68. siliconcompiler/toolscripts/ubuntu22/install-magic.sh +1 -1
  69. siliconcompiler/toolscripts/ubuntu22/install-netgen.sh +1 -1
  70. siliconcompiler/toolscripts/ubuntu22/install-nextpnr.sh +1 -1
  71. siliconcompiler/toolscripts/ubuntu22/install-openroad.sh +1 -1
  72. siliconcompiler/toolscripts/ubuntu22/install-opensta.sh +5 -5
  73. siliconcompiler/toolscripts/ubuntu22/install-slurm.sh +1 -1
  74. siliconcompiler/toolscripts/ubuntu22/install-surelog.sh +1 -1
  75. siliconcompiler/toolscripts/ubuntu22/install-surfer.sh +1 -1
  76. siliconcompiler/toolscripts/ubuntu22/install-sv2v.sh +1 -1
  77. siliconcompiler/toolscripts/ubuntu22/install-verilator.sh +1 -1
  78. siliconcompiler/toolscripts/ubuntu22/install-vpr.sh +1 -1
  79. siliconcompiler/toolscripts/ubuntu22/install-wildebeest.sh +1 -1
  80. siliconcompiler/toolscripts/ubuntu22/install-xyce.sh +3 -3
  81. siliconcompiler/toolscripts/ubuntu22/install-yosys-moosic.sh +1 -1
  82. siliconcompiler/toolscripts/ubuntu22/install-yosys-slang.sh +1 -1
  83. siliconcompiler/toolscripts/ubuntu22/install-yosys.sh +1 -1
  84. siliconcompiler/toolscripts/ubuntu24/install-bambu.sh +1 -1
  85. siliconcompiler/toolscripts/ubuntu24/install-bluespec.sh +1 -1
  86. siliconcompiler/toolscripts/ubuntu24/install-ghdl.sh +1 -1
  87. siliconcompiler/toolscripts/ubuntu24/install-gtkwave.sh +1 -1
  88. siliconcompiler/toolscripts/ubuntu24/install-icarus.sh +1 -1
  89. siliconcompiler/toolscripts/ubuntu24/install-icepack.sh +1 -1
  90. siliconcompiler/toolscripts/ubuntu24/install-keplerformal.sh +1 -1
  91. siliconcompiler/toolscripts/ubuntu24/install-magic.sh +1 -1
  92. siliconcompiler/toolscripts/ubuntu24/install-netgen.sh +1 -1
  93. siliconcompiler/toolscripts/ubuntu24/install-nextpnr.sh +1 -1
  94. siliconcompiler/toolscripts/ubuntu24/install-openroad.sh +1 -1
  95. siliconcompiler/toolscripts/ubuntu24/install-opensta.sh +5 -5
  96. siliconcompiler/toolscripts/ubuntu24/install-slurm.sh +1 -1
  97. siliconcompiler/toolscripts/ubuntu24/install-surelog.sh +1 -1
  98. siliconcompiler/toolscripts/ubuntu24/install-surfer.sh +1 -1
  99. siliconcompiler/toolscripts/ubuntu24/install-sv2v.sh +1 -1
  100. siliconcompiler/toolscripts/ubuntu24/install-verilator.sh +1 -1
  101. siliconcompiler/toolscripts/ubuntu24/install-vpr.sh +1 -1
  102. siliconcompiler/toolscripts/ubuntu24/install-wildebeest.sh +1 -1
  103. siliconcompiler/toolscripts/ubuntu24/install-xyce.sh +3 -3
  104. siliconcompiler/toolscripts/ubuntu24/install-yosys-moosic.sh +1 -1
  105. siliconcompiler/toolscripts/ubuntu24/install-yosys-slang.sh +1 -1
  106. siliconcompiler/toolscripts/ubuntu24/install-yosys.sh +1 -1
  107. {siliconcompiler-0.36.3.dist-info → siliconcompiler-0.36.4.dist-info}/METADATA +3 -1
  108. {siliconcompiler-0.36.3.dist-info → siliconcompiler-0.36.4.dist-info}/RECORD +112 -107
  109. {siliconcompiler-0.36.3.dist-info → siliconcompiler-0.36.4.dist-info}/WHEEL +1 -1
  110. {siliconcompiler-0.36.3.dist-info → siliconcompiler-0.36.4.dist-info}/entry_points.txt +0 -0
  111. {siliconcompiler-0.36.3.dist-info → siliconcompiler-0.36.4.dist-info}/licenses/LICENSE +0 -0
  112. {siliconcompiler-0.36.3.dist-info → siliconcompiler-0.36.4.dist-info}/top_level.txt +0 -0
@@ -51,7 +51,7 @@ cmake \
51
51
  -D TPL_AMD_INCLUDE_DIRS="/usr/include/suitesparse" \
52
52
  -C "../cmake/trilinos/trilinos-base.cmake" \
53
53
  ..
54
- cmake --build . -j$(nproc)
54
+ cmake --build . -j${NPROC:-$(nproc)}
55
55
  $SUDO_INSTALL make install
56
56
  cd ../..
57
57
 
@@ -64,7 +64,7 @@ cmake \
64
64
  -D Trilinos_ROOT=$PREFIX/trilinos \
65
65
  -D BUILD_SHARED_LIBS=ON \
66
66
  ..
67
- cmake --build . -j$(nproc)
68
- cmake --build . -j$(nproc) --target xycecinterface
67
+ cmake --build . -j${NPROC:-$(nproc)}
68
+ cmake --build . -j${NPROC:-$(nproc)} --target xycecinterface
69
69
  $SUDO_INSTALL make install
70
70
  cd -
@@ -21,6 +21,6 @@ git clone $(python3 ${src_path}/_tools.py --tool yosys-moosic --field git-url) y
21
21
  cd yosys-moosic
22
22
  git checkout $(python3 ${src_path}/_tools.py --tool yosys-moosic --field git-commit)
23
23
 
24
- make -j$(nproc)
24
+ make -j${NPROC:-$(nproc)}
25
25
  $SUDO_INSTALL make install
26
26
  cd -
@@ -19,7 +19,7 @@ cd yosys-slang
19
19
  git checkout $(python3 ${src_path}/_tools.py --tool yosys-slang --field git-commit)
20
20
  git submodule update --init --recursive
21
21
 
22
- make -j$(nproc)
22
+ make -j${NPROC:-$(nproc)}
23
23
 
24
24
  USE_SUDO_INSTALL="${USE_SUDO_INSTALL:-yes}"
25
25
  if [ "${USE_SUDO_INSTALL:-yes}" = "yes" ]; then
@@ -27,6 +27,6 @@ cd yosys
27
27
  git checkout $(python3 ${src_path}/_tools.py --tool yosys --field git-commit)
28
28
  git submodule update --init --recursive
29
29
 
30
- make -j$(nproc) PREFIX="$PREFIX"
30
+ make -j${NPROC:-$(nproc)} PREFIX="$PREFIX"
31
31
  $SUDO_INSTALL make install PREFIX="$PREFIX"
32
32
  cd -
@@ -51,7 +51,7 @@ mkdir obj
51
51
  cd obj
52
52
 
53
53
  ../configure --enable-release --disable-flopoco --with-opt-level=2 $args
54
- make -j$(nproc)
54
+ make -j${NPROC:-$(nproc)}
55
55
  $SUDO_INSTALL make install
56
56
 
57
57
  cd -
@@ -28,7 +28,7 @@ cd bluespec
28
28
  git checkout $(python3 ${src_path}/_tools.py --tool bluespec --field git-commit)
29
29
  git submodule update --init --recursive
30
30
 
31
- make -j$(nproc) install-src
31
+ make -j${NPROC:-$(nproc)} install-src
32
32
 
33
33
  if [ -z ${PREFIX} ]; then
34
34
  # install
@@ -31,6 +31,6 @@ if [ ! -z ${PREFIX} ]; then
31
31
  fi
32
32
 
33
33
  ./configure $args
34
- make -j$(nproc)
34
+ make -j${NPROC:-$(nproc)}
35
35
  $SUDO_INSTALL make install
36
36
  cd -
@@ -35,5 +35,5 @@ cd gtkwave3-gtk3
35
35
 
36
36
  ./autogen.sh
37
37
  ./configure --enable-gtk3 $args
38
- make -j$(nproc)
38
+ make -j${NPROC:-$(nproc)}
39
39
  $SUDO_INSTALL make install
@@ -32,5 +32,5 @@ fi
32
32
 
33
33
  sh autoconf.sh
34
34
  ./configure $args
35
- make -j$(nproc)
35
+ make -j${NPROC:-$(nproc)}
36
36
  $SUDO_INSTALL make install
@@ -28,6 +28,6 @@ git clone $(python3 ${src_path}/_tools.py --tool icepack --field git-url) icepac
28
28
  cd icepack
29
29
  git checkout $(python3 ${src_path}/_tools.py --tool icepack --field git-commit)
30
30
 
31
- make -j$(nproc)
31
+ make -j${NPROC:-$(nproc)}
32
32
  $SUDO_INSTALL make install PREFIX="$PREFIX"
33
33
  cd -
@@ -31,5 +31,5 @@ if [ ! -z ${PREFIX} ]; then
31
31
  fi
32
32
 
33
33
  LD_FLAGS=-shared ./configure $args
34
- make -j$(nproc)
34
+ make -j${NPROC:-$(nproc)}
35
35
  $SUDO_INSTALL make install
@@ -31,5 +31,5 @@ if [ ! -z ${PREFIX} ]; then
31
31
  fi
32
32
 
33
33
  ./configure $args
34
- make -j$(nproc)
34
+ make -j${NPROC:-$(nproc)}
35
35
  $SUDO_INSTALL make install
@@ -36,7 +36,7 @@ if [ ! -z ${PREFIX} ]; then
36
36
  cmake_args="$cmake_args -DCMAKE_INSTALL_PREFIX=$PREFIX"
37
37
  fi
38
38
 
39
- ./etc/Build.sh -cmake="$cmake_args"
39
+ ./etc/Build.sh -cmake="$cmake_args" -threads=${NPROC:-$(nproc)}
40
40
 
41
41
  cd build
42
42
  $SUDO_INSTALL make install
@@ -37,7 +37,7 @@ cd eigen
37
37
  mkdir build
38
38
  cd build
39
39
  cmake $cmake_args ..
40
- make -j$(nproc)
40
+ make -j${NPROC:-$(nproc)}
41
41
  $SUDO_INSTALL make install
42
42
 
43
43
  cd ../../..
@@ -48,7 +48,7 @@ git clone --depth=1 -b 3.0.0 https://github.com/The-OpenROAD-Project/cudd.git
48
48
  cd cudd
49
49
  autoreconf
50
50
  ./configure $config_prefix
51
- make -j$(nproc)
51
+ make -j${NPROC:-$(nproc)}
52
52
  $SUDO_INSTALL make install
53
53
 
54
54
  cd ../..
@@ -62,8 +62,8 @@ wget https://github.com/PCRE2Project/pcre2/releases/download/pcre2-10.42/pcre2-1
62
62
 
63
63
  ./autogen.sh
64
64
  ./configure $config_prefix
65
- make -j$(nproc)
66
- $SUDO_INSTALL make -j$(nproc) install
65
+ make -j${NPROC:-$(nproc)}
66
+ $SUDO_INSTALL make -j${NPROC:-$(nproc)} install
67
67
 
68
68
  cd ../..
69
69
  # opensta
@@ -75,7 +75,7 @@ git submodule update --init --recursive
75
75
  mkdir -p build
76
76
  cd build
77
77
  cmake .. $cmake_args
78
- make -j$(nproc)
78
+ make -j${NPROC:-$(nproc)}
79
79
  $SUDO_INSTALL make install
80
80
 
81
81
  cd -
@@ -38,6 +38,6 @@ fi
38
38
 
39
39
  ./configure $cfg_args
40
40
 
41
- make -j$(nproc)
41
+ make -j${NPROC:-$(nproc)}
42
42
 
43
43
  $SUDO_INSTALL make install
@@ -28,7 +28,7 @@ cd surelog
28
28
  git checkout $(python3 ${src_path}/_tools.py --tool surelog --field git-commit)
29
29
  git submodule update --init --recursive
30
30
 
31
- make -j$(nproc)
31
+ make -j${NPROC:-$(nproc)}
32
32
 
33
33
  USE_SUDO_INSTALL="${USE_SUDO_INSTALL:-yes}"
34
34
  if [ "${USE_SUDO_INSTALL:-yes}" = "yes" ]; then
@@ -31,7 +31,7 @@ git clone $(python3 ${src_path}/_tools.py --tool sv2v --field git-url) sv2v
31
31
  cd sv2v
32
32
  git checkout $(python3 ${src_path}/_tools.py --tool sv2v --field git-commit)
33
33
 
34
- make -j$(nproc)
34
+ make -j${NPROC:-$(nproc)}
35
35
 
36
36
  if [ ! -z ${PREFIX} ]; then
37
37
  $SUDO_INSTALL mkdir -p ${PREFIX}/bin/
@@ -39,7 +39,7 @@ if [ ! -z ${PREFIX} ]; then
39
39
  fi
40
40
 
41
41
  ./configure $args
42
- make -j$(nproc)
42
+ make -j${NPROC:-$(nproc)}
43
43
  $SUDO_INSTALL make install
44
44
 
45
45
  cd -
@@ -54,7 +54,7 @@ cmake \
54
54
  -D TPL_AMD_INCLUDE_DIRS="/usr/include/suitesparse" \
55
55
  -C ../cmake/trilinos/trilinos-base.cmake \
56
56
  ../../trilinos
57
- cmake --build . -j$(nproc)
57
+ cmake --build . -j${NPROC:-$(nproc)}
58
58
  $SUDO_INSTALL make install
59
59
 
60
60
  cd ..
@@ -69,6 +69,6 @@ cmake \
69
69
  -D BUILD_SHARED_LIBS=ON \
70
70
  ..
71
71
 
72
- cmake --build . -j$(nproc)
73
- cmake --build . -j$(nproc) --target xycecinterface
72
+ cmake --build . -j${NPROC:-$(nproc)}
73
+ cmake --build . -j${NPROC:-$(nproc)} --target xycecinterface
74
74
  $SUDO_INSTALL make install
@@ -51,7 +51,7 @@ mkdir obj
51
51
  cd obj
52
52
 
53
53
  ../configure --enable-release --disable-flopoco --with-opt-level=2 $args
54
- make -j$(nproc)
54
+ make -j${NPROC:-$(nproc)}
55
55
  $SUDO_INSTALL make install
56
56
 
57
57
  cd -
@@ -51,7 +51,7 @@ cd bluespec
51
51
  git checkout $(python3 ${src_path}/_tools.py --tool bluespec --field git-commit)
52
52
  git submodule update --init --recursive
53
53
 
54
- make -j$(nproc) install-src
54
+ make -j${NPROC:-$(nproc)} install-src
55
55
 
56
56
  if [ -z ${PREFIX} ]; then
57
57
  # install
@@ -31,6 +31,6 @@ if [ ! -z ${PREFIX} ]; then
31
31
  fi
32
32
 
33
33
  ./configure --with-llvm-config $args
34
- make -j$(nproc)
34
+ make -j${NPROC:-$(nproc)}
35
35
  $SUDO_INSTALL make install
36
36
  cd -
@@ -35,5 +35,5 @@ cd gtkwave3-gtk3
35
35
 
36
36
  ./autogen.sh
37
37
  ./configure --enable-gtk3 $args
38
- make -j$(nproc)
38
+ make -j${NPROC:-$(nproc)}
39
39
  $SUDO_INSTALL make install
@@ -32,5 +32,5 @@ fi
32
32
 
33
33
  sh autoconf.sh
34
34
  ./configure $args
35
- make -j$(nproc)
35
+ make -j${NPROC:-$(nproc)}
36
36
  $SUDO_INSTALL make install
@@ -28,6 +28,6 @@ git clone $(python3 ${src_path}/_tools.py --tool icepack --field git-url) icepac
28
28
  cd icepack
29
29
  git checkout $(python3 ${src_path}/_tools.py --tool icepack --field git-commit)
30
30
 
31
- make -j$(nproc)
31
+ make -j${NPROC:-$(nproc)}
32
32
  $SUDO_INSTALL make install PREFIX="$PREFIX"
33
33
  cd -
@@ -66,7 +66,7 @@ cmake .. -DCMAKE_BUILD_TYPE=Release \
66
66
  -DCMAKE_EXE_LINKER_FLAGS="-flto" \
67
67
  -DCMAKE_INSTALL_RPATH_USE_LINK_PATH=TRUE \
68
68
  $cmake_args
69
- make -j$(nproc)
69
+ make -j${NPROC:-$(nproc)}
70
70
  $SUDO_INSTALL make install
71
71
 
72
72
  cd -
@@ -31,5 +31,5 @@ if [ ! -z ${PREFIX} ]; then
31
31
  fi
32
32
 
33
33
  LD_FLAGS=-shared ./configure $args
34
- make -j$(nproc)
34
+ make -j${NPROC:-$(nproc)}
35
35
  $SUDO_INSTALL make install
@@ -31,5 +31,5 @@ if [ ! -z ${PREFIX} ]; then
31
31
  fi
32
32
 
33
33
  ./configure $args
34
- make -j$(nproc)
34
+ make -j${NPROC:-$(nproc)}
35
35
  $SUDO_INSTALL make install
@@ -31,7 +31,7 @@ if [ ! -z ${PREFIX} ]; then
31
31
  fi
32
32
 
33
33
  cmake -S . -B build -DARCH=ice40 $args
34
- cmake --build build
34
+ cmake --build build -j${NPROC:-$(nproc)}
35
35
 
36
36
  USE_SUDO_INSTALL="${USE_SUDO_INSTALL:-yes}"
37
37
  if [ "${USE_SUDO_INSTALL:-yes}" = "yes" ]; then
@@ -36,7 +36,7 @@ if [ ! -z ${PREFIX} ]; then
36
36
  cmake_args="$cmake_args -DCMAKE_INSTALL_PREFIX=$PREFIX"
37
37
  fi
38
38
 
39
- ./etc/Build.sh -cmake="$cmake_args"
39
+ ./etc/Build.sh -cmake="$cmake_args" -threads=${NPROC:-$(nproc)}
40
40
 
41
41
  cd build
42
42
  $SUDO_INSTALL make install
@@ -38,7 +38,7 @@ cd eigen
38
38
  mkdir build
39
39
  cd build
40
40
  cmake $cmake_args ..
41
- make -j$(nproc)
41
+ make -j${NPROC:-$(nproc)}
42
42
  $SUDO_INSTALL make install
43
43
 
44
44
  cd ../../..
@@ -49,7 +49,7 @@ git clone --depth=1 -b 3.0.0 https://github.com/The-OpenROAD-Project/cudd.git
49
49
  cd cudd
50
50
  autoreconf
51
51
  ./configure $config_prefix
52
- make -j$(nproc)
52
+ make -j${NPROC:-$(nproc)}
53
53
  $SUDO_INSTALL make install
54
54
 
55
55
  cd ../..
@@ -63,8 +63,8 @@ wget https://github.com/PCRE2Project/pcre2/releases/download/pcre2-10.42/pcre2-1
63
63
 
64
64
  ./autogen.sh
65
65
  ./configure $config_prefix
66
- make -j$(nproc)
67
- $SUDO_INSTALL make -j$(nproc) install
66
+ make -j${NPROC:-$(nproc)}
67
+ $SUDO_INSTALL make -j${NPROC:-$(nproc)} install
68
68
 
69
69
  cd ../..
70
70
  # opensta
@@ -76,7 +76,7 @@ git submodule update --init --recursive
76
76
  mkdir -p build
77
77
  cd build
78
78
  cmake .. $cmake_args
79
- make -j$(nproc)
79
+ make -j${NPROC:-$(nproc)}
80
80
  $SUDO_INSTALL make install
81
81
 
82
82
  cd -
@@ -38,6 +38,6 @@ fi
38
38
 
39
39
  ./configure $cfg_args
40
40
 
41
- make -j$(nproc)
41
+ make -j${NPROC:-$(nproc)}
42
42
 
43
43
  $SUDO_INSTALL make install
@@ -28,7 +28,7 @@ cd surelog
28
28
  git checkout $(python3 ${src_path}/_tools.py --tool surelog --field git-commit)
29
29
  git submodule update --init --recursive
30
30
 
31
- make -j$(nproc)
31
+ make -j${NPROC:-$(nproc)}
32
32
 
33
33
  USE_SUDO_INSTALL="${USE_SUDO_INSTALL:-yes}"
34
34
  if [ "${USE_SUDO_INSTALL:-yes}" = "yes" ]; then
@@ -28,7 +28,7 @@ git checkout $(python3 ${src_path}/_tools.py --tool surfer --field git-commit)
28
28
  git submodule update --init
29
29
 
30
30
  cargo fetch --locked
31
- cargo build -j $(nproc) --frozen --release
31
+ cargo build -j ${NPROC:-$(nproc)} --frozen --release
32
32
 
33
33
  if [ ! -z ${PREFIX} ]; then
34
34
  $SUDO_INSTALL install -Dm00755 target/release/surfer -t ${PREFIX}/bin
@@ -31,7 +31,7 @@ git clone $(python3 ${src_path}/_tools.py --tool sv2v --field git-url) sv2v
31
31
  cd sv2v
32
32
  git checkout $(python3 ${src_path}/_tools.py --tool sv2v --field git-commit)
33
33
 
34
- make -j$(nproc)
34
+ make -j${NPROC:-$(nproc)}
35
35
 
36
36
  if [ ! -z ${PREFIX} ]; then
37
37
  $SUDO_INSTALL mkdir -p ${PREFIX}/bin/
@@ -39,7 +39,7 @@ if [ ! -z ${PREFIX} ]; then
39
39
  fi
40
40
 
41
41
  ./configure $args
42
- make -j$(nproc)
42
+ make -j${NPROC:-$(nproc)}
43
43
  $SUDO_INSTALL make install
44
44
 
45
45
  cd -
@@ -31,6 +31,6 @@ if [ ! -z ${PREFIX} ]; then
31
31
  args="-DCMAKE_INSTALL_PREFIX=$PREFIX"
32
32
  fi
33
33
 
34
- make CMAKE_PARAMS="$args -DWITH_PARMYS=OFF -DWITH_ABC=OFF -DSLANG_SYSTEMVERILOG=OFF" -j$(nproc)
34
+ make CMAKE_PARAMS="$args -DWITH_PARMYS=OFF -DWITH_ABC=OFF -DSLANG_SYSTEMVERILOG=OFF" -j${NPROC:-$(nproc)}
35
35
  cd build
36
36
  $SUDO_INSTALL make install
@@ -20,7 +20,7 @@ cd wildebeest
20
20
  git checkout $(python3 ${src_path}/_tools.py --tool wildebeest --field git-commit)
21
21
 
22
22
  cmake -S . -B build
23
- cmake --build build
23
+ cmake --build build -j${NPROC:-$(nproc)}
24
24
 
25
25
  USE_SUDO_INSTALL="${USE_SUDO_INSTALL:-yes}"
26
26
  if [ "${USE_SUDO_INSTALL:-yes}" = "yes" ]; then
@@ -54,7 +54,7 @@ cmake \
54
54
  -D TPL_AMD_INCLUDE_DIRS="/usr/include/suitesparse" \
55
55
  -C ../cmake/trilinos/trilinos-base.cmake \
56
56
  ../../trilinos
57
- cmake --build . -j$(nproc)
57
+ cmake --build . -j${NPROC:-$(nproc)}
58
58
  $SUDO_INSTALL make install
59
59
 
60
60
  cd ..
@@ -69,6 +69,6 @@ cmake \
69
69
  -D BUILD_SHARED_LIBS=ON \
70
70
  ..
71
71
 
72
- cmake --build . -j$(nproc)
73
- cmake --build . -j$(nproc) --target xycecinterface
72
+ cmake --build . -j${NPROC:-$(nproc)}
73
+ cmake --build . -j${NPROC:-$(nproc)} --target xycecinterface
74
74
  $SUDO_INSTALL make install
@@ -23,6 +23,6 @@ git clone $(python3 ${src_path}/_tools.py --tool yosys-moosic --field git-url) y
23
23
  cd yosys-moosic
24
24
  git checkout $(python3 ${src_path}/_tools.py --tool yosys-moosic --field git-commit)
25
25
 
26
- make -j$(nproc)
26
+ make -j${NPROC:-$(nproc)}
27
27
  $SUDO_INSTALL make install
28
28
  cd -
@@ -21,7 +21,7 @@ cd yosys-slang
21
21
  git checkout $(python3 ${src_path}/_tools.py --tool yosys-slang --field git-commit)
22
22
  git submodule update --init --recursive
23
23
 
24
- make -j$(nproc)
24
+ make -j${NPROC:-$(nproc)}
25
25
 
26
26
  USE_SUDO_INSTALL="${USE_SUDO_INSTALL:-yes}"
27
27
  if [ "${USE_SUDO_INSTALL:-yes}" = "yes" ]; then
@@ -30,6 +30,6 @@ cd yosys
30
30
  git checkout $(python3 ${src_path}/_tools.py --tool yosys --field git-commit)
31
31
  git submodule update --init --recursive
32
32
 
33
- make -j$(nproc) PREFIX="$PREFIX"
33
+ make -j${NPROC:-$(nproc)} PREFIX="$PREFIX"
34
34
  $SUDO_INSTALL make install PREFIX="$PREFIX"
35
35
  cd -
@@ -50,7 +50,7 @@ mkdir obj
50
50
  cd obj
51
51
 
52
52
  CC=$(which gcc-11) CXX=$(which g++-11) ../configure --enable-release --disable-flopoco --with-opt-level=2 $args
53
- make -j$(nproc)
53
+ make -j${NPROC:-$(nproc)}
54
54
  $SUDO_INSTALL make install
55
55
 
56
56
  cd -
@@ -28,7 +28,7 @@ cd bluespec
28
28
  git checkout $(python3 ${src_path}/_tools.py --tool bluespec --field git-commit)
29
29
  git submodule update --init --recursive
30
30
 
31
- make -j$(nproc) install-src
31
+ make -j${NPROC:-$(nproc)} install-src
32
32
 
33
33
  if [ -z ${PREFIX} ]; then
34
34
  # install
@@ -31,6 +31,6 @@ if [ ! -z ${PREFIX} ]; then
31
31
  fi
32
32
 
33
33
  ./configure --with-llvm-config $args
34
- make -j$(nproc)
34
+ make -j${NPROC:-$(nproc)}
35
35
  $SUDO_INSTALL make install
36
36
  cd -
@@ -36,5 +36,5 @@ cd gtkwave3-gtk3
36
36
 
37
37
  ./autogen.sh
38
38
  ./configure --enable-gtk3 $args
39
- make -j$(nproc)
39
+ make -j${NPROC:-$(nproc)}
40
40
  $SUDO_INSTALL make install
@@ -33,5 +33,5 @@ fi
33
33
 
34
34
  sh autoconf.sh
35
35
  ./configure $args
36
- make -j$(nproc)
36
+ make -j${NPROC:-$(nproc)}
37
37
  $SUDO_INSTALL make install
@@ -28,6 +28,6 @@ git clone $(python3 ${src_path}/_tools.py --tool icepack --field git-url) icepac
28
28
  cd icepack
29
29
  git checkout $(python3 ${src_path}/_tools.py --tool icepack --field git-commit)
30
30
 
31
- make -j$(nproc)
31
+ make -j${NPROC:-$(nproc)}
32
32
  $SUDO_INSTALL make install PREFIX="$PREFIX"
33
33
  cd -
@@ -66,7 +66,7 @@ cmake .. -DCMAKE_BUILD_TYPE=Release \
66
66
  -DCMAKE_EXE_LINKER_FLAGS="-flto" \
67
67
  -DCMAKE_INSTALL_RPATH_USE_LINK_PATH=TRUE \
68
68
  $cmake_args
69
- make -j$(nproc)
69
+ make -j${NPROC:-$(nproc)}
70
70
  $SUDO_INSTALL make install
71
71
 
72
72
  cd -
@@ -31,5 +31,5 @@ if [ ! -z ${PREFIX} ]; then
31
31
  fi
32
32
 
33
33
  LD_FLAGS=-shared ./configure $args
34
- make -j$(nproc)
34
+ make -j${NPROC:-$(nproc)}
35
35
  $SUDO_INSTALL make install
@@ -31,5 +31,5 @@ if [ ! -z ${PREFIX} ]; then
31
31
  fi
32
32
 
33
33
  ./configure $args
34
- make -j$(nproc)
34
+ make -j${NPROC:-$(nproc)}
35
35
  $SUDO_INSTALL make install
@@ -31,7 +31,7 @@ if [ ! -z ${PREFIX} ]; then
31
31
  fi
32
32
 
33
33
  cmake -S . -B build -DARCH=ice40 $args
34
- cmake --build build
34
+ cmake --build build -j${NPROC:-$(nproc)}
35
35
 
36
36
  USE_SUDO_INSTALL="${USE_SUDO_INSTALL:-yes}"
37
37
  if [ "${USE_SUDO_INSTALL:-yes}" = "yes" ]; then
@@ -36,7 +36,7 @@ if [ ! -z ${PREFIX} ]; then
36
36
  cmake_args="$cmake_args -DCMAKE_INSTALL_PREFIX=$PREFIX"
37
37
  fi
38
38
 
39
- ./etc/Build.sh -cmake="$cmake_args"
39
+ ./etc/Build.sh -cmake="$cmake_args" -threads=${NPROC:-$(nproc)}
40
40
 
41
41
  cd build
42
42
  $SUDO_INSTALL make install
@@ -38,7 +38,7 @@ cd eigen
38
38
  mkdir build
39
39
  cd build
40
40
  cmake $cmake_args ..
41
- make -j$(nproc)
41
+ make -j${NPROC:-$(nproc)}
42
42
  $SUDO_INSTALL make install
43
43
 
44
44
  cd ../../..
@@ -49,7 +49,7 @@ git clone --depth=1 -b 3.0.0 https://github.com/The-OpenROAD-Project/cudd.git
49
49
  cd cudd
50
50
  autoreconf
51
51
  ./configure $config_prefix
52
- make -j$(nproc)
52
+ make -j${NPROC:-$(nproc)}
53
53
  $SUDO_INSTALL make install
54
54
 
55
55
  cd ../..
@@ -63,8 +63,8 @@ wget https://github.com/PCRE2Project/pcre2/releases/download/pcre2-10.42/pcre2-1
63
63
 
64
64
  ./autogen.sh
65
65
  ./configure $config_prefix
66
- make -j$(nproc)
67
- $SUDO_INSTALL make -j$(nproc) install
66
+ make -j${NPROC:-$(nproc)}
67
+ $SUDO_INSTALL make -j${NPROC:-$(nproc)} install
68
68
 
69
69
  cd ../..
70
70
  # opensta
@@ -76,7 +76,7 @@ git submodule update --init --recursive
76
76
  mkdir -p build
77
77
  cd build
78
78
  cmake .. $cmake_args
79
- make -j$(nproc)
79
+ make -j${NPROC:-$(nproc)}
80
80
  $SUDO_INSTALL make install
81
81
 
82
82
  cd -
@@ -38,6 +38,6 @@ fi
38
38
 
39
39
  ./configure $cfg_args
40
40
 
41
- make -j$(nproc)
41
+ make -j${NPROC:-$(nproc)}
42
42
 
43
43
  $SUDO_INSTALL make install
@@ -28,7 +28,7 @@ cd surelog
28
28
  git checkout $(python3 ${src_path}/_tools.py --tool surelog --field git-commit)
29
29
  git submodule update --init --recursive
30
30
 
31
- make -j$(nproc)
31
+ make -j${NPROC:-$(nproc)}
32
32
 
33
33
  USE_SUDO_INSTALL="${USE_SUDO_INSTALL:-yes}"
34
34
  if [ "${USE_SUDO_INSTALL:-yes}" = "yes" ]; then