Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
The most recent version of MADlib cannot be built on PowerPC machines with Linux (CentOS 7) without extra modifications of the build system.
I have encountered the following problems:
Architecture-specific G++ option is set (on all architectures)
The current CMakeLists.txt sets the `-mno-sse2` GNU C++ compiler option, which is architecture-specific and thus not available on PowerPC machines that use GCC to build MADlib.
For this reason, compilation fails, unless this flag is removed from the CMakeLists.txt manually.
`architecture` cmake macros works incorrectly
The current cmake `architecture` macros does not work on PowerPC machines with Linux. Its result is empty string.
As a result, M4 variable `<DBMS>_ARCHITECTURE` is not set properly, and the installation fails.
As far as I understand, there are no fundamental limitations on usage of MADlib on PowerPC machines with Linux. After some manual actions to resolve the problems mentioned above, I have successfully built and installed MADlib. A simple check with an example from the quick-start guide showed the correct results.
I would propose to fix the problems mentioned in order for MADlib to support PowerPC with Linux properly.