2
0
mirror of https://github.com/vasi/pixz synced 2024-10-30 15:21:41 +00:00
Commit Graph

23 Commits

Author SHA1 Message Date
Dave Vasilevsky
d0e61be329 escape newline 2024-03-07 03:56:25 -05:00
Dave Vasilevsky
7ed15497be check for seekability on win 2023-12-04 03:12:33 -05:00
Dave Vasilevsky
446087ed7a use binary mode for win files 2023-12-04 01:45:13 -05:00
Dave Vasilevsky
cb961a54b0 detect windows cpus 2023-11-30 19:22:04 -05:00
Wessel Dankers
6a9443d955
Only use available CPUs
Not all online CPUs may be available for the current process,
especially when CPU affinity is involved. In such cases too many
threads will be created, which will unnecessarily compete for CPU
time.

Use sched_getaffinity() (if available) to determine the correct
number of threads to create.
2022-10-30 18:06:51 +01:00
Fabrice Fontaine
4ddfdca841 configure.ac: replace AC_CHECK_FILE
AC_CHECK_FILE can't be used when cross-compiling so replace it by a
simple test -f

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
2020-10-12 22:42:23 +02:00
Dave Vasilevsky
573e4a8d2c release 1.0.7 2020-07-26 16:34:00 -04:00
Dave Vasilevsky
29e57ec102 Make building clean on linux, use config.h 2020-04-25 19:41:03 -04:00
Khem Raj
a224836798 configure: Detect headers before using them
Current logic does not work when system does not have
sys/endian.h, since it tried to reuse the cached results
from first try of detecting htole64 in sys/endian.h which is
'no' and hence the second try to look into endian.h also
comes out negative.

So we check for header and then run the test for symbols
and these symbols are not standard and we need to define _GNU_SOURCE
for it to work, this issue is exposed by systems using musl e.g.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2016-03-22 07:47:45 +00:00
Christian Krause
936d8068ae option to not build man page
fixes #56
2015-12-26 14:36:17 +01:00
Christian Krause
e044a6d041 release version 1.0.6 2015-11-05 22:59:56 +01:00
Christian Krause
8879834e8a release version 1.0.5 2015-09-21 12:56:35 +02:00
Christian Krause
5d831e6d1b autoconf checks for htole64 and le64toh
- addresses #52
2015-09-20 21:49:33 +02:00
Christian Krause
8d318b90fc release version 1.0.4 2015-09-18 20:46:56 +02:00
Christian Krause
ebebf82439 include man page in release tarball
- adds man page to `EXTRA_DIST`
- `configure` checks for `a2x` only if the man page does not exist (poor
  mans way of checking if we build from git or release tarball)
- fixes #50
2015-09-18 18:56:47 +02:00
Christian Krause
d1bfc20d51 release version 1.0.3 2015-09-07 19:08:45 +02:00
Christian Krause
e5ba30f9c0 creates output file with permissions of input file
- also some more detailed error messages, some duplication, though,
  maybe clean up later
- fixes #15
2015-08-19 15:54:48 +02:00
Christian Krause
0c933db8a8 testing framework and first test 2015-08-08 12:30:49 +02:00
Christian Krause
5c730afe65 travis, try container 2015-08-08 12:03:02 +02:00
Christian Krause
0a01496af5 travis, fix configure.ac 2015-08-08 11:54:13 +02:00
Christian Krause
5c7e823146 travis, fix configure.ac 2015-08-08 11:49:50 +02:00
Christian Krause
36c74f7e90 downgrade autoconf version requirement to allow travis to build 2015-08-08 11:44:59 +02:00
Christian Krause
bc9a3b8d5a complete autotools build
- `__APPLE__` vs `__OS2__` - does this actually work? Would some please test on apple and give feedback?
- pthread via `AX_PTHREAD`
- version via `PACKAGE_VERSION` in `config.h`
- large file support via `AC_SYS_LARGEFILE`
2015-08-07 11:33:37 +02:00