<commit_before>#!/bin/sh
sudo apt-get -y install cmake lcov zlib1g-dev libbz2-dev liblz4-dev

TMPBUILD=`mktemp -d -t TILEDB_BUILD_XXXX`

# Install Zstandard
cd $TMPBUILD
wget https://github.com/facebook/zstd/archive/v1.0.0.tar.gz
tar xf v1.0.0.tar.gz
cd zstd-1.0.0
sudo make install PREFIX='/usr'

#Install Blosc
cd $TMPBUILD
git clone https://github.com/Blosc/c-blosc 
cd c-blosc
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX='/usr' ..
cmake --build .
sudo cmake --build . --target install<commit_msg>Update install-deps.sh<commit_after>#!/bin/sh

if [ -n "$(command -v apt-get)" ]
then
  sudo apt-get -y install cmake lcov zlib1g-dev libbz2-dev liblz4-dev || exit
elif [ -n "$(command -v yum)" ]
then
  sudo yum -y install wget cmake zlib-devel bzip2-devel lz4-devel || exit
fi

TMPBUILD=`mktemp -d -t TILEDB_BUILD_XXXX`

# Install Zstandard
cd $TMPBUILD &&
wget https://github.com/facebook/zstd/archive/v1.0.0.tar.gz &&
tar xf v1.0.0.tar.gz &&
cd zstd-1.0.0 &&
sudo make install PREFIX='/usr'

#Install Blosc
cd $TMPBUILD &&
git clone https://github.com/Blosc/c-blosc  &&
cd c-blosc &&
mkdir build &&
cd build &&
cmake -DCMAKE_INSTALL_PREFIX='/usr' .. &&
cmake --build . &&
sudo cmake --build . --target install
{'fraction_non_alphanumeric': 0.15188834154351397, 'fraction_numerical': 0.021346469622331693, 'mean_word_length': 3.5315985130111525, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, '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': '4476766', 'n_tokens_mistral': 517, 'n_tokens_neox': 496, 'n_words': 126}