<commit_before>%% Copyright (C) 2010, <NAME>.
%%
%% This software is provided "as is" without warranty of any kind,
%% either expressed or implied, including but not limited to the
%% implied warranties of fitness for a particular purpose.
%%
%% See the LICENSE file for more information.

\chapter{Building \usdk}
\label{sec:build}
\setHtmlFileName{build}

\lstnewenvironment{package}[1][]
  {\cxxPre%
    \lstset{language={},
      style=UrbiSDKEnv,
      #1}}
  {\cxxPost}

This section is meant for people who want to \emph{build} the \usdk.  If
you just want to install a pre-built \usdk, see \autoref{sec:installation}.

\section{Requirements}
\label{sec:build:req}

To bootstrap this package from its repository, and then to compile it,
the following tools are needed.

\begin{description}
\item[Autoconf 2.63 or later]~\\

\begin{package}
package: autoconf
\end{package}

\item[Automake 1.11.1 or later] Note that if you have to install Automake by
  hand (as opposed to ``with your distribution's system''), you have to tell
  its \command{aclocal} that it should also look at the files from the
  system's aclocal.  If \file{/usr/local/bin/aclocal} is the one you just
  installed, and \file{/usr/bin/aclocal} is the system's one, then run
  something like this:

\begin{shell}
$ dirlist=$(/usr/local/bin/aclocal --print-ac-dir)/dirlist
$ sudo mkdir -p $(dirname $dirlist)
$ sudo /usr/bin/aclocal --print-ac-dir >>$dirlist
\end{shell}

\begin{package}
package: automake
\end{package}

\item[bc]
  Needed by the test suite.
\begin{package}
package: bc
\end{package}

\item[Boost 1.38 or later] Don't try to build it yourself, ask your
  distribution's management to install it.
\begin{package}
deb: libboost-dev
MacPorts: boost
windows: http://www.boostpro.com/download
\end{package}

At Gostai, you can use the script \file{common/install/install-boost}
to set up Boost as we use it.

\item[Ccache]
  Not a requirement, but it's better to have it.<commit_msg>Remove extra documentation for internal usage.<commit_after>%% Copyright (C) 2010, <NAME>.
%%
%% This software is provided "as is" without warranty of any kind,
%% either expressed or implied, including but not limited to the
%% implied warranties of fitness for a particular purpose.
%%
%% See the LICENSE file for more information.

\chapter{Building \usdk}
\label{sec:build}
\setHtmlFileName{build}

\lstnewenvironment{package}[1][]
  {\cxxPre%
    \lstset{language={},
      style=UrbiSDKEnv,
      #1}}
  {\cxxPost}

This section is meant for people who want to \emph{build} the \usdk.  If
you just want to install a pre-built \usdk, see \autoref{sec:installation}.

\section{Requirements}
\label{sec:build:req}

To bootstrap this package from its repository, and then to compile it,
the following tools are needed.

\begin{description}
\item[Autoconf 2.63 or later]~\\

\begin{package}
package: autoconf
\end{package}

\item[Automake 1.11.1 or later] Note that if you have to install Automake by
  hand (as opposed to ``with your distribution's system''), you have to tell
  its \command{aclocal} that it should also look at the files from the
  system's aclocal.  If \file{/usr/local/bin/aclocal} is the one you just
  installed, and \file{/usr/bin/aclocal} is the system's one, then run
  something like this:

\begin{shell}
$ dirlist=$(/usr/local/bin/aclocal --print-ac-dir)/dirlist
$ sudo mkdir -p $(dirname $dirlist)
$ sudo /usr/bin/aclocal --print-ac-dir >>$dirlist
\end{shell}

\begin{package}
package: automake
\end{package}

\item[bc]
  Needed by the test suite.
\begin{package}
package: bc
\end{package}

\item[Boost 1.38 or later] Don't try to build it yourself, ask your
  distribution's management to install it.
\begin{package}
deb: libboost-dev
MacPorts: boost
windows: http://www.boostpro.com/download
\end{package}

\item[Ccache]
  Not a requirement, but it's better to have it.
{'fraction_non_alphanumeric': 0.1186046511627907, 'fraction_numerical': 0.008268733850129198, 'mean_word_length': 4.154460719041278, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '6496117', 'n_tokens_mistral': 1307, 'n_tokens_neox': 1265, 'n_words': 464}