<commit_before>#! /bin/bash

set -e
set -x

if [ x"$TRAVIS" = xtrue ]; then
  CPU_COUNT=2
fi

mkdir build && cd build

LDFLAGS="-lrt" cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=${PREFIX} -DCMAKE_VERBOSE_MAKEFILE=1
<commit_msg>Switch off use of tcmalloc: doesn't link currently.<commit_after>#! /bin/bash

set -e
set -x

if [ x"$TRAVIS" = xtrue ]; then
  CPU_COUNT=2
fi

mkdir build && cd build

# TODO(hzeller): even though gperftools are installed, -ltcmalloc is not found.
LDFLAGS="-lrt" cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=${PREFIX} -DCMAKE_VERBOSE_MAKEFILE=1 -DNO_TCMALLOC=ON

{'fraction_non_alphanumeric': 0.12924071082390953, 'fraction_numerical': 0.006462035541195477, 'mean_word_length': 4.7407407407407405, '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': '2436200', 'n_tokens_mistral': 256, 'n_tokens_neox': 243, 'n_words': 60}