When building in the source dir, cmake fails with this error:
When building in a subdir of the source tree, cmake succeeds, but the make step fails for jemalloc-configure:
Following those instructions and updating config.guess and config.sub fixes this problem. Not sure how to fix cmake above.
Ubuntu ppc64le (Power8, little endian)