<commit_before>#!/bin/bash

mkdir -p _build
pushd _build

# configure
cmake ${SRC_DIR} \
        ${CMAKE_ARGS}
	-DCMAKE_BUILD_TYPE:STRING=RelWithDebInfo \
	-DCMAKE_INSTALL_DATADIR:PATH=${SRC_DIR}/trash \
	-DCMAKE_INSTALL_LIBDIR:PATH="lib" \
	-DCMAKE_INSTALL_PREFIX:PATH=${PREFIX} \
	-DCMAKE_VERBOSE_MAKEFILE:BOOL=ON \
;

# build
cmake --build . --parallel ${CPU_COUNT}

# install
cmake --build . --parallel ${CPU_COUNT} --target install

# test
ctest

pushd ..
$PYTHON setup.py install<commit_msg>Removed unnecessary prefix path<commit_after>#!/bin/bash

mkdir -p _build
pushd _build

# configure
cmake ${SRC_DIR} \
        ${CMAKE_ARGS}
	-DCMAKE_BUILD_TYPE:STRING=RelWithDebInfo \
	-DCMAKE_INSTALL_DATADIR:PATH=${SRC_DIR}/trash \
	-DCMAKE_INSTALL_LIBDIR:PATH="lib" \
	-DCMAKE_VERBOSE_MAKEFILE:BOOL=ON \
;

# build
cmake --build . --parallel ${CPU_COUNT}

# install
cmake --build . --parallel ${CPU_COUNT} --target install

# test
ctest

pushd ..
$PYTHON setup.py install
{'fraction_non_alphanumeric': 0.13903192584963955, 'fraction_numerical': 0.0, 'mean_word_length': 4.142857142857143, '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': '2843437', 'n_tokens_mistral': 400, 'n_tokens_neox': 373, 'n_words': 67}