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

function main_debian() {
  sudo apt-get update -y --no-install-recommends
  sudo apt-get upgrade -y --no-install-recommends

  package git-core
  package wget
  package g++-multilib

  if [[ $DISTRO == "wheezy" ]]; then
    set_cc gcc
    set_cxx g++

    export LIBRARY_PATH=/usr/lib/x86_64-linux-gnu
    install_gcc

    set_cc gcc
    set_cxx g++
  fi

  package unzip
  package build-essential
  package flex
  package devscripts
  package debhelper
  package python-pip
  package python-dev
  package ruby-dev
  package ruby1.8-dev
  package libffi-dev
  package rubygems
  package gcc
  package doxygen

  package autopoint
  package libssl-dev
  package liblzma-dev
  package uuid-dev
  package libpopt-dev
  package libdpkg-dev
  package libudev-dev
  package libblkid-dev
  package libbz2-dev
  package libreadline-dev
  package libcurl4-openssl-dev

  package libtool
  package autoconf
  package pkg-config
  package bison
  package clang

  if [[ $DISTRO == "wheezy" ]]; then
    install_cmake
    # thrift requires automate 1.13 or later
    remove_package automake
    install_automake
  elif [[ $DISTRO == "jessie" ]]; then
    package cmake
    package automake
  fi

  if [[ $DISTRO == "wheezy" ]]; then
    gem_install fpm -v 1.3.3
  else
    set_cc clang
    set_cxx clang++
    gem_install fpm
  fi

  install_boost
  install_gflags
  install_glog
  install_google_benchmark

  install_snappy
  install_rocksdb
  install_thrift
  install_yara
  install_asio
  install_cppnetlib
  install_sleuthkit
<commit_msg>Allow building on Debian Jessie<commit_after>#!/usr/bin/env bash

function main_debian() {
  sudo apt-get update -y --no-install-recommends
  sudo apt-get upgrade -y --no-install-recommends

  package git-core
  package wget
  package g++-multilib

  if [[ $DISTRO == "wheezy" ]]; then
    set_cc gcc
    set_cxx g++

    export LIBRARY_PATH=/usr/lib/x86_64-linux-gnu
    install_gcc

    set_cc gcc
    set_cxx g++
  fi

  package unzip
  package build-essential
  package flex
  package devscripts
  package debhelper
  package python-pip
  package python-dev
  package ruby-dev
  package libffi-dev
  package rubygems
  package gcc
  package doxygen

  package autopoint
  package libssl-dev
  package liblzma-dev
  package uuid-dev
  package libpopt-dev
  package libdpkg-dev
  package libudev-dev
  package libblkid-dev
  package libbz2-dev
  package libreadline-dev
  package libcurl4-openssl-dev

  package libtool
  package autoconf
  package pkg-config
  package bison
  package clang

  if [[ $DISTRO == "wheezy" ]]; then
    package ruby1.8-dev
    # thrift requires automate 1.13 or later
    remove_package automake
    install_automake
  elif [[ $DISTRO == "jessie" ]]; then
    package automake
  fi

  if [[ $DISTRO == "wheezy" ]]; then
    gem_install fpm -v 1.3.3
  else
    set_cc clang
    set_cxx clang++
    gem_install fpm
  fi

  install_cmake
  install_boost
  install_gflags
  install_glog
  install_google_benchmark

  install_snappy
  install_rocksdb
  install_thrift
  install_yara
  install_asio
  install_cppnetlib
  install_sleuthkit

{'fraction_non_alphanumeric': 0.06577266922094509, 'fraction_numerical': 0.008939974457215836, 'mean_word_length': 3.0741222366710015, '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': '3680188', 'n_tokens_mistral': 1170, 'n_tokens_neox': 1092, 'n_words': 290}