<commit_before>#!/bin/bash
TANGO_HOME=../../tango
if [ $# -gt 0 ]; then
    TANGO_HOME=$1
fi
$TANGO_HOME/build/bin/osx32/bob -r=dmd -c=dmd -p=osx -l=libtango-base-dmd -o="-O -release -inline -version=SuspendOneAtTime"  $TANGO_HOME
$TANGO_HOME/build/bin/osx32/bob -u -c=dmd -p=osx -l=libtango-user-dmd -o="-g -O -release -inline -version=SuspendOneAtTime"  $TANGO_HOME
$TANGO_HOME/build/bin/osx32/bob -u -c=dmd -p=osx -l=libtango-user-dmd-dbg -o="-g -O -inline"  $TANGO_HOME
$TANGO_HOME/build/bin/osx32/bob -u -c=dmd -p=osx -l=libtango-user-dmd-tst -o="-d -version=UnitTest -debug=UnitTest -unittest -g -debug -L-ltango-dbg"  $TANGO_HOME
rm *.o
dirDmd="`which dmd`"
dirDmd=`dirname "$dirDmd"`
mv libtango-base-dmd.a libtango-user-dmd*.a "$dirDmd/../lib"
echo built and installed libs
echo creating regtest...
dmd -d -version=UnitTest -debug=UnitTest -unittest -g -debug -L-ltango-user-dmd-tst -L-lz -L-lbz2 runUnittests_dmd.d
rm *.o<commit_msg>* different osx build sequence to better cope with broken bob versions<commit_after>#!/bin/bash
TANGO_HOME=../../tango
if [ $# -gt 0 ]; then
    TANGO_HOME=$1
fi
pushd $TANGO_HOME
./build/bin/osx32/bob -r=dmd -c=dmd -p=osx -l=libtango-base-dmd -o="-O -release -inline -version=SuspendOneAtTime"  .
./build/bin/osx32/bob -u -c=dmd -p=osx -l=libtango-user-dmd -o="-g -O -release -inline -version=SuspendOneAtTime"  .
./build/bin/osx32/bob -u -c=dmd -p=osx -l=libtango-user-dmd-dbg -o="-g -O -inline"  .
./build/bin/osx32/bob -u -c=dmd -p=osx -l=libtango-user-dmd-tst -o="-d -version=UnitTest -debug=UnitTest -unittest -g -debug -L-ltango-dbg"  .
rm *.o
dirDmd="`which dmd`"
dirDmd=`dirname "$dirDmd"`
mv libtango-base-dmd.a libtango-user-dmd*.a "$dirDmd/../lib"
echo built and installed libs
popd
echo creating regtest...
rm runUnittests_dmd
dmd -d -version=UnitTest -debug=UnitTest -unittest -g -debug -L-ltango-user-dmd-tst -L-lz -L-lbz2 runUnittests_dmd.d
rm *.o
{'fraction_non_alphanumeric': 0.18572927597061908, 'fraction_numerical': 0.011542497376705142, 'mean_word_length': 3.508274231678487, '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': '3917270', 'n_tokens_mistral': 902, 'n_tokens_neox': 877, 'n_words': 175}