[Groonga-mysql-commit] mroonga/mroonga at 2cab156 [master] travis: force to enable fast mutexes for MySQL 5.6.25

Back to archive index

Kouhei Sutou null+****@clear*****
Thu Jun 4 12:09:43 JST 2015


Kouhei Sutou	2015-06-04 12:09:43 +0900 (Thu, 04 Jun 2015)

  New Revision: 2cab1568136e0ae703827b6bc85e17fc7d7de059
  https://github.com/mroonga/mroonga/commit/2cab1568136e0ae703827b6bc85e17fc7d7de059

  Message:
    travis: force to enable fast mutexes for MySQL 5.6.25
    
    Because it seems that MySQL 5.6.25 package provided by Oracle enables
    fast mutexes. (unexpectedly?)

  Modified files:
    tools/travis/before_script.sh

  Modified: tools/travis/before_script.sh (+5 -2)
===================================================================
--- tools/travis/before_script.sh    2015-06-03 21:48:29 +0900 (7d4d7dc)
+++ tools/travis/before_script.sh    2015-06-04 12:09:43 +0900 (06dd78e)
@@ -31,6 +31,9 @@ else
   if [ -d /opt/mysql/ ]; then
     PATH=$(echo /opt/mysql/server-*/bin/):$PATH
   fi
-  ./configure \
-    --with-mysql-source=$PWD/vendor/mysql
+  configure_args=("--with-mysql-source=$PWD/vendor/mysql")
+  if [ "${MYSQL_VERSION}" = "mysql-5.6.25" ]; then
+    configure_args=("${configure_args[@]}" --enable-fast-mutexes)
+  fi
+  ./configure "${configure_args[@]}"
 fi
-------------- next part --------------
HTML����������������������������...
下载 



More information about the Groonga-mysql-commit mailing list
Back to archive index