diff --git a/qt6-after/qt6-migrated-legatus/new_docker_build_release2.sh b/qt6-after/qt6-migrated-legatus/new_docker_build_release2.sh index 131cf8f3f..5680c1eed 100755 --- a/qt6-after/qt6-migrated-legatus/new_docker_build_release2.sh +++ b/qt6-after/qt6-migrated-legatus/new_docker_build_release2.sh @@ -384,6 +384,7 @@ DOCKER_RUN_ARGS=( -e RUN_CTEST="${RUN_CTEST}" -e TESTS_ONLY="${TESTS_ONLY}" -e RUN_JENKINS_BUILDER="${RUN_JENKINS_BUILDER}" + -e GUEZ_MODE="${GUEZ_MODE}" -e PACKAGE_OUTPUT_DIR="${PACKAGE_OUTPUT_DIR}" -e LTS_VERSION="${LTS_VERSION}" -e PROJECT="${PROJECT}" @@ -603,15 +604,17 @@ if [[ "${RUN_JENKINS_BUILDER}" == "ON" ]]; then log_info " BUILD_NUMBER=${BUILD_NUMBER}" log_info " BUILD_TAG=${BUILD_TAG}" + # DEB cmake flags: -DBUILD_RTI=ON is required - the full-tree DEB build + # compiles RTI codegen consumers (e.g. svcPdmCommon -> pdm_enums.hpp) + # whose BUILD_RTI=OFF stubs were removed as "forbidden OFF variants". + # (A '#' line inside a backslash-continued command breaks the continuation + # and drops the remaining arguments - keep comments outside it.) cd "${STAGED_SOURCE_DIR}/rpmbuild" if python3 make_rpm_ubuntu26_release2.py -c LTS \ --project_name "${PROJECT}" \ --version "${LTS_VERSION}" \ --output_dir "${DOCKER_MOUNT_ROOT}/rpms/${PROJECT}/${OS_VERSION}/" \ --source_dir "${STAGED_SOURCE_DIR}" \ - # -DBUILD_RTI=ON is required: the full-tree DEB build compiles RTI - # codegen consumers (e.g. svcPdmCommon -> pdm_enums.hpp) whose - # BUILD_RTI=OFF stubs were removed as "forbidden OFF variants". --cmake_build_flags "-DUSE_IPO=ON -DUSE_UNITY_BUILD=ON -DGUEZ_MODE=${GUEZ_MODE} -DBUILD_WLS=ON -DPostgreSQL_TYPE_INCLUDE_DIR=/usr/include/postgresql/ -DBUILD_RTI=ON -DRELEASE_BUILD=ON" \ --build_number "${BUILD_NUMBER}" \ --release_scope; then