23 Commits

Author SHA1 Message Date
Leonid Yuriev
500fed496c mdbx-cmake: add ENABLE_UBSAN option.
Change-Id: Ic4333f28aa6494be24c7be1f396bd069dcb9bb5d
2020-07-03 01:55:42 +03:00
Leonid Yuriev
95199c754a mdbx-cmake: fixes for old C/C++ compilers and/or CMake. 2020-06-26 03:28:15 +03:00
Leonid Yuriev
63bf01a60a mdbx-cmake: fix for e2k-lcc 1.24
Change-Id: I5827d4a2526886ae37ad6fe342d5955594081b84
2020-06-22 03:18:54 +03:00
Leonid Yuriev
4884cd2bcd mdbx: tally revision number since the last release, not from an epoch.
Change-Id: I623b2a57bfe4e1a242d1d68350001ebadef3d634
2020-06-13 03:06:20 +03:00
Leonid Yuriev
cda94ee61d mdbx-cmake: update/sync compiler module (clang LTO, exceptions for MSVC).
Change-Id: Ic132d4cb4095a141436599047b80f8a0b8ac4f6b
2020-06-13 03:06:20 +03:00
Leonid Yuriev
fdc92b136f mdbx-cmake: avoid using check_cxx_source_compiles().
More for https://github.com/erthink/libmdbx/issues/111

Change-Id: Icbe1fb3c4ed8e22da7fa7e95d2c8f2c302e77d82
2020-06-12 12:05:27 +03:00
Leonid Yuriev
753cd8fec1 mdbx-cmake: fix using check_cxx_compiler_flag() when C++ compiler don't used/loaded.
Fixes https://github.com/erthink/libmdbx/issues/111

Change-Id: I53cfff2627469e857dcdfc303de4bb1c8ba4e82b
2020-06-12 11:56:38 +03:00
Leonid Yuriev
b67f2da821 mdbx-cmake: fix/rework LTO-support for clang.
Change-Id: I04340e98c92b4006d78fcd58a657841287271a70
2020-05-09 02:48:41 +03:00
Leonid Yuriev
1cab079d6f mdbx-cmake: one more fix fetch_version macro.
Change-Id: Ic1cd4d2005149305ce320171f13edf3416e0b8f3
2020-05-09 02:46:35 +03:00
Leonid Yuriev
20d74dad23 mdbx-cmake: fix fetch_version macro.
Change-Id: Ib1afab6f069da4400cd1103c964c23cc0a0ea03d
2020-05-01 21:20:21 +03:00
Leonid Yuriev
5edf164e8b mdbx-cmake: update utils.
Change-Id: I272e6eb623251733af60e93907d23d5f3d6f7f25
2020-04-30 16:59:52 +03:00
Leonid Yuriev
5618ef55fa mdbx-cmake: remove dup lines for Elbrus.
Change-Id: I3bd69a6eba14b691a874712cbea696d08cd68459
2020-04-30 16:59:52 +03:00
Leonid Yuriev
971f924c44 mdbx-build: rearrange source files, rework CMakeLists.txt and refine GNUMakefile (squashed).
Change-Id: Id73d346695011dab2f670bb9e6293a1e5a1835ca
2020-04-17 00:37:57 +03:00
Leonid Yuriev
19454f26e6 mdbx-cmake: more for iOS.
Change-Id: Iebc6fafe23b3c39462bbf497e60148daffd519a9
2020-04-08 22:02:17 +03:00
Leonid Yuriev
d752de0ee0 mdbx-cmake: sync cmake-compiler module with erthink upstream.
Change-Id: I4eeeb2bc2800bfb44c915533843c59438733ff4b
2020-04-07 22:58:55 +03:00
Leo Yuriev
4bd194f4c1 mdbx-cmake: fix CMAKE_RANLIB variable name typo.
Change-Id: Iafefa3b921ad356bc87c7c39161e78fd71580fe8
2020-02-17 22:55:36 +03:00
Leo Yuriev
8a6de15346 mdbx-cmake: drop openmp detection and flags.
Change-Id: Iead999c356f683df36183df729dbc0a94e32c420
2020-02-17 22:55:36 +03:00
Leonid Yuriev
7c894f0542 mdbx: HNY!
Change-Id: Idbd21263408f87ac2715675c9f7ccc6c44d41c9a
2020-01-21 00:17:55 +03:00
Leonid Yuriev
42f8154c39 mdbx-cmake: rename MDBX_USE_VALGRIND option.
Change-Id: I985befb6c60e8a8c8db1b5d9dd085eb4645b038b
2019-10-25 08:10:15 +03:00
Leonid Yuriev
d24df41a67 mdbx-cmake: enable MSVC 2015. 2019-10-24 11:59:02 +03:00
Leonid Yuriev
e7095e9ada mdbx: remove UTF8-BOM (preparation for 'make dist').
Change-Id: I2d0ccc9f7bbed6d57b2fe6ef156f33531a4eeb69
2019-09-10 02:18:50 +03:00
Leonid Yuriev
967900e2e9 mdbx-cmake: refine/fix MDBX_BUILD_TARGET for Windows. 2019-09-03 19:13:26 +03:00
Leonid Yuriev
5a87faf9af mdbx-build: start using CMake (incomplete; no properly installation for now). 2019-09-03 02:33:57 +03:00