summaryrefslogtreecommitdiff
path: root/src/third_party/wiredtiger/SConscript
diff options
context:
space:
mode:
authorMark Benvenuto <mark.benvenuto@mongodb.com>2016-08-29 15:45:51 -0400
committerMark Benvenuto <mark.benvenuto@mongodb.com>2016-08-29 17:53:17 -0400
commit3f7812c99ded16e6286e1fd40323e57c939797ed (patch)
tree162ccb67364851e26b8f1f7cda330ac22c40126f /src/third_party/wiredtiger/SConscript
parent6001cd164233e96acb16ea92a7880106eeb2659f (diff)
downloadmongo-3f7812c99ded16e6286e1fd40323e57c939797ed.tar.gz
SERVER-25853 SLES 11 kernel does not support s390x VX instructions
Diffstat (limited to 'src/third_party/wiredtiger/SConscript')
-rw-r--r--src/third_party/wiredtiger/SConscript5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/third_party/wiredtiger/SConscript b/src/third_party/wiredtiger/SConscript
index d66b31ba11c..50db73c4d6b 100644
--- a/src/third_party/wiredtiger/SConscript
+++ b/src/third_party/wiredtiger/SConscript
@@ -140,8 +140,9 @@ condition_map = {
'POWERPC_HOST' : env['TARGET_ARCH'] == 'ppc64le',
'WINDOWS_HOST' : env.TargetOSIs('windows'),
# This isn't perfect. But should cover for our build environments
- 'X86_HOST' : env['TARGET_ARCH'] not in ('ppc64le', 's390x'),
- 'ZSERIES_HOST' : env['TARGET_ARCH'] == 's390x'
+ # See WT-2873 for planned improvements
+ 'X86_HOST' : not env['TARGET_ARCH'] == 'ppc64le' and not (env['TARGET_ARCH'] == 's390x' and get_option("use-s390x-crc32") == "on"),
+ 'ZSERIES_HOST' : env['TARGET_ARCH'] == 's390x' and get_option("use-s390x-crc32") == "on",
}
def filtered_filelist(f):