<commit_before># The MIT License (MIT)
# Copyright (c) 2015 Teem2 LLC
#
# Ubuntu 14.04 Bash build script for DALi 3D Framework with Node.js support
#
# Required software for the build:
#   + Node.js 0.12.4
#     Build from source following these instructions
#     https://github.com/joyent/node/wiki/installation#building-on-linux
#
#   + yuidocjs 0.5
#     sudo npm install -g yuidocjs@0.5
#
#   + node-gyp
#     sudo npm install -g node-gyp


export DALI_BUILD_HOME=~/dali-nodejs

# parallel make
export NUMCPUS=`grep -c '^processor' /proc/cpuinfo`
# Hyperthreading should be supported for the automatic configuration
# of the number of processes used for 'make':
export DALI_MAKE_CORS=`python -c "print (int(${NUMCPUS} * 2 - 1))"`
echo "System has $NUMCPUS CPU cores with, running build with $DALI_MAKE_CORS processes."
# Set the number of processes for the V8 build process to $DALI_MAKE_CORS
sed -i "s/make -j8/make -j$DALI_MAKE_CORS/" dali-core/build/scripts/dali_env

# Configure your Tizen Gerrit account name. Follow the development
# environment setup guide, you plan to use your own account.
# https://source.tizen.org/development/developer-guide/environment-setup
export TIZEN_USER=rteem

mkdir $DALI_BUILD_HOME
cd $DALI_BUILD_HOME

rm -rf *

# get dali-core repo first
git clone ssh://$TIZEN_USER@review.tizen.org:29418/platform/core/uifw/dali-core
cd dali-core
git checkout devel/master
cd $DALI_BUILD_HOME
<commit_msg>Fix order of steps: First checkout dali-core, before setting the number of processes for the build.<commit_after># The MIT License (MIT)
# Copyright (c) 2015 Teem2 LLC
#
# Ubuntu 14.04 Bash build script for DALi 3D Framework with Node.js support
#
# Required software for the build:
#   + Node.js 0.12.4
#     Build from source following these instructions
#     https://github.com/joyent/node/wiki/installation#building-on-linux
#
#   + yuidocjs 0.5
#     sudo npm install -g yuidocjs@0.5
#
#   + node-gyp
#     sudo npm install -g node-gyp


export DALI_BUILD_HOME=~/dali-nodejs


# Configure your Tizen Gerrit account name. Follow the development
# environment setup guide, you plan to use your own account.
# https://source.tizen.org/development/developer-guide/environment-setup
export TIZEN_USER=rteem

mkdir $DALI_BUILD_HOME
cd $DALI_BUILD_HOME

rm -rf *

# get dali-core repo first
git clone ssh://$TIZEN_USER@review.tizen.org:29418/platform/core/uifw/dali-core
cd dali-core
git checkout devel/master
cd $DALI_BUILD_HOME


# parallel make
export NUMCPUS=`grep -c '^processor' /proc/cpuinfo`
# Hyperthreading should be supported for the automatic configuration
# of the number of processes used for 'make':
export DALI_MAKE_CORS=`python -c "print (int(${NUMCPUS} * 2 - 1))"`
echo "System has $NUMCPUS CPU cores with, running build with $DALI_MAKE_CORS processes."
# Set the number of processes for the V8 build process to $DALI_MAKE_CORS
sed -i "s/make -j8/make -j$DALI_MAKE_CORS/" dali-core/build/scripts/dali_env

{'fraction_non_alphanumeric': 0.09810554803788904, 'fraction_numerical': 0.018267929634641408, 'mean_word_length': 4.24290780141844, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, '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': '2136244', 'n_tokens_mistral': 1100, 'n_tokens_neox': 1010, 'n_words': 321}