<commit_before>#!/usr/bin/env sh

######

cd ${HOME}

###### for OSX ######

is_osx=`expr "${TRAVIS_OS_NAME}" : "osx"`;

# echo "is_osx = ${is_osx}"

if
  expr ${is_osx} > 0
then
#
# export CC=gcc-4.8
# export GCC=gcc-4.8
#
  brew install gmp
  brew install bdw-gc
  brew install pcre
  brew install glib
  brew install cairo
  brew install gtk+3
  brew install libev
  brew install jansson
  brew install caskroom/cask/brew-cask
  brew cask install xquartz
#
  export PKG_CONFIG_PATH=/opt/X11/lib/pkgconfig:$PKG_CONFIG_PATH
#
fi

###### for LINUX ######

is_linux=`expr "${TRAVIS_OS_NAME}" : "linux"`;

# echo "is_linux = ${is_linux}"

if
  expr ${is_linux} > 0
then
#
  sudo apt-get -qq -y update
  sudo apt-get -qq -y install libgc-dev
  sudo apt-get -qq -y install libgmp3-dev
# For contrib/GTK/
  sudo apt-get -qq -y install libgtk-3-dev
# For contrib/libev/
  sudo apt-get -qq -y install libev-dev
# For contrib/jansson/
  sudo apt-get -qq -y install libjansson-dev
#
fi

######

exit 0

###### end of [installpkg.sh] ######<commit_msg>Updating: very very minorly<commit_after>#!/usr/bin/env sh

######

cd ${HOME}

###### for OSX ######

is_osx=`expr "${TRAVIS_OS_NAME}" : "osx"`;

# echo "is_osx = ${is_osx}"

if
  expr ${is_osx} > 0
then
#
# export CC=gcc-4.8
# export GCC=gcc-4.8
#
  brew install gmp
  brew install bdw-gc
  brew install pcre
  brew install glib
  brew install cairo
  brew install gtk+3
  brew install libev
  brew install jansson
  brew install caskroom/cask/brew-cask
  brew cask install xquartz
#
  export PKG_CONFIG_PATH=/opt/X11/lib/pkgconfig:$PKG_CONFIG_PATH
#
fi

###### for LINUX ######

is_linux=`expr "${TRAVIS_OS_NAME}" : "linux"`;

# echo "is_linux = ${is_linux}"

if
  expr ${is_linux} > 0
then
#
# sudo apt-get -qq -y update
# sudo apt-get -qq -y install libgc-dev
# sudo apt-get -qq -y install libgmp3-dev
# For contrib/GTK/
# sudo apt-get -qq -y install libgtk-3-dev
# For contrib/libev/
# sudo apt-get -qq -y install libev-dev
# For contrib/jansson/
# sudo apt-get -qq -y install libjansson-dev
#
fi

######

exit 0

###### end of [installpkg.sh] ######
{'fraction_non_alphanumeric': 0.16253574833174453, 'fraction_numerical': 0.011439466158245948, 'mean_word_length': 3.428270042194093, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3480233', 'n_tokens_mistral': 903, 'n_tokens_neox': 850, 'n_words': 233}