<commit_before>#! /bin/bash

set -e
IFS=$' \t\n' # workaround for conda 4.2.13+toolchain bug

export PKG_CONFIG_LIBDIR=$PREFIX/lib/pkgconfig:$PREFIX/share/pkgconfig

configure_args=(
    --prefix=$PREFIX
    --disable-dependency-tracking
    --with-cairo
)

if [ -n "$OSX_ARCH" ] ; then
    LDFLAGS="$LDFLAGS -Wl,-rpath-link,$PREFIX/lib"
fi

./configure "${configure_args[@]}"
make -j$CPU_COUNT
make install
make check
rm -f $PREFIX/lib/libgirepository-*.a $PREFIX/lib/libgirepository-*.la<commit_msg>gobject-introspection: OSX fix version 2<commit_after>#! /bin/bash

set -e
IFS=$' \t\n' # workaround for conda 4.2.13+toolchain bug

export PKG_CONFIG_LIBDIR=$PREFIX/lib/pkgconfig:$PREFIX/share/pkgconfig

configure_args=(
    --prefix=$PREFIX
    --disable-dependency-tracking
    --with-cairo
)

if [ -n "$OSX_ARCH" ] ; then
    LDFLAGS="$LDFLAGS -Wl,-rpath,$PREFIX/lib"
fi

./configure "${configure_args[@]}" || { cat config.log ; exit 1 ; }
make -j$CPU_COUNT
make install
make check
rm -f $PREFIX/lib/libgirepository-*.a $PREFIX/lib/libgirepository-*.la
{'fraction_non_alphanumeric': 0.16461684011352887, 'fraction_numerical': 0.00946073793755913, 'mean_word_length': 4.014218009478673, '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': '1067696', 'n_tokens_mistral': 411, 'n_tokens_neox': 396, 'n_words': 79}