summaryrefslogtreecommitdiff
path: root/src/third_party/wiredtiger/build_posix/configure.ac.in
diff options
context:
space:
mode:
authorAlex Gorrod <alexander.gorrod@mongodb.com>2016-09-16 16:22:54 +1000
committerAlex Gorrod <alexander.gorrod@mongodb.com>2016-09-16 16:26:24 +1000
commit7693fa59c4470db729d85af99fb9cc3b264fa8c8 (patch)
treeae2747db581d28abb65251754cf735074eebafc7 /src/third_party/wiredtiger/build_posix/configure.ac.in
parent2c15ad73fb47d7697e05fb2b7972021b87a56452 (diff)
downloadmongo-7693fa59c4470db729d85af99fb9cc3b264fa8c8.tar.gz
Import wiredtiger: 5bc03723a7e77c96b1d5e45a97173654872c727a from branch mongodb-3.4
ref: deeb0f589a..5bc03723a7 for: 3.3.13 WT-2859 Improve statistics macros to not collect stats when statistics=none is set WT-2894 Create workload that shows negative scaling when overwhelmed WT-2900 Add ARM8 build support to WiredTiger and fix ARM CRC assembler tags WT-2902 Enhance eviction to work better with update heavy YCSB load WT-2905 dead code: MongoDB Coverity #99881 WT-2908 Add dry-run support to python unit-test WT-2910 test_inmem01 can abort due to stuck cache WT-2911 add support for gcc6 WT-2912 make --enable-strict run on the zseries test box WT-2913 stuck cache after latest merge WT-2914 Fix link error on OS/X for checksum_init call WT-2916 whitespace check not working
Diffstat (limited to 'src/third_party/wiredtiger/build_posix/configure.ac.in')
-rw-r--r--src/third_party/wiredtiger/build_posix/configure.ac.in12
1 files changed, 9 insertions, 3 deletions
diff --git a/src/third_party/wiredtiger/build_posix/configure.ac.in b/src/third_party/wiredtiger/build_posix/configure.ac.in
index cbd9e4e4123..608d602937d 100644
--- a/src/third_party/wiredtiger/build_posix/configure.ac.in
+++ b/src/third_party/wiredtiger/build_posix/configure.ac.in
@@ -38,9 +38,9 @@ if test "$wt_cv_enable_strict" = "yes"; then
wt_cv_cc_version="`$CC --version | sed -eq`"
case "$wt_cv_cc_version" in
*clang*)
- AM_CLANG_WARNINGS;;
- *gcc*|*GCC*)
- AM_GCC_WARNINGS;;
+ AM_CLANG_WARNINGS($wt_cv_cc_version);;
+ *cc*|*CC*) # cc, CC, gcc, GCC
+ AM_GCC_WARNINGS($wt_cv_cc_version);;
*)
AC_MSG_ERROR(
[--enable-strict does not support "$wt_cv_cc_version".]);;
@@ -87,6 +87,12 @@ if test "$GCC" = "yes"; then
if test "`uname -s`" = "SunOS"; then
AM_CFLAGS="$AM_CFLAGS -pthreads"
fi
+
+ # ARMv8-A is the 64-bit ARM architecture, turn on the optional CRC
+ # instructions.
+ if test "$wt_cv_arm64" = "yes"; then
+ AM_CFLAGS="$AM_CFLAGS -march=armv8-a+crc"
+ fi
else
# The Solaris native compiler gets the additional -mt flag.
if test "`uname -s`" = "SunOS"; then