Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Available for download from Apple Developers site
Package: Auxiliary Tools for Xcode - Late July 2012
File: xcode44auxtools6938114a.dmg

Build Postgres versions

On macOS, MADlib supports Postgres 9.4, 9.5 and 9.6 versionsFor release purposes, you will need to identify the versions of postgres that the release candidate supports. In order to build, you will need to have three separate installation directories availableone installation directory for each supported version of postgres. Download the latest source tarballs for each version from https://www.postgresql.org/ftp/source/. Extract, configure, build, test and install each version.

See this page for list of versions of postgres supported by released versions of MADlib

Example:

wget https://ftp.postgresql.org/pub/source/v9.6.4/postgresql-9.6.4.tar.gz
tar xf postgresql-9.6.4.tar.gz
cd postgresql-9.6.4
./configure --with-python --prefix=/usr/local/pgsql964

make
make check
make install

Repeat for each supported Postgres version.

Build MADlib and dmg package

...

If a local Ubuntu environment with Postgres is not available, obtain necessary docker image with postgres using: (postgres 11 is the latest docker image

   docker pull madlib/postgres_9.611:latestjenkins

Follow instructions in https://github.com/apache/madlib#development-with-docker to use the docker container.

Once in the Ubuntu environment, example to build deb package packagemd5 (from source directory):

Note: If the pg_config file is not in the default location, we can specify it as a parameter in cmake using `-DPOSTGRESQL_9_611_PG_CONFIG=<pg_config location>`

...

make
make install
make package
mv madlib-1.1518.10-Linux.deb apache-madlib-1.1518.10-bin-Linux.deb

Sign the Release Candidate

Check that md5, shasum, and gpg (or gpg2) are installed on your machine:

...