This is an automated email from the ASF dual-hosted git repository.

jingyimei pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/madlib.git


The following commit(s) were added to refs/heads/master by this push:
     new 659bf69  Use 64 bit flag for compiling MADlib with greenplum on macOS.
659bf69 is described below

commit 659bf695bb44f6339589b110bd53daf47c542080
Author: Nikhil Kak <[email protected]>
AuthorDate: Tue Feb 5 11:29:07 2019 -0800

    Use 64 bit flag for compiling MADlib with greenplum on macOS.
    
    We used to assume that gpdb on mac is 32 bit but that is not the case
    anymore.
    
    Closes #350
---
 src/ports/greenplum/CMakeLists.txt | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/ports/greenplum/CMakeLists.txt 
b/src/ports/greenplum/CMakeLists.txt
index c09d29c..07d1937 100644
--- a/src/ports/greenplum/CMakeLists.txt
+++ b/src/ports/greenplum/CMakeLists.txt
@@ -11,8 +11,7 @@ set(PORT_DEPLOY_SCRIPT 
"${CMAKE_BINARY_DIR}/deploy/Component_${PORT}.cmake")
 
 if(APPLE)
     # FIXME: This should be handled in a better way.
-    # Greenplum is 32bit on the Mac.
-    set(ADDITIONAL_GCC_FLAGS "-m32")
+    set(ADDITIONAL_GCC_FLAGS "-m64")
 else(APPLE)
     unset(ADDITIONAL_GCC_FLAGS)
 endif(APPLE)

Reply via email to