Compare commits

...

26 Commits

Author SHA1 Message Date
Matéo Duparc a1c3f814d5
libcryfs: Update to cryfs v0.11.3 2023-02-01 23:39:12 +01:00
Sebastian Messmer 539c0db9b0 Fix CI apt-get timeouts by retrying more often 2022-10-12 11:06:11 -07:00
Sebastian Messmer 33e205f642 It's actually clang 7 not gcc 7 that we need to disable on CI, and we only need to disable it on macos. Linux can still run it. 2022-10-11 21:03:33 -07:00
Sebastian Messmer cbb47f5ded Re-add CI for Linux GCC 7, only remove GCC 7 CI on macos 2022-10-11 20:49:04 -07:00
Sebastian Messmer beadb781aa Remove GCC 7 from CI because the macos CI machines cannot install it anymore 2022-10-11 20:45:39 -07:00
Sebastian Messmer 19598c4539 Clarify fix statement 2022-10-11 18:56:51 -07:00
D Lamb bbc7acc30f minor: shebang python -> python3 (#439)
Co-authored-by: D Lamb <dlamb.gh@mm.st>
2022-10-11 18:56:45 -07:00
Sebastian Messmer c878243074 Mention Apple python fix 2022-10-11 18:54:02 -07:00
Onuralp Sezer 231a60a611 change unversioned python commandline into versioned python3 commandline (#413)
Signed-off-by: Onuralp SEZER <thunderbirdtr@fedoraproject.org>
2022-10-11 18:52:44 -07:00
Sebastian Messmer fd3c54fe69 Mention Apple Silicon build fix 2022-10-11 18:48:17 -07:00
Sebastian Messmer abaa72d39c Fix building on Apple Silicon Macs (see https://github.com/cryfs/homebrew-tap/issues/10 ) 2022-10-11 18:48:12 -07:00
Bernhard Rosenkraenzer ee6250380f Fix build with fmt 9.0 (#433)
* Fix build with fmt 9.0

Co-authored-by: Sebastian Meßmer <smessmer@users.noreply.github.com>
2022-07-22 07:36:34 -05:00
Sebastian Messmer dc330fa22e Mention OpenMP fix 2022-02-21 21:22:55 -08:00
Antonio Rojas 3f50e7d238 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:22:32 -08:00
Sebastian Messmer 0ef2693df6 Mark 0.11.1 as released 2021-12-23 09:06:28 +01:00
Sebastian Messmer fe71144377 Update to DokanY 1.2.2.1001 2021-12-22 22:18:19 +01:00
Sebastian Messmer 26ea5a0209 Fix Subprocess on Windows 2021-12-22 22:12:03 +01:00
Sebastian Messmer b68f1b4b9e Don't run SubprocessTest under TSAN since TSAN deadlocks with atfork handlers 2021-12-13 15:15:30 +01:00
Sebastian Messmer 31c9290487 Fix subprocess call sites 2021-12-12 13:14:05 +01:00
Sebastian Messmer c4bc749fa6 Process I/O needs to use the async API to avoid deadlocks 2021-12-12 13:00:22 +01:00
Sebastian Messmer e524468cc1 Disable tests that are broken on windows 2021-12-11 23:06:22 +01:00
Sebastian Messmer 67bd0ed295 Flush logs in test cases 2021-12-11 12:04:20 +01:00
Sebastian Messmer 69770c77d4 cryfs-unmount correctly unmounts paths that contain spaces 2021-12-10 17:51:52 +01:00
Sebastian Messmer afd6f0d317 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-10 09:10:29 +01:00
Sebastian Messmer 69370a5d15 Fix building of the range-v3 dependency. The conan remote URL for this dependency changed and we have to use the new URL. This broke the homebrew build as well. 2021-12-09 15:12:45 +01:00
Sebastian Messmer cd5121080a Clear conan cache in CI 2021-12-09 15:12:37 +01:00
6 changed files with 30 additions and 14 deletions

View File

@ -1,6 +1,8 @@
Version 0.12.0 (unreleased)
Version 0.11.3
---------------
* Updated to DokanY 1.3.0.1000
* Fixed build issue on systems with libfmt 9.0 (see https://github.com/cryfs/cryfs/issues/432 )
* Fixed build issue on Apple Silicon Macs (see https://github.com/cryfs/homebrew-tap/issues/10 )
* Fixed build issue on systems that only have `python3` but no `python` executable (see https://github.com/cryfs/homebrew-tap/issues/12 )
Version 0.11.2
---------------

View File

@ -190,14 +190,14 @@ int Fuse::readlink(const bf::path &path, char *buf, size_t size) {
int Fuse::mkdir(const bf::path &path, ::mode_t mode) {
ThreadNameForDebugging _threadName("mkdir");
#ifdef FSPP_LOG
LOG(DEBUG, "mkdir({}, {})", path, mode);
LOG(DEBUG, "mkdir({}, {})", path.string(), mode);
#endif
try {
ASSERT(is_valid_fspp_path(path), "has to be an absolute path");
// DokanY seems to call mkdir("/"). Ignore that
if ("/" == path) {
#ifdef FSPP_LOG
LOG(DEBUG, "mkdir({}, {}): ignored", path, mode);
LOG(DEBUG, "mkdir({}, {}): ignored", path.string(), mode);
#endif
return 0;
}
@ -344,7 +344,7 @@ int Fuse::rename(const bf::path &from, const bf::path &to) {
//TODO
int Fuse::link(const bf::path &from, const bf::path &to) {
ThreadNameForDebugging _threadName("link");
LOG(WARN, "NOT IMPLEMENTED: link({}, {})", from, to);
LOG(WARN, "NOT IMPLEMENTED: link({}, {})", from.string(), to.string());
//auto real_from = _impl->RootDir() / from;
//auto real_to = _impl->RootDir() / to;
//int retstat = ::link(real_from.string().c_str(), real_to.string().c_str());

@ -1 +1 @@
Subproject commit 4067aed71278e292d1b78d8a13431f01f80012f1
Subproject commit 53e6c16ea80c7dcb2683fd548e0c7a09ddffbfc1

View File

@ -1146,7 +1146,7 @@ if (${CMAKE_VERSION} VERSION_GREATER "3.1" AND USE_OPENMP)
endif()
endif()
# If OpenMP wasn't found, try if we can find it in the default Homebrew location
# If OpenMP wasn't found, try if we can find it in the default Homebrew location (Intel Macs)
if((NOT OPENMP_FOUND) AND (NOT OPENMP_CXX_FOUND) AND EXISTS "/usr/local/opt/libomp/lib/libomp.dylib")
set(OpenMP_CXX_FLAGS "-Xpreprocessor -fopenmp -I/usr/local/opt/libomp/include")
set(OpenMP_CXX_LIB_NAMES omp)
@ -1154,9 +1154,23 @@ if (${CMAKE_VERSION} VERSION_GREATER "3.1" AND USE_OPENMP)
find_package(OpenMP)
if (OPENMP_FOUND OR OPENMP_CXX_FOUND)
message(STATUS "OpenMP: Found libomp in homebrew default location.")
message(STATUS "OpenMP: Found libomp in homebrew default location for Intel Macs.")
else()
message(FATAL_ERROR "OpenMP: Didn't find libomp. Tried homebrew default location but also didn't find it.")
message(FATAL_ERROR "OpenMP: Didn't find libomp. Tried homebrew default location for Intel Macs but also didn't find it.")
endif()
endif()
# If OpenMP wasn't found, try if we can find it in the default Homebrew location (Apple Silicon Macs)
if((NOT OPENMP_FOUND) AND (NOT OPENMP_CXX_FOUND) AND EXISTS "/opt/homebrew/opt/libomp/lib/libomp.dylib")
set(OpenMP_CXX_FLAGS "-Xpreprocessor -fopenmp -I/opt/homebrew/opt/libomp/include")
set(OpenMP_CXX_LIB_NAMES omp)
set(OpenMP_omp_LIBRARY /opt/homebrew/opt/libomp/lib/libomp.dylib)
find_package(OpenMP)
if (OPENMP_FOUND OR OPENMP_CXX_FOUND)
message(STATUS "OpenMP: Found libomp in homebrew default location for Apple Silicon Macs.")
else()
message(FATAL_ERROR "OpenMP: Didn't find libomp. Tried homebrew default location for Apple Silicon Macs but also didn't find it.")
endif()
endif()

View File

@ -240,12 +240,12 @@ case "$ANDROID_CPU" in
# ANDROID_CPPFLAGS="-D__ANDROID__=${ANDROID_API}"
ANDROID_CFLAGS="-target i686-none-linux-android${ANDROID_API}"
ANDROID_CFLAGS="${ANDROID_CFLAGS} -mssse3 -mfpmath=sse"
ANDROID_CFLAGS="${ANDROID_CFLAGS} -mtune=intel -mssse3 -mfpmath=sse"
ANDROID_CFLAGS="${ANDROID_CFLAGS} -fstack-protector-strong -funwind-tables -fexceptions -frtti"
ANDROID_CFLAGS="${ANDROID_CFLAGS} -fno-addrsig -fno-experimental-isel"
ANDROID_CXXFLAGS="-target i686-none-linux-android${ANDROID_API}"
ANDROID_CXXFLAGS="${ANDROID_CXXFLAGS} -mssse3 -mfpmath=sse"
ANDROID_CXXFLAGS="${ANDROID_CXXFLAGS} -mtune=intel -mssse3 -mfpmath=sse"
ANDROID_CXXFLAGS="${ANDROID_CXXFLAGS} -std=c++11 -stdlib=libc++"
ANDROID_CXXFLAGS="${ANDROID_CXXFLAGS} -fstack-protector-strong -funwind-tables -fexceptions -frtti"
ANDROID_CXXFLAGS="${ANDROID_CXXFLAGS} -fno-addrsig -fno-experimental-isel"
@ -261,12 +261,12 @@ case "$ANDROID_CPU" in
# ANDROID_CPPFLAGS="-D__ANDROID__=${ANDROID_API}"
ANDROID_CFLAGS="-target x86_64-none-linux-android${ANDROID_API}"
ANDROID_CFLAGS="${ANDROID_CFLAGS} -march=x86-64 -msse4.2 -mpopcnt"
ANDROID_CFLAGS="${ANDROID_CFLAGS} -march=x86-64 -msse4.2 -mpopcnt -mtune=intel"
ANDROID_CFLAGS="${ANDROID_CFLAGS} -fstack-protector-strong -funwind-tables -fexceptions -frtti"
ANDROID_CFLAGS="${ANDROID_CFLAGS} -fno-addrsig -fno-experimental-isel"
ANDROID_CXXFLAGS="-target x86_64-none-linux-android${ANDROID_API}"
ANDROID_CXXFLAGS="${ANDROID_CXXFLAGS} -march=x86-64 -msse4.2 -mpopcnt"
ANDROID_CXXFLAGS="${ANDROID_CXXFLAGS} -march=x86-64 -msse4.2 -mpopcnt -mtune=intel"
ANDROID_CXXFLAGS="${ANDROID_CXXFLAGS} -std=c++11 -stdlib=libc++"
ANDROID_CXXFLAGS="${ANDROID_CXXFLAGS} -fstack-protector-strong -funwind-tables -fexceptions -frtti"
ANDROID_CXXFLAGS="${ANDROID_CXXFLAGS} -fno-addrsig -fno-experimental-isel"

2
vendor/spdlog vendored

@ -1 +1 @@
Subproject commit ab7b325906868855c8dc498dcbdf05f37be242c5
Subproject commit 927cc29444a294d76e83dfb898e797dc431ce094