<commit_before>#!/bin/bash

DO_UCLIBC=1

do_build() {
	echo "MACHINE = \"$BUILD_MACHINE\"" > conf/auto.conf

        if [ $DO_UCLIBC = 1 ]
        then
                BUILD_MODE="uclibc"
                echo 'ANGSTROM_MODE = "uclibc"' >> conf/auto.conf

                if [ "$BUILD_CLEAN" != "" ]
                then
                        bitbake -c clean $BUILD_CLEAN
                fi

                for target in $BUILD_TARGETS
                do
                        bitbake $target && do_report_success
                done
        fi

	BUILD_MODE="glibc"
	if [ "$BUILD_CLEAN" != "" ]
	then
		bitbake -c clean $BUILD_CLEAN
	fi

	for target in $BUILD_TARGETS
	do
		bitbake $target && do_report_success
	done
}

do_report_success() {

	echo "$(date -u +%s) $target $BUILD_MODE $machine" >> autobuilder.log
}

#cross toolchain
#for machine in ep93xx a780 efika collie ixp4xxbe
#do
#        BUILD_MACHINE=$machine
#        BUILD_TARGETS="meta-toolchain"
#       BUILD_CLEAN="meta-toolchain"
#        do_build
#done


# No graphics
for machine in ep93xx gumstix-connex gumstix-verdex efika dht-walnut omap5912osk
do
	BUILD_MACHINE=$machine
	BUILD_CLEAN="libtool-cross base-files"<commit_msg>angstrom release builder: turn on glibc again<commit_after>#!/bin/bash

DO_UCLIBC=1

do_build() {
	echo "MACHINE = \"$BUILD_MACHINE\"" > conf/auto.conf

        if [ $DO_UCLIBC = 1 ]
        then
                BUILD_MODE="uclibc"
                echo 'ANGSTROM_MODE = "uclibc"' >> conf/auto.conf

                if [ "$BUILD_CLEAN" != "" ]
                then
                        bitbake -c clean $BUILD_CLEAN
                fi

                for target in $BUILD_TARGETS
                do
                        bitbake $target && do_report_success
                done
        fi

	BUILD_MODE="glibc"
        echo "MACHINE = \"$BUILD_MACHINE\"" > conf/auto.conf
        echo 'ANGSTROM_MODE = "glibc"' >> conf/auto.conf

	if [ "$BUILD_CLEAN" != "" ]
	then
		bitbake -c clean $BUILD_CLEAN
	fi

	for target in $BUILD_TARGETS
	do
		bitbake $target && do_report_success
	done
}

do_report_success() {

	echo "$(date -u +%s) $target $BUILD_MODE $machine" >> autobuilder.log
}

#cross toolchain
#for machine in ep93xx a780 efika collie ixp4xxbe
#do
#        BUILD_MACHINE=$machine
#        BUILD_TARGETS="meta-toolchain"
#       BUILD_CLEAN="meta-toolchain"
#        do_build
#done


# No graphics
for machine in ep93xx gumstix-connex gumstix-verdex efika dht-walnut omap5912osk
do
	BUILD_MACHINE=$machine
	BUILD_CLEAN="libtool-cross base-files"
{'fraction_non_alphanumeric': 0.10136986301369863, 'fraction_numerical': 0.010958904109589041, 'mean_word_length': 2.1019417475728157, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 16, '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': '4648244', 'n_tokens_mistral': 960, 'n_tokens_neox': 878, 'n_words': 197}