<commit_before>#!/bin/bash
# Builds the latest version of Boost

if [ ! -d ".travis/boost-install/lib" ]; then
	rm -rf ".travis/boost"
	rm -rf ".travis/boost-install"
	mkdir -p ".travis" && cd ".travis"
	git clone --recursive https://github.com/boostorg/boost.git boost >/dev/null 2>&1 || echo "clone failed"
	cd boost && chmod +x bootstrap.sh
	./bootstrap.sh --prefix="$(pwd)/../boost-install"
	./b2 headers
	# We have to build boost using GCC 5.1
	# If you know how to build boost with Clang 3.8, fix this!
	./b2 toolset=gcc-5 cxxflags="-std=c++14" variant=release link=static "$@" install -d0
else
	mkdir -p ".travis/boost" && cd ".travis/boost"
fi
cd ../boost-install
export BOOST_ROOT="$(pwd)"<commit_msg>Update update-boost.sh<commit_after>#!/bin/bash
# Builds the latest version of Boost

if [ ! -d ".travis/boost-install/lib" ]; then
	rm -rf ".travis/boost"
	rm -rf ".travis/boost-install"
	mkdir -p ".travis" && cd ".travis"
	git clone --recursive --depth 1 https://github.com/boostorg/boost.git boost >/dev/null 2>&1 || echo "clone failed"
	cd boost && chmod +x bootstrap.sh
	./bootstrap.sh --prefix="$(pwd)/../boost-install"
	./b2 headers
	# We have to build boost using GCC 5.1
	# If you know how to build boost with Clang 3.8, fix this!
	./b2 toolset=gcc-5 cxxflags="-std=c++14" variant=release link=static "$@" install -d0
else
	mkdir -p ".travis/boost" && cd ".travis/boost"
fi
cd ../boost-install
export BOOST_ROOT="$(pwd)"
{'fraction_non_alphanumeric': 0.17512161223071576, 'fraction_numerical': 0.017373175816539264, 'mean_word_length': 3.472049689440994, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, 'https://': 2, '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': '2045665', 'n_tokens_mistral': 552, 'n_tokens_neox': 528, 'n_words': 160}