Skip to content
This repository has been archived by the owner on Mar 24, 2022. It is now read-only.

Commit

Permalink
updating pdlpack to account for dev version on master
Browse files Browse the repository at this point in the history
  • Loading branch information
vatsan committed Mar 18, 2016
1 parent fec1113 commit b6e8ddd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,13 @@ Pre-requisites

The following are the pre-requisites for building the pdltools package:

1. The cmake compiler. I recommend getting latest version (3.5) as older version don't seem to handle URL redirects, you can download the binary for Linux from here: https://cmake.org/files/v3.5/cmake-3.5.0-Linux-x86_64.tar.gz.
1. The cmake compiler. (We recommend getting latest version (3.5) as older version don't seem to handle URL redirects, you can download the binary for Linux from here: https://cmake.org/files/v3.5/cmake-3.5.0-Linux-x86_64.tar.gz).
2. g++, Flex (>= 2.5.33), Bison (>=2.4), Doxygen (1.8.7 recommended, needed only for generating docs), Latex (needed only for generating PDF docs). On CentOS this would be:

sudo yum install gcc-c++
sudo yum install flex
sudo yum install bison
sudo yum install doxygen
we recommend version 1.8.7, follow instructions https://www.stack.nl/~dimitri/doxygen/download.html to download and install the appropriate binaries ex: http://ftp.stack.nl/pub/users/dimitri/doxygen-1.8.7.linux.bin.tar.gz.
sudo yum install doxygen (we recommend version 1.8.7, follow instructions at https://www.stack.nl/~dimitri/doxygen/download.html to download and install the appropriate binaries ex: http://ftp.stack.nl/pub/users/dimitri/doxygen-1.8.7.linux.bin.tar.gz).
sudo yum install texlive-latex

3. Greenplum Database (GPDB 4.2 or higher) and/or HAWQ (1.2.x and higher)
Expand Down
4 changes: 2 additions & 2 deletions src/pdlpack/pdlpack.py
Original file line number Diff line number Diff line change
Expand Up @@ -843,8 +843,8 @@ def _schema_writable(schema,session):
return schema_writable

def _cmp_versions(ver_a, ver_b):
a_list = [int(x) for x in ver_a.split('.')]
b_list = [int(x) for x in ver_b.split('.')]
a_list = ver_a.split('.')
b_list = ver_b.split('.')
return cmp(a_list,b_list)

def parseConnectionStr(connectionStr):
Expand Down

0 comments on commit b6e8ddd

Please sign in to comment.