<commit_before>#!/bin/bash

# Takes PREFIX for where to install as the first argument:

PREFIX=$1

set -xe

wget http://hpx.crest.iu.edu/release/HPX_Release_v1.3.0.tar.gz
tar xf HPX_Release_v1.3.0.tar.gz
rm HPX_Release_v1.3.0.tar.gz

cd HPX_Release_v1.3.0/hpx
./configure --prefix=$PREFIX --enable-shared
make -j
make install
cd ../../

rm -rf HPX_Release_v1.3.0/<commit_msg>Build HPX in debug mode for now<commit_after>#!/bin/bash

# Takes PREFIX for where to install as the first argument:

PREFIX=$1

if [ "$PREFIX" == "" ]; then
    echo "Must provide prefix as first argument"
    exit 1
fi

set -xe

wget http://hpx.crest.iu.edu/release/HPX_Release_v1.3.0.tar.gz
tar xf HPX_Release_v1.3.0.tar.gz
rm HPX_Release_v1.3.0.tar.gz

cd HPX_Release_v1.3.0/hpx
./configure --prefix=$PREFIX --enable-shared CFLAGS="-O0 -g" --enable-debug
make -j
make install
cd ../../

rm -rf HPX_Release_v1.3.0/
{'fraction_non_alphanumeric': 0.14573991031390135, 'fraction_numerical': 0.03811659192825112, 'mean_word_length': 3.272727272727273, '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': '2920664', 'n_tokens_mistral': 383, 'n_tokens_neox': 373, 'n_words': 89}