diff --git a/CMakeLists.txt b/CMakeLists.txt index d1bf192c64876318d5f1d3870b186aaafe304e43..c025ea65ad309b58da5e493610c3e793a1b34777 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -12,6 +12,7 @@ find_program(CAT cat) find_program(GIT git) find_program(RAGEL ragel) find_program(CONFETTI confetti) +find_program(LD ld) set(luadir ${PROJECT_BINARY_DIR}/third_party/luajit/src) link_directories(${luadir}) @@ -119,7 +120,7 @@ execute_process (COMMAND ${GIT} describe HEAD # set (CPACK_PACKAGE_VERSION_MAJOR "1") set (CPACK_PACKAGE_VERSION_MINOR "4") -set (CPACK_PACKAGE_VERSION_PATCH "1") +set (CPACK_PACKAGE_VERSION_PATCH "2") if (TARANTOOL_VERSION STREQUAL "") set (TARANTOOL_VERSION "${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK_PACKAGE_VERSION_MINOR}.${CPACK_PACKAGE_VERSION_PATCH}") diff --git a/connector/c/CMakeLists.txt b/connector/c/CMakeLists.txt index d5bd9b7d455c5432f5578380adc445bc84f8def8..4e27db259071bd52007dfdc301b19c1131bae4ab 100644 --- a/connector/c/CMakeLists.txt +++ b/connector/c/CMakeLists.txt @@ -15,7 +15,6 @@ if (${CMAKE_BUILD_TYPE} STREQUAL "Debug") set (tnt_cflags "${tnt_cflags} -Werror") endif() - #============================================================================# # Build tnt projects #============================================================================# @@ -45,6 +44,10 @@ set (tnt_sources # Builds #----------------------------------------------------------------------------# +# Here we manage to build static/dynamic libraries ourselves, +# do not use the top level settings. +string(REPLACE "-static" "" CMAKE_C_FLAGS "${CMAKE_C_FLAGS}") + # # Static library # diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 5834c41b5c2e878f42e81adb9002fd07555bc6e3..15bb5c2e83d1698729f84149d7507307c07aa440 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -7,6 +7,6 @@ tarantool_client("box/connector" ${CMAKE_SOURCE_DIR}/test/box/connector.c) install (PROGRAMS tarantool DESTINATION bin) install (DIRECTORY lib DESTINATION bin) -install (FILES ${CMAKE_SOURCE_DIR}/box/tarantool.cfg - ${CMAKE_SOURCE_DIR}/box/00000000000000000001.snap +install (FILES ${CMAKE_SOURCE_DIR}/test/box/tarantool.cfg + ${CMAKE_SOURCE_DIR}/test/box/00000000000000000001.snap DESTINATION bin) diff --git a/test/box/configuration.result b/test/box/configuration.result index bb9285d114aa1dca5890a605c0098b673072415c..42375c7c1bdc30653b089c7cc55568f151a7b402 100644 --- a/test/box/configuration.result +++ b/test/box/configuration.result @@ -7,11 +7,10 @@ show stat --- statistics: - REPLACE: { rps: 0 , total: 0 } - SELECT_LIMIT: { rps: 0 , total: 0 } - SELECT: { rps: 0 , total: 0 } - UPDATE_FIELDS: { rps: 0 , total: 0 } - DELETE_1_3: { rps: 0 , total: 0 } - DELETE: { rps: 0 , total: 0 } - CALL: { rps: 0 , total: 0 } + REPLACE: { rps: 0 , total: 0 } + SELECT: { rps: 0 , total: 0 } + UPDATE: { rps: 0 , total: 0 } + DELETE_1_3: { rps: 0 , total: 0 } + DELETE: { rps: 0 , total: 0 } + CALL: { rps: 0 , total: 0 } ... diff --git a/test/box/show.result b/test/box/show.result index cc694121a6e1ef6eda752f55a73ef4b24a3aecd0..8ada7a0ec027c87fc6249d5507b884105ec360e0 100644 --- a/test/box/show.result +++ b/test/box/show.result @@ -1,13 +1,12 @@ show stat --- statistics: - REPLACE: { rps: 0 , total: 0 } - SELECT_LIMIT: { rps: 0 , total: 0 } - SELECT: { rps: 0 , total: 0 } - UPDATE_FIELDS: { rps: 0 , total: 0 } - DELETE_1_3: { rps: 0 , total: 0 } - DELETE: { rps: 0 , total: 0 } - CALL: { rps: 0 , total: 0 } + REPLACE: { rps: 0 , total: 0 } + SELECT: { rps: 0 , total: 0 } + UPDATE: { rps: 0 , total: 0 } + DELETE_1_3: { rps: 0 , total: 0 } + DELETE: { rps: 0 , total: 0 } + CALL: { rps: 0 , total: 0 } ... help --- @@ -75,13 +74,12 @@ configuration: show stat --- statistics: - REPLACE: { rps: 0 , total: 0 } - SELECT_LIMIT: { rps: 0 , total: 0 } - SELECT: { rps: 0 , total: 0 } - UPDATE_FIELDS: { rps: 0 , total: 0 } - DELETE_1_3: { rps: 0 , total: 0 } - DELETE: { rps: 0 , total: 0 } - CALL: { rps: 0 , total: 0 } + REPLACE: { rps: 0 , total: 0 } + SELECT: { rps: 0 , total: 0 } + UPDATE: { rps: 0 , total: 0 } + DELETE_1_3: { rps: 0 , total: 0 } + DELETE: { rps: 0 , total: 0 } + CALL: { rps: 0 , total: 0 } ... save coredump --- diff --git a/test/box/stat.result b/test/box/stat.result index b5e4fba5d677c9865dfa245e62a5b5820fcaaf84..37f80dd38859d4070850a2d8a8c5c0e774415fc1 100644 --- a/test/box/stat.result +++ b/test/box/stat.result @@ -26,13 +26,12 @@ Insert OK, 1 row affected show stat --- statistics: - REPLACE: { rps: 2 , total: 10 } - SELECT_LIMIT: { rps: 0 , total: 0 } - SELECT: { rps: 0 , total: 0 } - UPDATE_FIELDS: { rps: 0 , total: 0 } - DELETE_1_3: { rps: 0 , total: 0 } - DELETE: { rps: 0 , total: 0 } - CALL: { rps: 0 , total: 0 } + REPLACE: { rps: 2 , total: 10 } + SELECT: { rps: 0 , total: 0 } + UPDATE: { rps: 0 , total: 0 } + DELETE_1_3: { rps: 0 , total: 0 } + DELETE: { rps: 0 , total: 0 } + CALL: { rps: 0 , total: 0 } ... # # restart server @@ -45,13 +44,12 @@ statistics: show stat --- statistics: - REPLACE: { rps: 0 , total: 0 } - SELECT_LIMIT: { rps: 0 , total: 0 } - SELECT: { rps: 0 , total: 0 } - UPDATE_FIELDS: { rps: 0 , total: 0 } - DELETE_1_3: { rps: 0 , total: 0 } - DELETE: { rps: 0 , total: 0 } - CALL: { rps: 0 , total: 0 } + REPLACE: { rps: 0 , total: 0 } + SELECT: { rps: 0 , total: 0 } + UPDATE: { rps: 0 , total: 0 } + DELETE_1_3: { rps: 0 , total: 0 } + DELETE: { rps: 0 , total: 0 } + CALL: { rps: 0 , total: 0 } ... delete from t0 where k0 = 0 Delete OK, 1 row affected diff --git a/test/box_memcached/multiversioning.result b/test/box_memcached/multiversioning.result index aff3b8628c0a5b9e4247cf3de3eab8fddcdcdcba..390a36142461b70dae23e79c44efc74442688d88 100644 --- a/test/box_memcached/multiversioning.result +++ b/test/box_memcached/multiversioning.result @@ -19,9 +19,8 @@ show stat --- statistics: REPLACE: { rps: 0 , total: 0 } - SELECT_LIMIT: { rps: 0 , total: 0 } SELECT: { rps: 0 , total: 0 } - UPDATE_FIELDS: { rps: 0 , total: 0 } + UPDATE: { rps: 0 , total: 0 } DELETE_1_3: { rps: 0 , total: 0 } DELETE: { rps: 0 , total: 0 } CALL: { rps: 0 , total: 0 }