<commit_before>NUMTHREADS=2
if [[ -f /sys/devices/system/cpu/online ]]; then
	# Calculates 1.5 times physical threads
	NUMTHREADS=$(( ( $(cut -f 2 -d '-' /sys/devices/system/cpu/online) + 1 ) * 15 / 10  ))
fi
#NUMTHREADS=1 # disable MP
export NUMTHREADS


git clone https://github.com/chambbj/pcl.git pcl
cd pcl
mkdir build
cd build
git checkout pipeline
cmake   -G "Unix Makefiles"  \
        -DCMAKE_BUILD_TYPE=Release \
        -DCMAKE_INSTALL_PREFIX=/usr \
        -DBUILD_global_tests=ON \
        ..

make -j $NUMTHREADS
sudo make install
<commit_msg>be a little more explicit about what PCL modules are built<commit_after>NUMTHREADS=2
if [[ -f /sys/devices/system/cpu/online ]]; then
	# Calculates 1.5 times physical threads
	NUMTHREADS=$(( ( $(cut -f 2 -d '-' /sys/devices/system/cpu/online) + 1 ) * 15 / 10  ))
fi
#NUMTHREADS=1 # disable MP
export NUMTHREADS


git clone https://github.com/chambbj/pcl.git pcl
cd pcl
mkdir build
cd build
git checkout pipeline
cmake .. \
    -G "Unix Makefiles" \
    -DCMAKE_BUILD_TYPE=Release \
    -DCMAKE_INSTALL_PREFIX=/usr \
    -DBUILD_outofcore:BOOL=OFF \
    -DWITH_QT:BOOL=OFF \
    -DWITH_VTK:BOOL=OFF \
    -DWITH_OPENNI:BOOL=OFF \
    -DWITH_CUDA:BOOL=OFF \
    -DWITH_LIBUSB:BOOL=OFF \
    -DBUILD_people:BOOL=OFF \
    -DBUILD_surface:BOOL=OFF \
    -DBUILD_tools:BOOL=OFF \
    -DBUILD_visualization:BOOL=OFF \
    -DBUILD_sample_consensus:BOOL=ON \
    -DBUILD_tracking:BOOL=OFF \
    -DBUILD_stereo:BOOL=OFF \
    -DBUILD_keypoints:BOOL=OFF \
    -DBUILD_pipeline:BOOL=ON \
    -DCMAKE_CXX_FLAGS="-std=c++11" \
    -DBUILD_io:BOOL=ON \
    -DBUILD_octree:BOOL=ON \
    -DBUILD_segmentation:BOOL=ON \
    -DBUILD_search:BOOL=ON \
    -DBUILD_geometry:BOOL=ON \
    -DBUILD_filters:BOOL=ON \
    -DBUILD_features:BOOL=ON \
    -DBUILD_kdtree:BOOL=ON \
    -DBUILD_common:BOOL=ON \
    -DBUILD_ml:BOOL=ON

make -j $NUMTHREADS
sudo make install

{'fraction_non_alphanumeric': 0.12835349815886377, 'fraction_numerical': 0.011572856391372961, 'mean_word_length': 2.9874213836477987, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '2094472', 'n_tokens_mistral': 770, 'n_tokens_neox': 727, 'n_words': 137}