335815d25a
libcryfs: Genesis
2022-06-26 13:03:57 +02:00
Antonio Rojas
c314a3cb70
Fix OpenMP support ( #415 )
...
Prevent crypto++ from building the library via an intermediate object target. This is not necessary as we are only building the static library, and breaks passing the build flags that enable openMP support.
2022-02-21 21:18:21 -08:00
Sebastian Messmer
e27190e05c
Update to CryptoPP 8.6. This fixes a rare bug where CryptoPP 8.5 encrypts data wrongly, see https://github.com/weidai11/cryptopp/issues/1069
2021-12-09 12:20:41 +01:00
Sebastian Messmer
38575f258a
In CMakeLists.txt, rename BUILD_TESTING to CRYPTOPP_BUILD_TESTING so it doesn't clash with our BUILD_TESTING
2020-06-28 17:20:02 -07:00
Sebastian Messmer
6164453c77
Use interface libraries for vendor libraries
2019-10-19 18:35:03 -07:00
Sebastian Messmer
6042d4ba6b
Build with OpenMP on Windows
2019-01-21 11:47:16 -08:00
Sebastian Messmer
490abd5f31
Update to crypto++ 8.0. This fixes an bug where non-AESNI CPUs on Windows decrypted incorrectly
2019-01-12 16:36:23 -08:00
Sebastian Messmer
dedfe71297
Fix passing vars to cryptopp
2018-11-10 17:07:38 -08:00
Sebastian Messmer
08ed966808
OSX: If OpenMP is installed with homebrew or macports, auto-detect its setup
2018-10-15 18:02:52 +02:00
Sebastian Messmer
b66b7bfeb1
Fix OpenMP when installed from Homebrew
2018-10-01 01:31:08 -07:00
Sebastian Messmer
6b739bb7c9
Fix openmp for Ubuntu
2018-09-30 14:18:24 -07:00
Sebastian Messmer
4911fcd4f4
Use CMake targets provided by FindOpenMP instead of manually setting flags if possible
2018-09-28 12:04:50 -07:00
Sebastian Messmer
f90fb5a001
Fix debug mode detection for multi-mode builds like MSVC
2018-09-26 23:13:53 -07:00
Sebastian Messmer
2786558210
Pass through CRYPTOPP_DEBUG and OpenMP_CXX_FLAGS correctly to both, the cryptopp library and the code depending on it
2018-09-26 00:55:12 -07:00
Sebastian Messmer
e132ce4ca8
Disable OpenMP on MSVC because it doesn't support OpenMP 4.0 which is needed by crypto++ and then crashes the build.
2018-09-26 00:21:21 -07:00
Sebastian Messmer
3c10e095d8
Fix OpenMP for old CMake on Linux
2018-09-25 00:41:03 -07:00
Sebastian Messmer
a10dd04dea
Fix wrong handling of OpenMP on osx
2018-09-23 22:22:47 -07:00
Sebastian Messmer
ddc95903fe
Pass through debug flag to cryptopp
2018-07-08 20:07:49 -07:00
Sebastian Messmer
c0aca65948
Fix CI
2018-05-21 08:09:37 -07:00
Sebastian Messmer
493f1bbc1c
Warn if OpenMP is disabled
2018-05-21 00:27:49 -07:00
Sebastian Messmer
d656aac59e
fix cmake
2018-05-20 19:21:59 -07:00
Sebastian Messmer
635a6c7bcd
Fix OpenMP for osx
2018-05-20 19:21:59 -07:00
Sebastian Messmer
a087f7dc8a
Enforce OpenMP build by default, but allow disabling it with a cmake flag
2018-05-20 19:21:59 -07:00
Sebastian Messmer
72f123e38e
Simplify and fix nits in cmake
2018-05-20 19:21:59 -07:00
Sebastian Messmer
ca68102a50
Prefer repository-cryptopp to system installed one
2018-05-20 19:21:59 -07:00
Sebastian Messmer
9c98c5d788
Build cryptopp with OpenMP
2018-05-20 19:21:09 -07:00
Sebastian Messmer
6dbee297ce
Use cryptopp from vendor/ instead of system
2018-05-20 19:20:45 -07:00
Sebastian Messmer
47ae3047e4
Add cryptopp library to vendor/
2018-05-20 19:20:45 -07:00