<commit_before>#!/bin/bash

source /data/src/docker/joynr-base/scripts/global.sh

function usage
{
    echo "usage: cpp-clean-build.sh [--dbus ON|OFF --gcov ON|OFF --jobs X]"
    echo "default dbus is OFF, gcov is OFF, jobs is 20"
}

DBUS='OFF'
GCOV='OFF'
JOBS=20

while [ "$1" != "" ]; do
    case $1 in
        --dbus )                shift
                                DBUS=$1
                                ;;
        --gcov )                shift
                                GCOV=$1
                                ;;
        --jobs )                shift
                                JOBS=$1
                                ;;
        * )                     usage
                                exit 1
    esac
    shift
done

log "CPP CLEAN BUILD DBUS: $DBUS GCOV: $GCOV JOBS: $JOBS"

START=$(date +%s)

<commit_msg>[Tools, C++] Enable core dumps during clean build<commit_after>#!/bin/bash

source /data/src/docker/joynr-base/scripts/global.sh

function usage
{
    echo "usage: cpp-clean-build.sh [--dbus ON|OFF --gcov ON|OFF --jobs X]"
    echo "default dbus is OFF, gcov is OFF, jobs is 20"
}

DBUS='OFF'
GCOV='OFF'
JOBS=20

while [ "$1" != "" ]; do
    case $1 in
        --dbus )                shift
                                DBUS=$1
                                ;;
        --gcov )                shift
                                GCOV=$1
                                ;;
        --jobs )                shift
                                JOBS=$1
                                ;;
        * )                     usage
                                exit 1
    esac
    shift
done

log "CPP CLEAN BUILD DBUS: $DBUS GCOV: $GCOV JOBS: $JOBS"

log "Enable core dumps"
ulimit -c unlimited

START=$(date +%s)


{'fraction_non_alphanumeric': 0.10952652595550486, 'fraction_numerical': 0.011409013120365089, 'mean_word_length': 0.9211391018619934, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5210365', 'n_tokens_mistral': 574, 'n_tokens_neox': 506, 'n_words': 136}