<commit_before>#!/bin/bash
#
# Trigger vars and find information
#
# $Id$
#
######################################################################

######################################################################
#
# Set variables whose change should not trigger a rebuild or will
# by value change trigger a rebuild, as change of this file will not
# trigger a rebuild.
# E.g: version, builds, deps, auxdata, paths, builds of other packages
#
######################################################################

setCmakeTriggerVars() {
  CMAKE_BLDRVERSION_STD=${CMAKE_BLDRVERSION_STD:-"2.8.12.1"}
  CMAKE_BLDRVERSION_EXP=${CMAKE_BLDRVERSION_EXP:-"3.0.0"}
  CMAKE_BUILDS=${CMAKE_BUILDS:-"ser"}
  CMAKE_DEPS=
}
setCmakeTriggerVars

######################################################################
#
# Find CMake
#
######################################################################

findCmake() {<commit_msg>Setting up conditions so that cmake 2.8.10.1 is used on OSX machines with CUDA until the duplicate RPATH issue is resolved (2.8.12.x and 3.0.0 didn't solve these problems).<commit_after>#!/bin/bash
#
# Trigger vars and find information
#
# $Id$
#
######################################################################

######################################################################
#
# Set variables whose change should not trigger a rebuild or will
# by value change trigger a rebuild, as change of this file will not
# trigger a rebuild.
# E.g: version, builds, deps, auxdata, paths, builds of other packages
#
######################################################################

setCmakeTriggerVars() {
  local stdVersion="2.8.12.1"
  case `uname` in
    Darwin*)
      if test -d /usr/local/cuda; then 
        stdVersion="2.8.10.1"
      fi
      ;;
  esac
  CMAKE_BLDRVERSION_STD=${CMAKE_BLDRVERSION_STD:-${stdVersion}}
  CMAKE_BLDRVERSION_EXP=${CMAKE_BLDRVERSION_EXP:-"3.0.0"}
  CMAKE_BUILDS=${CMAKE_BUILDS:-"ser"}
  CMAKE_DEPS=
}
setCmakeTriggerVars

######################################################################
#
# Find CMake
#
######################################################################

findCmake() {
{'fraction_non_alphanumeric': 0.4017527675276753, 'fraction_numerical': 0.01522140221402214, 'mean_word_length': 6.428082191780822, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 4, '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': '4700408', 'n_tokens_mistral': 641, 'n_tokens_neox': 576, 'n_words': 147}