<commit_before># Define custom utilities
# Test for OSX with [ -n "$IS_OSX" ]

function pre_build {
    # Any stuff that you need to do before you start building the wheels
    # Runs in the root directory of this repository.
    if [ -n "$IS_OSX" ]; then
        export CC=clang
        export CXX=clang++
        export CFLAGS="-fPIC -O3 -arch i386 -arch x86_64 -g -DNDEBUG -mmacosx-version-min=10.6"
        brew tap homebrew/science
        brew update
        brew install swig # automake
    else
        yum install -y pcre-devel
	yum groupinstall "Development Tools"
	yum install automake
        curl -O -L http://downloads.sourceforge.net/swig/swig-3.0.10.tar.gz
        tar xzf swig-3.0.10.tar.gz
        (cd swig-3.0.10 \
				&& ./configure --prefix=$BUILD_PREFIX \
				&& make \
				&& make install)
	curl -O -L https://github.com/google/protobuf/archive/v3.4.1.tar.gz
	tar xzf v3.4.1.tar.gz
	(cd protobuf-3.4.1 \
		&& ./autogen.sh \
		&& ./configure --prefix=$BUILD_PREFIX \
		&& make \
		&& make install)
	echo "XXXXXXXXXXXXXX: Installing eigen3"
	curl -O -L http://dl.fedoraproject.org/pub/epel/6/i386//eigen3-devel-3.2.5-2.el6.noarch.rpm
	rpm -Uvh eigen3-devel-3.2.5-2.el6.noarch.rpm
	echo "XXXXXXXXXXXXXX: Done"
	yum install libpng libpng-devel

    fi
}

function build_wheel {
    # Set default building method to pip<commit_msg>Manually install bumpy in config.sh<commit_after># Define custom utilities
# Test for OSX with [ -n "$IS_OSX" ]

function pre_build {
    # Any stuff that you need to do before you start building the wheels
    # Runs in the root directory of this repository.
    if [ -n "$IS_OSX" ]; then
        export CC=clang
        export CXX=clang++
        export CFLAGS="-fPIC -O3 -arch i386 -arch x86_64 -g -DNDEBUG -mmacosx-version-min=10.6"
        brew tap homebrew/science
        brew update
        brew install swig # automake
    else
        yum install -y pcre-devel
	yum groupinstall "Development Tools"
	yum install automake
        curl -O -L http://downloads.sourceforge.net/swig/swig-3.0.10.tar.gz
        tar xzf swig-3.0.10.tar.gz
        (cd swig-3.0.10 \
				&& ./configure --prefix=$BUILD_PREFIX \
				&& make \
				&& make install)
	curl -O -L https://github.com/google/protobuf/archive/v3.4.1.tar.gz
	tar xzf v3.4.1.tar.gz
	(cd protobuf-3.4.1 \
		&& ./autogen.sh \
		&& ./configure --prefix=$BUILD_PREFIX \
		&& make \
		&& make install)
	pip install numpy
	echo "XXXXXXXXXXXXXX: Installing eigen3"
	curl -O -L http://dl.fedoraproject.org/pub/epel/6/i386//eigen3-devel-3.2.5-2.el6.noarch.rpm
	rpm -Uvh eigen3-devel-3.2.5-2.el6.noarch.rpm
	echo "XXXXXXXXXXXXXX: Done"
	yum install libpng libpng-devel

    fi
}

function build_wheel {
    # Set default building method to pip
{'fraction_non_alphanumeric': 0.12376779846659365, 'fraction_numerical': 0.035779481562614096, 'mean_word_length': 2.425, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 4, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2159429', 'n_tokens_mistral': 1089, 'n_tokens_neox': 1007, 'n_words': 262}