<commit_before>#! /bin/sh
# Build the Windows cross and native toolchains for x86 and x86_64

for a in "w64" "w32"
do
  for p in "lin" "win"
  do
    ./cerbero-uninstalled -c config/mingw-$a-$p.cbc wipe --force
    ./cerbero-uninstalled -c config/mingw-$a-$p.cbc build toolchain
  done
done<commit_msg>toolchain: add paramater to wipe the builds<commit_after>#! /bin/sh
# Build the Windows cross and native toolchains for x86 and x86_64

WIPE=$1

for a in "w64" "w32"
do
  for p in "lin" "win"
  do
      echo "Building $p-$a toolchain"
      if test "x$WIPE" = "x1"; then
        ./cerbero-uninstalled -c config/mingw-$a-$p.cbc wipe --force
      fi
    ./cerbero-uninstalled -c config/mingw-$a-$p.cbc build toolchain
  done
done
{'fraction_non_alphanumeric': 0.12465753424657534, 'fraction_numerical': 0.030136986301369864, 'mean_word_length': 2.909090909090909, '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': '3680179', 'n_tokens_mistral': 299, 'n_tokens_neox': 278, 'n_words': 90}