Currently there is a single build-all rule in the top-level Makefile under components/ dir that calls all sub-makefiles for building all images in a serial manner. This makes the whole proccess very time-consuming as we can't use the "-j" option of make to run jobs in parallel. Changes to the top-level Makefile for building all KF images: - create a single rule for each directory containing a sub-makefile - have each directory rule as a dependency to the build-all rule in the central Makefile Similarly, the central makefile for building all the example-notebook-servers images calls each sub-Makefile for each of the notebook servers in a serial manner. Changes to the central Makefile for building all notebook-server-images: - Split the single target rule into multiple rules which perform recursive make calls (sub-makefiles) to build all the notebook-server-images. - Use the variable MAKE for recursive make commands instead of explicit 'make' command: - https://www.gnu.org/software/make/manual/html_node/MAKE-Variable.html#MAKE-Variable Signed-off-by: Apostolos Gerakaris <apoger@arrikto.com> Signed-off-by: Apostolos Gerakaris <apoger@arrikto.com> |
||
|---|---|---|
| .. | ||
| Makefile | ||
| cpu-requirements.txt | ||
| cpu.Dockerfile | ||
| cuda-requirements.txt | ||
| cuda.Dockerfile | ||