summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Benvenuto <mark.benvenuto@mongodb.com>2016-04-11 14:50:11 -0400
committerMark Benvenuto <mark.benvenuto@mongodb.com>2016-04-11 14:50:11 -0400
commitba57cef397a1c1b6740247e701c78fba83b3d1bd (patch)
treedec5ea9949e9120e9b08c54f30fa1e2f54539892
parentdc2a8672db517ff47b6fc82215fbeb1147f58100 (diff)
downloadmongo-ba57cef397a1c1b6740247e701c78fba83b3d1bd.tar.gz
SERVER-23552 Enable decimal128 support for ppc64le
-rwxr-xr-xsrc/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_conf.h2
-rw-r--r--src/third_party/IntelRDFPMathLib20U1/SConscript2
-rwxr-xr-xsrc/third_party/IntelRDFPMathLib20U1/TESTS/test_bid_conf.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_conf.h b/src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_conf.h
index e576ecd4907..0bdfd48340e 100755
--- a/src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_conf.h
+++ b/src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_conf.h
@@ -873,7 +873,7 @@
#if defined(WINDOWS)
#define BID_SIZE_LONG 4
#else
-#if defined(__x86_64__) || defined (__ia64__) || defined(HPUX_OS_64)
+#if defined(__x86_64__) || defined (__ia64__) || defined(HPUX_OS_64) || defined(__powerpc64__)
#define BID_SIZE_LONG 8
#else
#define BID_SIZE_LONG 4
diff --git a/src/third_party/IntelRDFPMathLib20U1/SConscript b/src/third_party/IntelRDFPMathLib20U1/SConscript
index bffbf2d8f79..dd2c0435132 100644
--- a/src/third_party/IntelRDFPMathLib20U1/SConscript
+++ b/src/third_party/IntelRDFPMathLib20U1/SConscript
@@ -300,7 +300,7 @@ if processor == 'i386':
cpp_defines['ia32'] = '1'
# Using 64 bit
-elif processor == 'x86_64':
+elif processor == 'x86_64' or processor == 'ppc64le':
cpp_defines['efi2'] = '1'
cpp_defines['EFI2'] = '1'
else:
diff --git a/src/third_party/IntelRDFPMathLib20U1/TESTS/test_bid_conf.h b/src/third_party/IntelRDFPMathLib20U1/TESTS/test_bid_conf.h
index f2ac0bf793d..1fe4ac97722 100755
--- a/src/third_party/IntelRDFPMathLib20U1/TESTS/test_bid_conf.h
+++ b/src/third_party/IntelRDFPMathLib20U1/TESTS/test_bid_conf.h
@@ -870,7 +870,7 @@
#if defined(WINDOWS)
#define BID_SIZE_LONG 4
#else
-#if defined(__x86_64__) || defined (__ia64__)
+#if defined(__x86_64__) || defined (__ia64__) || defined(__powerpc64__)
#define BID_SIZE_LONG 8
#else
#define BID_SIZE_LONG 4