<commit_before>Please read all sections marked with **. All others are optional and provide
background information.


** Madlib C++ Code
==================

Current Ingredients:

1. Database Abstraction Layer (DBAL)
2. Ports
   - PostgreSQL
   - Greenplum


Installation from Source
========================

Requirements:

- Installed LAPACK library and header files.
  
  Platform notes:
  + Mac OS X comes with LAPACK and BLAS preinstalled (as part of the Accelerate
    framework)
  + On RedHat/CentOS, LAPACK and BLAS come with with the lapack-devel package
  + On Solaris, LAPACK and BLAS come with the Orcale Performance Studio

- Internet connection to automatically download MADlib's dependencies if needed
  (Boost, Armadillo). See notes below.


** Build instructions (required read):

From the MADlib root directory, execute the following commands:

	./configure
	cd build/
	make

If your are missing a library, the ./configure step will notify. Refer to your
operating system's manual for instructions how to install the above
prerequisites.

Notes:
<commit_msg>Some updates to read-me file on build process.<commit_after>Please read all sections marked with **. All others are optional and provide
background information.


** Madlib C++ Code
==================

Current Ingredients:

1. Database Abstraction Layer (DBAL)
2. Ports
   - PostgreSQL
   - Greenplum


Installation from Source
========================

Requirements:

- LAPACK and BLAS libraries and their header files.
  
  Platform notes:
  + Mac OS X comes with LAPACK and BLAS preinstalled (as part of the Accelerate
    framework)
  + On RedHat/CentOS, LAPACK and BLAS come with with the lapack-devel and
    blas-devel packages. When compiling against PostgreSQL, other "-devel"
    packages might be needed (e.g., openssl-devel).
  + On Solaris, LAPACK and BLAS come with the Orcale Performance Studio

- Internet connection to automatically download MADlib's dependencies if needed
  (Boost, Armadillo). See notes below.
  
Optional:

- doxygen >= 1.7.3 to generate the user-level API reference in HTML format
- git to download/update the local MathJax installation, which is used for
  displaying formulas in the developer-level documentation


** Build instructions (required read):

From the MADlib root directory, execute the following commands:

	./configure
	cd build/
	make
    
Optionally, install MADlib with

    make install

Depending on the environment, ./configure might have to be called with
additional configuration parameters:

    CMAKE_BUILD_TYPE
        "Debug", "Release", "RelWithDebInfo", or "MinSizeRel"

    CMAKE_PREFIX_PATH
        List (separated by ";" without trailing space) of additional search
        paths (for each ${PREFIX_PATH} in ${CMAKE_PREFIX_PATH}, binaries are
        searched for in ${PREFIX_PATH}/bin, headers are searched for in 
        ${PREFIX_PATH}/include, etc.)
    
    CMAKE_INSTALL_PREFIX
        Prefix when installing MADlib with "make install". The default is
        "/usr/local". All files will be installed within
        "${CMAKE_INSTALL_PREFIX}/madlib".

    POSTGRESQL_PG_CONFIG
        Path to pg_config of PostgreSQL installation, which is used to determine
        various PostgreSQL search paths.

    GREENPLUM_PG_CONFIG
        Path to pg_config of Greenplum installation, which is used to determine
        various Greenplum search paths.
    

If your are missing a required library, the ./configure or make step will
notice. Refer to your operating system's manual for instructions how to install
the above prerequisites.

Notes:

{'fraction_non_alphanumeric': 0.0780161604903873, 'fraction_numerical': 0.0019504040122596824, 'mean_word_length': 3.69281045751634, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 3, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6295193', 'n_tokens_mistral': 998, 'n_tokens_neox': 939, 'n_words': 429}