80 Commits

Author SHA1 Message Date
Leo Yuriev
f08c7ccac0 mdbx-make: rename mdbx_test and link with dso-library.
Change-Id: I39a04f82bc31c0865a8d02379a596048518205cd
2018-04-03 19:28:12 +03:00
Leo Yuriev
09ab6dd777 mdbx-make: add cross-compile targets for testing. 2018-03-22 21:11:26 +03:00
Leo Yuriev
52283d8c44 mdbx-tests: unify testdb name. 2018-03-19 20:50:30 +03:00
Leo Yuriev
b2213c86fe mdbx-build: add check-fault target. 2018-03-19 18:08:45 +03:00
Leo Yuriev
436b4870e8 mdbx: -O3 by default for Elbrus. 2018-03-14 15:04:07 +03:00
Leo Yuriev
483c4abb3f mdbx: remove Elbrus's alignment_reduction_ignored workaround. 2018-03-14 14:57:46 +03:00
Leo Yuriev
c267a71475 mdbx: workaround for "alignment-reduction-ignored" lcc's bug.
Change-Id: I000bfaffd78ef7b6e27d6178bc2a5defc32cc357
2018-03-07 13:59:51 +03:00
Leo Yuriev
a2099586ed mdbx: disable -Wno-constant-logical-operand inplace.
Change-Id: I0f7745f40e3340ba6d14d985a735777667a7bdde
2018-03-07 13:18:30 +03:00
Leo Yuriev
a63c18261a mdbx-bench: add 'bench-quartet' target. 2017-11-13 20:36:23 +03:00
Leo Yuriev
c72bc2e122 mdbx-bench: add other KV-drivers from ioarena.
Change-Id: I5a68d17d39d97aa18d6415dbd5994f2a34c178b1
2017-10-29 12:33:46 +03:00
Leo Yuriev
03db768830 mdbx-bench: rename log-file instead of remove it in case of error. 2017-10-27 18:26:59 +03:00
Leo Yuriev
f9b1bbe1e3 mdbx-bench: minors for calling ioarena. 2017-10-27 00:25:51 +03:00
Leo Yuriev
276e3578da mdbx: fix tutorial/sample-mdbx.c
Fix/refine b0dc98bec0281cc0987253d9e498cdb117a80100

Change-Id: Ie5b1cf9453261c5e1cdfc4880ce9dafdcc4545f7
2017-08-16 09:29:30 +03:00
dreamsxin
b0dc98bec0 mdbx: add tutorial/sample-mdbx.c and drop obsolete sample-mdb.txt.
Also this is a testcase for https://github.com/leo-yuriev/libmdbx/issues/11.

Change-Id: I95c876b1120c1479b2e740b43f6c60e2ac8b33c1
2017-08-16 09:15:46 +03:00
Leo Yuriev
be5bbea281 mdbx: more update links after move the repo.
Change-Id: Ifdcfd23c78e1c843a93e9b41cd024b0ff9f866be
2017-08-12 11:19:03 +03:00
Leo Yuriev
1bd57f089c libmdbx-make: oops, remote utf-bom for old make.
Change-Id: I011b96090ba55013f13319ef2e213a5418627030
2017-07-26 12:54:01 +03:00
Leo Yuriev
8652d54b44 mdbx-makefile: add overrideable TESTLOG.
Change-Id: I168109be3a2534fe85c606051cd76f29c3087c25
2017-07-26 12:29:23 +03:00
Leo Yuriev
e2d770c629 mdbx: fix title in the Makefile (minor).
Change-Id: I8c77b226f55044c67b3a591da5257bf3886c00b0
2017-07-21 17:07:26 +03:00
Leo Yuriev
294a53663c mdbx-make: add 'all' as a prereq of the 'check' target. 2017-07-12 02:21:50 +03:00
Leo Yuriev
90d33a12e8 mdbx-make: add '-Wno-constant-logical-operand' for CLANG. 2017-07-12 02:21:50 +03:00
Leo Yuriev
bfa8e439ba mdbx: use GNU C11 by default. 2017-06-24 19:34:29 +03:00
Leo Yuriev
151d4540de mdbx: refine internal constant (use UINT32_C, etc minors).
Change-Id: I0f994ee75b5aa1494fcc8ca42a46120865676e25
2017-06-21 01:39:53 +03:00
Leo Yuriev
b038767a18 mdbx: add 'mdbx_chk' to Makefile's 'check' target. 2017-05-28 17:02:19 +03:00
Leo Yuriev
924e81ed92 mdbx: refine includes, drop midl.h and mdbx_osal.h 2017-05-24 17:05:59 +03:00
Leo Yuriev
06de7a5155 mdbx: rename the rest MDBX_xyz. 2017-05-24 02:24:38 +03:00
Leo Yuriev
62ebc59330 mdbx: rework version info (stub for now). 2017-05-24 02:17:10 +03:00
Leo Yuriev
0c9832fc28 ci: add TESTDB into Makefile. 2017-05-23 16:00:49 +03:00
Leo Yuriev
6d7bfeb87a mdbx: add 'pipefail' to makefile's check target. 2017-05-17 20:32:22 +03:00
Leo Yuriev
66d842c23b ci: provide test.log 2017-04-24 21:14:24 +03:00
Leo Yuriev
2e54210e79 mdbx: add mdbx_osal.h with platform-like err codes. 2017-04-24 16:15:01 +03:00
Leo Yuriev
f3e31a74ee test: jitter testcase (squashed major refine). 2017-04-23 19:16:21 +03:00
Leo Yuriev
4fb2bd3a07 mdbx: refine Makefile. 2017-04-11 19:09:32 +03:00
Leo Yuriev
a3644aa6d0 mdbx: new testset (initial, stub).
Initial stub for https://github.com/ReOpen/libmdbx/issues/8
2017-04-10 23:20:22 +03:00
Leo Yuriev
e9ea16a54e mdbx: adds test7 by Klaus Malorny <klaus.malorny@knipp.de> 2017-03-29 00:53:39 +03:00
Leo Yuriev
0f49ed6e53 mdbx: big-bang (initial).
- OS Abstraction Layer;
 - Windows Support.
 - preparation for more changes.

Change-Id: I53772eda9091ba361cbc9a28656190ea0d4c5cee
2017-03-29 00:53:39 +03:00
Leo Yuriev
95e606606a mdbx: subdirs.
Change-Id: Iea70b29ed39f55ee363729300f6ce54127b4e880
2017-03-16 18:04:56 +03:00
Leo Yuriev
2dc3e1ee5f mdbx: reformat and some cleanup (1/3 for rebirth). 2017-02-21 23:13:03 +03:00
Leo Yuriev
488ee06595 mdbx: adds -ffunction-sections for CFLAGS.
Change-Id: I38e24e9424b75424ff12e57f3906282338a95989
2017-01-08 21:47:26 +03:00
Leo Yuriev
478b7f00d9 mdbx: refine make ci target.
Change-Id: I4b50ded5cf4b03b7a10951e7d7ae2e08fd05d81b
2017-01-07 23:21:53 +03:00
Leonid Yuriev
f42b6a982a mdbx: enable C99. 2017-01-04 20:09:31 +03:00
Leo Yuriev
2500c766b7 mdbx: fix CC and XCFLAGS in 'ci' make-target rules.
Change-Id: I5a658fedd4e5a51c298a0b76e709b1f9cd28a261
2016-08-25 21:09:06 +03:00
Leo Yuriev
8a721f7fef mdbx: fix 'clean' make-target typo.
Change-Id: Ief422bd4ce3fa8800ad0f64702e93391cac5aa94
2016-08-25 21:03:39 +03:00
Leo Yuriev
fed33a943e mdbx: adds Makefile deps from mdbx.c
Fix commit 9407621eba08ff339b21de75b8d229788370e7d8

Change-Id: I16dd4e2d6b3343f0827d7af13a93193ffc22c426
2016-08-23 15:00:58 +03:00
Leo Yuriev
ef30101347 mdbx: make ci-target without NDEBUG and with MDB_DEBUG=2.
Change-Id: I1745ee8beb2a77512d2821248c71ee0ff9653eb7
2016-08-18 17:09:09 +03:00
Leo Yuriev
9407621eba mdbx: allow CC=xyz for ci-target rules.
Change-Id: Ie5ae783ffde8293b1c6b5c1cfe90f98d829d91ae
2016-08-04 10:44:39 +03:00
Leo Yuriev
2c0f99f940 mdbx: refine makefile ci-target.
Change-Id: I48fce22ca32e45edbc519750cca50d361283f53d
2016-06-09 09:00:40 +03:00
Leo Yuriev
0e90ea1d8d mdbx: separate MDBX's features.
Change-Id: I1964ee5d8b8e5fca170b8e955bfc1a6efe25f6c5
2016-06-09 08:54:46 +03:00
Leo Yuriev
0688461bc4 mdbx: CI makefile target for fast checking.
Change-Id: Ie00a3d8d6a44a19a4afe0c369a661a2d3ad60127
2016-06-09 04:19:01 +03:00
Leo Yuriev
4cbbb64e21 mdbx: ban the compilers older than GCC 4.2 or incompatible with it.
Change-Id: I30cfc04b086116652b3c40d76e1def8428b0dcd7
2016-06-06 01:46:21 +03:00
Leo Yuriev
ba943fcff2 mdbx: refine & clarify Makefile.
Change-Id: I4e5b388c65872d4cd413d0ff30f232ed0ad2112d
2016-06-01 01:58:23 +03:00