The attached script is a trimmed version of a script that I’ve used to build HDL assess in a parallel manner for the zed HDL platform. After copying it to your system, you must set its permissions for executable ‘chown 755 build_ocpi_hdl_parallel-zed.sh’, and it can be executed in any terminal setup for the OCPI environment.
The script builds all HDL primitives and workers (in parallel) for zed, installs and deploys the zed with xilinx13_3, builds a few choice assemblies and finally builds (in parallel) all available component unit tests for the zed.
The values which you chose to set for -j #, is directly dependent on your host system’s resources. If set to high, your system may crash, or possibly becoming unusable until various make finish and resources are freed up.
Let me how well (or not) this works for you and good luck.
Adam