<commit_before>#!/bin/bash

set -evx

export CAIRO_CFLAGS="-I$PREFIX/include/cairo/"
export CAIRO_LIBS="-L$PREFIX/lib/ -lcairo"

export POPPLERGLIB_CFLAGS="-I$PREFIX/include/poppler/"
export POPPLERGLIB_LIBS="-L$HOME/anaconda/envs/cpp-dev/lib/ -lpoppler-glib -lgobject-2.0 -lglib-2.0"

# This needs to be done if building from master branch:
# mv README.md README

aclocal
autoconf
automake -a
./configure --prefix="${PREFIX}"
make -j${CPU_COUNT}
make check -j${CPU_COUNT}<commit_msg>Fix POPPLERGLIB_LIBS<commit_after>#!/bin/bash

set -evx

export CAIRO_CFLAGS="-I$PREFIX/include/cairo/"
export CAIRO_LIBS="-L$PREFIX/lib/ -lcairo"

export POPPLERGLIB_CFLAGS="-I$PREFIX/include/poppler/"
export POPPLERGLIB_LIBS="-L$PREFIX/lib/ -lpoppler-glib -lgobject-2.0 -lglib-2.0"

# This needs to be done if building from master branch:
# mv README.md README

aclocal
autoconf
automake -a
./configure --prefix="${PREFIX}"
make -j${CPU_COUNT}
make check -j${CPU_COUNT}
{'fraction_non_alphanumeric': 0.15078534031413612, 'fraction_numerical': 0.008376963350785341, 'mean_word_length': 4.829268292682927, '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': '7215038', 'n_tokens_mistral': 393, 'n_tokens_neox': 382, 'n_words': 78}