<commit_before>#!/bin/bash

echo "########################################################"
echo "#                     build.sh                         #"
echo "########################################################"
echo

. config/detect_distro.sh

OPTIONS="--disable-dependency-tracking --disable-relative"
PREFIX="--prefix=/usr --sysconfdir=/etc"
RESULTS="arangod arangosh arangoimp"
USE_ICECC="no"

export CPPFLAGS=""
export LDFLAGS=""
export MAKEJ=2
export LDD_INFO="no"

while [ 0 -lt "$#" ];  do
  opt="$1"
  shift

  case "$opt" in
    --enable-icecc)
      USE_ICECC="yes"
      ;;
    *)
      echo "$0: unknown option '$opt'"
      exit 1
      ;;
  esac
done

HAS_ICECC=$(ps aux | grep -v "grep" | grep iceccd)

if [ "x$HAS_ICECC" != "x" -a "x$USE_ICECC" == "xyes" ] ; then
  export PATH=/usr/lib/icecc/bin/:/opt/icecream/bin/:$PATH
  export MAKEJ=14

  echo "########################################################"
  echo "Using ICECC"
  echo "   PATH=$PATH"
  echo "########################################################"
fi

echo
echo "########################################################"
echo "Building on $TRI_OS_LONG"
echo "########################################################"
echo

case $TRI_OS_LONG in

  Linux-openSUSE-12*)
    echo "Using configuration for openSuSE 12"
    OPTIONS="$OPTIONS --enable-all-in-one --enable-mruby"
    LDD_INFO="yes"
    RESULTS="$RESULTS arangoirb"
    ;;

  Linux-openSUSE-11.4*)
    echo "Using configuration for openSuSE 11.4"
    OPTIONS="$OPTIONS --disable-all-in-one --with-boost-test --enable-mruby"
    LDD_INFO="yes"
    RESULTS="$RESULTS arangoirb"
    ;;<commit_msg>added --disable-all-in-one for OpenSUSE 11.4<commit_after>#!/bin/bash

echo "########################################################"
echo "#                     build.sh                         #"
echo "########################################################"
echo

. config/detect_distro.sh

OPTIONS="--disable-dependency-tracking --disable-relative"
PREFIX="--prefix=/usr --sysconfdir=/etc"
RESULTS="arangod arangosh arangoimp"
USE_ICECC="no"

export CPPFLAGS=""
export LDFLAGS=""
export MAKEJ=2
export LDD_INFO="no"

while [ 0 -lt "$#" ];  do
  opt="$1"
  shift

  case "$opt" in
    --enable-icecc)
      USE_ICECC="yes"
      ;;
    *)
      echo "$0: unknown option '$opt'"
      exit 1
      ;;
  esac
done

HAS_ICECC=$(ps aux | grep -v "grep" | grep iceccd)

if [ "x$HAS_ICECC" != "x" -a "x$USE_ICECC" == "xyes" ] ; then
  export PATH=/usr/lib/icecc/bin/:/opt/icecream/bin/:$PATH
  export MAKEJ=14

  echo "########################################################"
  echo "Using ICECC"
  echo "   PATH=$PATH"
  echo "########################################################"
fi

echo
echo "########################################################"
echo "Building on $TRI_OS_LONG"
echo "########################################################"
echo

case $TRI_OS_LONG in

  Linux-openSUSE-12*)
    echo "Using configuration for openSuSE 12"
    OPTIONS="$OPTIONS --enable-all-in-one --enable-mruby"
    LDD_INFO="yes"
    RESULTS="$RESULTS arangoirb"
    ;;

  Linux-openSUSE-11.4*)
    echo "Using configuration for openSuSE 11.4"
    OPTIONS="$OPTIONS --enable-all-in-one --with-boost-test --enable-mruby"
    LDD_INFO="yes"
    RESULTS="$RESULTS arangoirb"
    ;;
{'fraction_non_alphanumeric': 0.3303249097472924, 'fraction_numerical': 0.011131167268351384, 'mean_word_length': 3.6373779637377965, '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': '6373763', 'n_tokens_mistral': 1146, 'n_tokens_neox': 1037, 'n_words': 218}