<commit_before>build_toolchain_file mingw64-toolchain.cmake

rm -rf pbuild || exit 1
mkdir pbuild || exit 1
cd pbuild

cmake .. -G"Unix Makefiles" \
    -DCMAKE_INSTALL_PREFIX=$PREFIX \
    -DCMAKE_TOOLCHAIN_FILE=mingw64-toolchain.cmake \
    -DCMAKE_CACHEFILE_DIR=$BASE_DIR/source/$MODULE/pbuild \
    || exit 1;
  make && \
  cp libportmidi.dll libportmidi.dll.a libportmidi_s.a $PREFIX/lib &&
  cp ../pm_common/portmidi.h ../porttime/porttime.h $PREFIX/include
<commit_msg>Install libportmidi.dll into bin, not lib<commit_after>build_toolchain_file mingw64-toolchain.cmake

rm -rf pbuild || exit 1
mkdir pbuild || exit 1
cd pbuild

cmake .. -G"Unix Makefiles" \
    -DCMAKE_INSTALL_PREFIX=$PREFIX \
    -DCMAKE_TOOLCHAIN_FILE=mingw64-toolchain.cmake \
    -DCMAKE_CACHEFILE_DIR=$BASE_DIR/source/$MODULE/pbuild \
    || exit 1;
  make && \
  cp libportmidi.dll.a libportmidi_s.a $PREFIX/lib &&
  cp libportmidi.dll $PREFIX/bin &&
  cp ../pm_common/portmidi.h ../porttime/porttime.h $PREFIX/include

{'fraction_non_alphanumeric': 0.124, 'fraction_numerical': 0.014, 'mean_word_length': 3.655813953488372, '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': '4114670', 'n_tokens_mistral': 415, 'n_tokens_neox': 381, 'n_words': 69}