Anton Yuzhaninov
4d9846823f
[Minor] Cleanup unused cmake checks
2 vuotta sitten
Petr Vaněk
d37a3764e9
Add SYSTEM_DOCTEST cmake option
This gives packagers option to use system version of doctest rather than
bundled one. It is disabled by default. Additionally, there is no need
to link rspamd-test-cxx with doctest as it is is single header library.
Main reason for this change is that currently bundled version of
doctest-2.4.5 can't compile with glibc-2.34 [1]. However, this issue was
already fixed in upstream doctest-2.4.6 [2] in commit [3]. With this,
packagers can just bump doctest to fixed version.
[1] https://github.com/onqtam/doctest/issues/473
[2] https://github.com/onqtam/doctest/blob/master/CHANGELOG.md#246-2021-03-22
[3] 099d5414e9
2 vuotta sitten
Petr Vaněk
309bb213cf
Add SYSTEM_FMT cmake option
This gives packagers option to use system version of fmt rather than
bundled one. It is disabled by default.
2 vuotta sitten
Vsevolod Stakhov
ebb10e3c0d
[Minor] Update version to 3.1
2 vuotta sitten
Vsevolod Stakhov
d32f3e49e0
[Minor] Update version to 3.0 due to amount of changes
2 vuotta sitten
Duncan Bellamy
f3bdc035d3
[Minor] CMakeLists.txt: add LUA_PATH for run-test
* fixes #3826
2 vuotta sitten
Vsevolod Stakhov
1dfdb2625a
[Minor] Run all unit tests for Rspamd in run-test target
2 vuotta sitten
Duncan Bellamy
7ce6eefb2e
[Feature] CMakeLists.txt: Change check and run-test to use rspamd-test-cxx
* fixes #3807
2 vuotta sitten
Vsevolod Stakhov
eaac9aab15
[Minor] Fix FreeBSD release build with lld/libc++
Issue: #3778
3 vuotta sitten
Duncan Bellamy
ab72e9d492
[Minor] change headers for zstd depending on bundled or system used
follow on patch from #3764
3 vuotta sitten
Vsevolod Stakhov
c3c3914085
[Minor] Try to fix libicu linkage
3 vuotta sitten
Duncan Bellamy
53034c0a7a
[Feature] add SYSTEM_ZSTD cmake option
To use the system zstd instead on the bundled version
3 vuotta sitten
Vsevolod Stakhov
e1d1010aed
[Minor] Always use UTF8 as the system encoding (for libicu)
3 vuotta sitten
Vsevolod Stakhov
2125dc4554
[Minor] Remove legacy iconv stuff
3 vuotta sitten
Vsevolod Stakhov
dfbd181e9c
[Project] Css: Tidy up lambdas
3 vuotta sitten
Vsevolod Stakhov
7f296c74cc
[Project] Add fu2 library to better functions abstractions
3 vuotta sitten
Vsevolod Stakhov
10fb4d1a18
[Project] Css: Move some of the tests to the doctest
3 vuotta sitten
Duncan Bellamy
166c95c115
[Minor] Make "INSTALL GLOB_RECURSE" for conf match conf and inc files
Ignores files left by patch
3 vuotta sitten
Vsevolod Stakhov
57fe176918
[Project] Add doctest unit testing library
3 vuotta sitten
Vsevolod Stakhov
aa53608938
[Project] Add fmt library for simple string ops
3 vuotta sitten
Vsevolod Stakhov
5aa14ef227
[Minor] Check for Lua 5.4
Issue: #3656
3 vuotta sitten
Vsevolod Stakhov
4658a093bf
[Project] Css: Declarations parsing logic skeleton
3 vuotta sitten
Vsevolod Stakhov
7de0d515d1
[Rework] Require proper C++ environment for Rspamd build
3 vuotta sitten
Vsevolod Stakhov
8d7a7668dd
[Minor] Update version to 2.8
3 vuotta sitten
Duncan Bellamy
d7738db697
[Minor] Fix some compiler warnings
3 vuotta sitten
Duncan Bellamy
d39c5f1def
[Minor] Add LIB_SUFFIXES needed to detect lua on alpine linux
3 vuotta sitten
Vsevolod Stakhov
b6607510aa
[Minor] Fix bogus cmake
3 vuotta sitten
Vsevolod Stakhov
7ef42a3cc1
[Minor] Use CONFIGURE_DEPENDS for glob expressions
3 vuotta sitten
Vsevolod Stakhov
ae709edc11
[Minor] Update version to 2.7
3 vuotta sitten
Vsevolod Stakhov
1a634c3d51
[Project] Detect memrchr in systems that supports it
3 vuotta sitten
Vsevolod Stakhov
b488a309f5
[Minor] Add recvmmsg detection
4 vuotta sitten
Vsevolod Stakhov
19b2617fa8
[Rework] Use google-ced instead of libicu chardet as the former sucks
4 vuotta sitten
Vsevolod Stakhov
361cab554a
[Minor] Fix pthreads linking
4 vuotta sitten
Vsevolod Stakhov
634d1be94f
[Minor] Fix luajit search
4 vuotta sitten
Vsevolod Stakhov
4cbb5e934a
[Rework] Remove old FindLua module, disable lua fallback when LuaJIT is enabled
4 vuotta sitten
Vsevolod Stakhov
76a1fb06de
[Minor] Update version to 2.6
4 vuotta sitten
Vsevolod Stakhov
97217d7bfc
[Minor] Update version to 2.5
4 vuotta sitten
Vsevolod Stakhov
b4ce11041f
[Minor] Remove some old unused crap
4 vuotta sitten
Vsevolod Stakhov
963657514d
[Minor] Add explicit checks for FIPS mode presence
4 vuotta sitten
Vsevolod Stakhov
0af58ca53d
[Minor] Update version to 2.4
4 vuotta sitten
Christian Göttsche
1a7a4a3d89
[Minor] remove unused examplesdir
4 vuotta sitten
Petr Vaněk
b8ad68e9e6
Append CXX to the list of needed languages
The replxx is written in C++ and it is enabled by default. We need to
specify this to correctly pass user specific CXXFLAGS.
4 vuotta sitten
Petr Vaněk
bbf8bb172d
cmake: Unify ENABLE_OPENBLAS and ENABLE_BLAS
ENABLE_OPENBLAS is removed because it was not used to check if the
openblas library should be used. The ENABLE_BLAS is moved from
CMakeLists.txt to cmake/Openblas.cmake to have all related variables in
one file and to reduce a complexity of CMakeLists.txt slightly.
4 vuotta sitten
Vsevolod Stakhov
b30c5df0ca
[Minor] Update version to 2.3
4 vuotta sitten
Vsevolod Stakhov
9ab726cd1d
[Minor] Disable jemalloc on sanitized builds
4 vuotta sitten
Vsevolod Stakhov
c3928cf525
[Rework] Further cmake system rework
4 vuotta sitten
Vsevolod Stakhov
7f482c08ce
[Rework] Make cmake structure more modular
4 vuotta sitten
Vsevolod Stakhov
7f62d657ce
[Project] Add fast utf8 validation library
4 vuotta sitten
Vsevolod Stakhov
177d37b1ab
[Minor] Move CPU detection out of the cryptobox module
4 vuotta sitten
Vsevolod Stakhov
c15ca59b25
[Rework] Move cmake modules to a dedicated path
4 vuotta sitten