<commit_before>#!/bin/bash -e
# Script to build tcl, then modules
# Version of modules is usually 3.2.10
echo ${MODULESHOME}
source /etc/profile.d/modules.sh
SOURCE_FILE=$NAME-$VERSION.tar.gz
echo "we'll now build $NAME-$VERSION" from $SOURCE_FILE
# Add the module for the CI environment
module load ci

# add dependencies
module load gcc/4.9.2

# Get tcl
if [[ ! -s tcl8.6.4-src.tar.gz ]] ; then
  wget http://prdownloads.sourceforge.net/tcl/tcl8.6.4-src.tar.gz -O  tcl8.6.4-src.tar.gz
  tar xfz tcl8.6.4-src.tar.gz
fi

# build tcl8
cd tcl-8.6.4
./configure --prefix=${SOFT_DIR}
make install

# check tcl



if [[ ! -s $SRC_DIR/$SOURCE_FILE ]] ; then
  echo "Seems we are building from scratch - preparing "
  mkdir -p $SRC_DIR
  wget http://sourceforge.net/projects/modules/files/Modules/$NAME-${VERSION}/${SOURCE_FILE} -O ${SRC_DIR}/${SOURCE_FILE}
else
  echo "Seems we already have that source file $SRC_DIR/$SOURCE_FILE"
  echo "unpacking from here."
fi
tar -xvzf $SRC_DIR/$SOURCE_FILE -C $WORKSPACE
cd $WORKSPACE/$NAME-$VERSION
./configure --prefix $SOFT_DIR --with-ncurses=$ncurses_DIR<commit_msg>typo on the unpack dir<commit_after>#!/bin/bash -e
# Script to build tcl, then modules
# Version of modules is usually 3.2.10
echo ${MODULESHOME}
source /etc/profile.d/modules.sh
SOURCE_FILE=$NAME-$VERSION.tar.gz
echo "we'll now build $NAME-$VERSION" from $SOURCE_FILE
# Add the module for the CI environment
module load ci

# add dependencies
module load gcc/4.9.2

# Get tcl
if [[ ! -s tcl8.6.4-src.tar.gz ]] ; then
  wget http://prdownloads.sourceforge.net/tcl/tcl8.6.4-src.tar.gz -O  tcl8.6.4-src.tar.gz
  tar xfz tcl8.6.4-src.tar.gz
fi

# build tcl8
cd tcl8.6.4
./configure --prefix=${SOFT_DIR}
make install

# check tcl



if [[ ! -s $SRC_DIR/$SOURCE_FILE ]] ; then
  echo "Seems we are building from scratch - preparing "
  mkdir -p $SRC_DIR
  wget http://sourceforge.net/projects/modules/files/Modules/$NAME-${VERSION}/${SOURCE_FILE} -O ${SRC_DIR}/${SOURCE_FILE}
else
  echo "Seems we already have that source file $SRC_DIR/$SOURCE_FILE"
  echo "unpacking from here."
fi
tar -xvzf $SRC_DIR/$SOURCE_FILE -C $WORKSPACE
cd $WORKSPACE/$NAME-$VERSION
./configure
{'fraction_non_alphanumeric': 0.14153988012909174, 'fraction_numerical': 0.02120792992162287, 'mean_word_length': 3.758771929824561, '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': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5742659', 'n_tokens_mistral': 843, 'n_tokens_neox': 825, 'n_words': 220}