diff --git a/build_system/ubuntu/Dockerfile.libpointmatcher.ci_PR b/build_system/ubuntu/Dockerfile.libpointmatcher.ci_PR index d3a0ffa4..89297e77 100644 --- a/build_system/ubuntu/Dockerfile.libpointmatcher.ci_PR +++ b/build_system/ubuntu/Dockerfile.libpointmatcher.ci_PR @@ -2,6 +2,8 @@ ARG PROJECT_HUB=norlabulaval ARG BASE_IMAGE=libpointmatcher-dependencies ARG BASE_IMAGE_TAG FROM ${PROJECT_HUB}/${BASE_IMAGE}:${BASE_IMAGE_TAG:?err} AS libpointmatcher-dependencies +ARG TARGETPLATFORM +ARG TARGETARCH LABEL org.opencontainers.image.authors="luc.coupal.1@ulaval.ca" diff --git a/build_system/ubuntu/lpm_install_dependencies_libnabo_ubuntu.bash b/build_system/ubuntu/lpm_install_dependencies_libnabo_ubuntu.bash index 3c3f2922..63632104 100644 --- a/build_system/ubuntu/lpm_install_dependencies_libnabo_ubuntu.bash +++ b/build_system/ubuntu/lpm_install_dependencies_libnabo_ubuntu.bash @@ -133,7 +133,8 @@ else cmake "${CMAKE_FLAGS[@]}" "${NBS_LIB_INSTALL_PATH}/libnabo" - make -j $(nproc) + print_msg "Nb of available core in the current process $(nproc)" + make -j $(nproc --ignore=2) sudo make install # (NICE TO HAVE) ToDo: refactor (ref task NMO-428 refactor: drop libnabo `make test` step after libnabo-build-system deployment) diff --git a/build_system/ubuntu/lpm_install_libpointmatcher_ubuntu.bash b/build_system/ubuntu/lpm_install_libpointmatcher_ubuntu.bash index ef5f61c3..7ed38886 100644 --- a/build_system/ubuntu/lpm_install_libpointmatcher_ubuntu.bash +++ b/build_system/ubuntu/lpm_install_libpointmatcher_ubuntu.bash @@ -226,7 +226,8 @@ else BUILD_EXIT_CODE=$? - make -j $(nproc) + print_msg "Nb of available core in the current process $(nproc)" + make -j $(nproc --ignore=2) sudo make install INSTALL_EXIT_CODE=$?