Vsevolod Stakhov
8eeeed0da6
[Minor] Various improvements into the toolset detection scripts
2 years ago
Vsevolod Stakhov
9631b8674c
[Minor] Remove useless checks
2 years ago
Vsevolod Stakhov
9be5ac33b5
[Minor] Allow ubsan usage
2 years ago
xtkoba
0d12bff1be
Support i386 with optimizations
2 years ago
Duncan Bellamy
43b6f8aeb9
[Fix] fix static building
2 years ago
Duncan Bellamy
bc9bc87c85
[Minor] FindRagel.cmake - remove cmake min version
As now causes warning and main CMakeLists.txt min version is greater
3 years ago
Vsevolod Stakhov
ab8882972d
[Minor] Always use c++ linker now
3 years ago
Vsevolod Stakhov
9f3b009464
[Minor] Add -m64 option
3 years ago
Vsevolod Stakhov
72bf74c6da
[Minor] Allow to enable libc++ conditionally
3 years ago
Vsevolod Stakhov
8b0c8fd52e
[Minor] Toolset: Use libc++ as libstdc++ is broken on old compilers
3 years ago
Vsevolod Stakhov
7fb1198d95
[Minor] Another ragel fix
3 years ago
Vsevolod Stakhov
19ec44180c
[Minor] Improve ragel support in cmake
3 years ago
Vsevolod Stakhov
6ce835fc7a
[Minor] Allow timestamping of the compilation
3 years ago
Vsevolod Stakhov
9a683152c3
[Project] Allow static libstdc++
3 years ago
Vsevolod Stakhov
1322915c15
[Minor] Make sanitizer optional
3 years ago
Duncan Bellamy
f5a86afd19
[Feature] allow hyperscan for aarch64
3 years ago
Vsevolod Stakhov
8f2ad1d853
[Feature] Support BLIS blas library
3 years ago
Vsevolod Stakhov
54daeb811d
[Rework] Change and improve openblas detection and usage
3 years ago
Vsevolod Stakhov
f031b11ddb
[Minor] Use cblas_saxpy where possible
3 years ago
Vsevolod Stakhov
969e2584db
[Minor] Sigh, another workaround for broken blas
3 years ago
Vsevolod Stakhov
4ac1167612
[Minor] Link lapack as well
3 years ago
Vsevolod Stakhov
1a634c3d51
[Project] Detect memrchr in systems that supports it
3 years ago
Vsevolod Stakhov
4e0274cbc5
[Minor] Replace ADD_DEFINITIONS with ADD_COMPILE_OPTIONS
4 years ago
Vsevolod Stakhov
b2ae647a81
[Minor] Fix clang plugin with asan
4 years ago
Vsevolod Stakhov
4cbb5e934a
[Rework] Remove old FindLua module, disable lua fallback when LuaJIT is enabled
4 years ago
Christian Göttsche
26e2a97b1c
[Minor] enable Wmissing-format-attribute
4 years ago
Christian Göttsche
d6da3282ea
[Minor] Enable missing_noreturn compiler warning
4 years ago
Christian Göttsche
11a64f8b09
[Minor] Print always IPO status
4 years ago
Vsevolod Stakhov
c2351037b5
[Feature] Support multiple base32 alphabets
4 years ago
Vsevolod Stakhov
f5c0d7116e
[Minor] Support gcc static analyzer (from gcc 10)
4 years ago
Vsevolod Stakhov
fd787a9508
[Minor] Slghtly improve cmake reporting + use -O0 with full debug
4 years ago
Vsevolod Stakhov
41e28d1148
[Rework] Further project structure reorganisation
4 years ago
Vsevolod Stakhov
dadb994e8c
[Minor] Remove dwarf-5 as it is not working with rpm
4 years ago
Peter Wu
3daf2762a9
[Minor] CMake: Add ENABLE_LTO option
* The `CMAKE_BUILD_TYPE=None` option is commonly used to respect the
user's optimization flags. Users may be interested in enabling LTO
anyway in that case. Implement this the Debian build.
* Remove typo, the value is called RelWithDebInfo. Enable LTO for this
by default.
4 years ago
Peter Wu
3af38b8006
[Minor] Make ragel-generated files independent of the parent directory
* Use relative paths for `#line` directives to allow reproducible builds
independent of the absolute build directory. For /b/rspamd/src/x.rl
and build dir /b/build, it could result in `../../build/src/x.rl`.
* The `-L` option for `Inhibit writing #line directives` is useless, it
just comments out the line with `/* ... */`, but that means that the
source file is still different.
* Note that ragel only accepts one input file, despite plural `INPUTS`.
4 years ago
Christian Göttsche
25d8df0b73
[Minor] do not pass invalid C warnings to C++ flags
cc1plus: warning: command line option ‘-Wno-pointer-sign’ is valid for C/ObjC but not for C++
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
4 years ago
Christian Göttsche
e98f08c797
[Minor] use modern name -Wextra instead of -W
4 years ago
Christian Göttsche
1a7a4a3d89
[Minor] remove unused examplesdir
4 years ago
Vsevolod Stakhov
7fa1ebd8d6
[Minor] Fix misprint
4 years ago
Vsevolod Stakhov
4c81a52183
[Minor] Remove enforced "-O3" from contrib libraries
4 years ago
Vsevolod Stakhov
92e62855a6
[Minor] Allow hyperscan on i386 platform
Issue: #3195
4 years ago
Vsevolod Stakhov
80a9e13826
[Minor] It seems that -gembed-source is not working at all
4 years ago
Vsevolod Stakhov
d435f7dfe2
[Minor] Fix misprint
4 years ago
Vsevolod Stakhov
151f6d05f0
[Minor] Fix fast math usage
4 years ago
Vsevolod Stakhov
7058766513
[Minor] Improve build flags handling, add fast-math option
4 years ago
Petr Vaněk
2121a001ec
Use CMAKE_CXX_FLAGS_{DEBUG,RELEASE} variable for C++
The CMAKE_CXX_FLAGS_{DEBUG,RELEASE} variable should be used with C++
rather than CMAKE_C_FLAGS_{DEBUG,RELEASE}.
4 years ago
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 years ago
Vsevolod Stakhov
9ab726cd1d
[Minor] Disable jemalloc on sanitized builds
4 years ago
Vsevolod Stakhov
fbd2c0e1e3
[Minor] Try to fix gcc sanitizers
4 years ago
Vsevolod Stakhov
c4f656fb18
[Minor] Fix debian flags
4 years ago