Commit graph

144 commits

Author SHA1 Message Date
Andrea Mazzoleni
81995ccc8d Use eaccess() instead of access() 2026-05-21 16:08:03 +02:00
Andrea Mazzoleni
b51376e527 Add sys/mount.h for Alpine to find BLKGETSIZE64
Some checks are pending
Build / build-mac (push) Waiting to run
Build / build-linux (push) Waiting to run
Build / build-win (push) Waiting to run
CodeQL Advanced / Analyze (c-cpp) (push) Waiting to run
CodeQL Advanced / Analyze (actions) (push) Waiting to run
2026-03-31 12:48:03 +02:00
Andrea Mazzoleni
bfc3508375 Add Arch .pkg 2026-03-09 23:31:41 +01:00
Andrea Mazzoleni
b511ae8ad7 Add Windows resource
Some checks are pending
Build / build-mac (push) Waiting to run
Build / build-linux (push) Waiting to run
Build / build-win (push) Waiting to run
CodeQL Advanced / Analyze (c-cpp) (push) Waiting to run
CodeQL Advanced / Analyze (actions) (push) Waiting to run
2026-03-04 16:09:20 +01:00
Andrea Mazzoleni
c3531616ee Make slackware dist package
Some checks are pending
Build / build-mac (push) Waiting to run
Build / build-linux (push) Waiting to run
Build / build-win (push) Waiting to run
CodeQL Advanced / Analyze (c-cpp) (push) Waiting to run
CodeQL Advanced / Analyze (actions) (push) Waiting to run
2026-02-25 13:47:52 +01:00
Andrea Mazzoleni
41e67f8beb Use dots in version
Some checks are pending
Build / build-mac (push) Waiting to run
Build / build-linux (push) Waiting to run
Build / build-win (push) Waiting to run
CodeQL Advanced / Analyze (c-cpp) (push) Waiting to run
CodeQL Advanced / Analyze (actions) (push) Waiting to run
2026-02-24 18:28:34 +01:00
Andrea Mazzoleni
ecb32f8c03 Update build scripts 2026-02-17 02:02:48 +01:00
Andrea Mazzoleni
fb2a9cbf00 Small cleanup in configure.ac 2026-02-08 15:26:30 +01:00
Andrea Mazzoleni
9f14dd94e5 Add support for ** in the patterns
Some checks failed
Build / build-mac (push) Has been cancelled
Build / build-linux (push) Has been cancelled
Build / build-win (push) Has been cancelled
CodeQL / Analyze (push) Has been cancelled
2026-01-11 15:48:36 +01:00
Andrea Mazzoleni
990c349397 Remove some compiler options intended to improve the stacktrace
They may affect the performance negatively.
2026-01-11 12:01:12 +01:00
Andrea Mazzoleni
3678474074 When spinning down sync only the related disks 2026-01-04 18:01:19 +01:00
Andrea Mazzoleni
a652eedb3c Use the https site in the documentation 2025-10-27 22:50:25 +01:00
Andrea Mazzoleni
c1e00bf97a Add valgrind and ubsan suppressions 2025-10-27 18:39:58 +01:00
Andrea Mazzoleni
15a5fac6e9 Switch to SDE64 2025-03-29 16:51:26 +01:00
Andrea Mazzoleni
389b9aa2cb Remove the obsolete AC_HEADER_TIME from configure.ac 2025-03-13 15:56:18 +01:00
Nasado
3c87474aa2 Use volume UUIDs on macOS 2025-02-13 11:21:26 +01:00
Andrea Mazzoleni
d7e78e9141 Switch to wine64 for testing 2025-01-23 20:32:26 +01:00
Andrea Mazzoleni
986e16b4e8 Fix build issue with GLIBC 2.36
The sys/mount.h and linux/mount.h (included by linux/fs.h) are incompatible
in glibc 2.36 as both declare fsconfig_command.
Anyway, sys/mount.h is needed only in darwin for statfs and we can avoid to
include it in linux.
2022-08-17 17:50:40 +02:00
Andrea Mazzoleni
7948d3d3de Disable annoying warning from gcc 10 2021-12-08 15:48:25 +01:00
Andrea Mazzoleni
666937f0b4 Remove the default -march=native 2020-05-26 12:48:56 +02:00
Andrea Mazzoleni
5bac3d64a6 Fix build errors due new gcc 10 default for -fno-common 2020-05-18 15:28:55 +02:00
Andrea Mazzoleni
8e3a8ca710 Add -march=native in the default build
This should improve performance.
2020-04-24 21:02:47 +02:00
Andrea Mazzoleni
37b0064d60 Remove a build warning about major/minor defined in sysmacros.h
The new glibc 2.26 shows a warning if the code uses major/minor
from sys/types.h. Unfortunalte the autoconf macro used do not trigger
sysmacros.h inclusion because major/minor are already defined in sys/types.h.
2018-11-12 21:27:34 +01:00
Andrea Mazzoleni
57a1df44a4 Add support for sanitizers 2017-10-27 22:43:56 +02:00
Andrea Mazzoleni
cbfa908d31 Configure the SDE emulator for 64 bit 2017-10-12 23:16:59 +02:00
Andrea Mazzoleni
17bec43be2 Set time of pool links
This avoid index refresh from various applications.
2017-05-01 16:07:04 +02:00
Andrea Mazzoleni
d1aea8adfc If -pthread is not supported, use -D_REENTRANT 2017-02-25 23:07:22 +01:00
Andrea Mazzoleni
04dfeea107 Tentative fix for major/minor missing 2017-01-04 00:44:20 +01:00
Andrea Mazzoleni
75068962d0 Add build script for Tea-CI 2016-11-15 18:33:46 +01:00
Andrea Mazzoleni
31a8dc9a13 Comply wih the autoconf manual about SYSCONFDIR
The manual says to allow to configure the dirs when calling
make, meaning that we cannot expand them in configure.ac.
Note that we use additional quoting to allow dirs with spaces
in the gcc command line.
This is done for the Window port of SnapRAID.
2016-11-07 19:11:32 +01:00
James Sanderson
ee1aa840f1 Respect sysconfdir for configuration file location
The sysconfdir is used if it exists, otherwise it fallbacks
to the previous default /etc.
2016-11-06 22:12:49 +01:00
Andrea Mazzoleni
dd32095970 Avoid clang to report unused options as warning
Otherwise this conflicts with the -Werror flag
2016-11-06 17:00:17 +01:00
Andrea Mazzoleni
236e2953ce Build on Travis with warning as error 2016-11-06 16:18:47 +01:00
Andrea Mazzoleni
21241c5078 Preliminary advise support 2016-05-15 14:50:59 +02:00
Andrea Mazzoleni
984ea5a329 Log info about the filesystem used 2016-01-09 17:19:43 +01:00
Andrea Mazzoleni
9430106c71 Allow to disable inline assembly from configure
This is required for the -fsanitize options that don't
support inline assembly statements.
2016-01-09 11:19:52 +01:00
Andrea Mazzoleni
f93b1845f5 Add support for various sanitizers 2016-01-09 11:19:52 +01:00
Andrea Mazzoleni
18cc80bd7e Now pread and pwrite use is required for multithread
We need to support concurrent access at the same file handle
from multiple threads, and they cannot share the same file pointer.
2016-01-09 10:25:56 +01:00
Andrea Mazzoleni
458611540d Make the use of libblkid optional in configuration 2016-01-02 15:14:46 +01:00
Andrea Mazzoleni
646bd52668 Use fair scheduling in helgrind and drd 2016-01-02 12:25:37 +01:00
Andrea Mazzoleni
06e0954d5e Add version support also at the source distribution 2015-12-19 10:07:20 +01:00
Andrea Mazzoleni
db679dc276 Add -d option to makedist.sh to generate a DEBUG disttribution 2015-12-16 23:35:27 +01:00
Andrea Mazzoleni
5541f8d5e6 Add UUID reading support using libblkid
This fixes the Btrfs case where the root UUIDs are not
present in the /dev/disk/by-uuid directory.
2015-12-10 22:51:19 +01:00
Andrea Mazzoleni
f71ddbb3fd Add backtrace support for internal errors 2015-12-04 22:02:31 +01:00
Andrea Mazzoleni
7414b0af19 Remove the 'v' prefix from the version string 2015-11-24 19:46:46 +01:00
Andrea Mazzoleni
1f2c0fcc22 Get version from the git revision
This ensures to properly differntiate all the beta releases.
2015-11-24 19:34:21 +01:00
Andrea Mazzoleni
8a8a3557e9 Change to version 9.1 2015-11-14 17:01:25 +01:00
Andrea Mazzoleni
405a3648e0 Add helgrind and drd checkers 2015-10-30 22:32:49 +01:00
Andrea Mazzoleni
104c47d106 Add a proper signal handling
The most common signals are now intercepted with SA_RESTART
to allow a clean interruption.
2015-10-26 19:32:41 +01:00
Andrea Mazzoleni
1cdb3a3693 Remove the -Wpadded warning
With some compiler versions is too verbose as
it reports also the padding at the end of structs,
that often is required.
2015-08-31 22:16:06 +02:00