Yann Collet
7887022e5d
Merge pull request #1510 from ds-sloth/respect-global-pic
...
CMakeLists.txt: respect global CMAKE_POSITION_INDEPENDENT_CODE flag
2024-11-05 10:59:46 -08:00
Yann Collet
c505a48525
Merge pull request #1537 from lz4/dependabot/github_actions/actions/setup-python-5.3.0
...
Bump actions/setup-python from 5.2.0 to 5.3.0
2024-10-28 16:16:19 -07:00
dependabot[bot]
7f51552ca4
Bump actions/setup-python from 5.2.0 to 5.3.0
...
Bumps [actions/setup-python](https://github.com/actions/setup-python ) from 5.2.0 to 5.3.0.
- [Release notes](https://github.com/actions/setup-python/releases )
- [Commits](f677139bbe...0b93645e9f
)
---
updated-dependencies:
- dependency-name: actions/setup-python
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-10-28 18:57:35 +00:00
Yann Collet
389c153911
Merge pull request #1538 from lz4/dependabot/github_actions/actions/checkout-4.2.2
...
Bump actions/checkout from 4.2.1 to 4.2.2
2024-10-28 11:48:45 -07:00
dependabot[bot]
5994fdab5c
Bump actions/checkout from 4.2.1 to 4.2.2
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 4.2.1 to 4.2.2.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](eef61447b9...11bd71901b
)
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-10-28 06:43:42 +00:00
Yann Collet
d9c01a3d49
Merge pull request #1531 from lz4/dependabot/github_actions/actions/upload-artifact-4.4.3
...
Bump actions/upload-artifact from 4.4.0 to 4.4.3
2024-10-15 09:36:14 -07:00
Yann Collet
3a90748da5
Merge pull request #1533 from lz4/dependabot/github_actions/actions/checkout-4.2.1
...
Bump actions/checkout from 4.2.0 to 4.2.1
2024-10-14 18:41:36 -07:00
dependabot[bot]
48f8fe1636
Bump actions/checkout from 4.2.0 to 4.2.1
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 4.2.0 to 4.2.1.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](d632683dd7...eef61447b9
)
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-10-14 06:38:49 +00:00
dependabot[bot]
15833a8260
Bump actions/upload-artifact from 4.4.0 to 4.4.3
...
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact ) from 4.4.0 to 4.4.3.
- [Release notes](https://github.com/actions/upload-artifact/releases )
- [Commits](50769540e7...b4b15b8c7c
)
---
updated-dependencies:
- dependency-name: actions/upload-artifact
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-10-14 06:38:39 +00:00
Yann Collet
c612292343
Merge pull request #1524 from bgilbert/freestanding
...
build/meson: force `LZ4_DEBUG=0` for `tests/freestanding`
2024-10-06 14:37:03 -07:00
Yann Collet
b33d5e8e2e
Merge pull request #1522 from bgilbert/meson
...
build/meson: avoid passing long options to `ln`
2024-10-06 12:11:29 -07:00
Yann Collet
dc29c67e98
Merge pull request #1523 from bgilbert/uname
...
build: use `uname -m` to detect processor
2024-10-06 11:05:03 -07:00
Benjamin Gilbert
b8f1cc1f07
build/meson: force LZ4_DEBUG=0 for tests/freestanding
...
Match the Makefile, which never sets LZ4_DEBUG for this test. If
LZ4_DEBUG is non-zero, lib/lz4.c #includes <assert.h>, the musl version of
which has a conflicting definition for __assert_fail:
https://www.openwall.com/lists/musl/2019/03/04/6
Fixes build failure:
../../../tests/freestanding.c:173:6: error: conflicting types for '__assert_fail'; have 'void(const char *, const char *, unsigned int, const char *)'
173 | void __assert_fail(const char * assertion, const char * file, unsigned int line, const char * function) {
| ^~~~~~~~~~~~~
In file included from ../../../tests/../lib/lz4.c:270,
from ../../../tests/freestanding.c:49:
/usr/include/assert.h:19:16: note: previous declaration of '__assert_fail' with type 'void(const char *, const char *, int, const char *)'
19 | _Noreturn void __assert_fail (const char *, const char *, int, const char *);
| ^~~~~~~~~~~~~
2024-10-06 04:11:36 -07:00
Benjamin Gilbert
bc8003bc64
build: use uname -m to detect processor
...
Ubuntu patches uname -p to return the processor type:
https://git.launchpad.net/ubuntu/+source/coreutils/tree/debian/patches/80_fedora_sysinfo.patch?h=ubuntu/oracular
and Fedora also did before Fedora 38:
cd953e11dd
but in general, uname -p returns "unknown". Use uname -m instead.
Fixes build error:
/usr/bin/ld: /tmp/ccgv9E4e.o: in function `_start':
freestanding.c:(.text+0x6255a): multiple definition of `_start'; /usr/lib/gcc/x86_64-redhat-linux/14/../../../../lib64/crt1.o:(.text+0x0): first defined here
collect2: error: ld returned 1 exit status
2024-10-06 03:44:41 -07:00
Benjamin Gilbert
6d17921245
build/meson: avoid passing long options to ln
...
On macOS, ln only supports short options.
2024-10-06 03:18:27 -07:00
Benjamin Gilbert
ac3e03c55c
build/meson: update directory path in README
2024-10-06 03:15:38 -07:00
Yann Collet
c470f4dae6
Merge pull request #1499 from lz4/dependabot/github_actions/actions/upload-artifact-4.4.0
...
Bump actions/upload-artifact from 4.3.6 to 4.4.0
2024-10-04 09:43:38 -07:00
Yann Collet
c11bf7733b
Merge pull request #1497 from rpurdie/dev
...
lib/Makefile: Fix static library reproducibility
2024-10-01 09:15:55 -07:00
Yann Collet
54f253c1da
Merge pull request #1500 from lz4/dependabot/github_actions/actions/setup-python-5.2.0
...
Bump actions/setup-python from 5.1.1 to 5.2.0
2024-10-01 08:10:01 -07:00
Yann Collet
def5c3bd0e
Merge pull request #1506 from lz4/clevel_doc
...
update -H documentation regarding compression levels
2024-10-01 06:46:35 -07:00
dependabot[bot]
c14d595b3a
Bump actions/setup-python from 5.1.1 to 5.2.0
...
Bumps [actions/setup-python](https://github.com/actions/setup-python ) from 5.1.1 to 5.2.0.
- [Release notes](https://github.com/actions/setup-python/releases )
- [Commits](39cd14951b...f677139bbe
)
---
updated-dependencies:
- dependency-name: actions/setup-python
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-10-01 06:19:15 +00:00
Yann Collet
824f7a7ad0
Merge pull request #1508 from lz4/fix_tname
...
minor: fix test name
2024-09-30 23:12:03 -07:00
Yann Collet
1d99913f5e
Merge pull request #1518 from lz4/dependabot/github_actions/actions/checkout-4.2.0
...
Bump actions/checkout from 4.1.7 to 4.2.0
2024-09-30 23:01:03 -07:00
Yann Collet
c5bec79b69
Merge pull request #1520 from dearblue/freebsd-14.1
...
Update FreeBSD VM image to 14.1
2024-09-30 21:15:26 -07:00
dependabot[bot]
42f0995cd5
Bump actions/checkout from 4.1.7 to 4.2.0
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 4.1.7 to 4.2.0.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](692973e3d9...d632683dd7
)
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-10-01 03:40:51 +00:00
Yann Collet
0b33a695e6
Merge pull request #1521 from lz4/fix_vs2022
...
Fix vs2022
2024-09-30 20:32:46 -07:00
Yann Collet
696aeb1449
fix vs2022 in github actions CI
2024-09-30 17:43:59 -07:00
Yann Collet
5e29e3cb6d
switch win32 test to debug
...
in the hope that optimization errors will not be there.
2024-09-30 17:04:43 -07:00
Yann Collet
032029ccdd
enable vs2019 in github actions
...
see if it works better than current vs2022.
2024-09-30 16:59:59 -07:00
dearblue
4101102391
Update FreeBSD VM image to 14.1
...
FreeBSD 14.0 will reach the end of life on 2024-09-30.
The updated 14.1 is scheduled to end-of-life on 2025-03-31.
ref. https://www.freebsd.org/releases/14.2R/schedule/
2024-09-30 23:24:24 +09:00
ds-sloth
0e44420380
CMakeLists.txt: use CMAKE_POSITION_INDEPENDENT_CODE to set default only
2024-09-16 19:21:35 -04:00
ds-sloth
80d4c6215a
CMakeLists.txt: respect global CMAKE_POSITION_INDEPENDENT_CODE flag
2024-09-11 21:37:35 -04:00
Yann Collet
452f35c3c0
minor: fix test name
...
obvious insertion mishap
2024-09-07 15:50:10 -07:00
Yann Collet
217bdb2f2f
update -H documentation regarding compression levels
2024-09-04 11:03:28 -07:00
dependabot[bot]
1a744ea740
Bump actions/upload-artifact from 4.3.6 to 4.4.0
...
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact ) from 4.3.6 to 4.4.0.
- [Release notes](https://github.com/actions/upload-artifact/releases )
- [Commits](834a144ee9...50769540e7
)
---
updated-dependencies:
- dependency-name: actions/upload-artifact
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-09-02 06:47:28 +00:00
Richard Purdie
e0b1747860
lib/Makefile: Fix static library reproducibility
...
The static library contents varies depending of the order of the object
files on disk meaning it isn't reproducible.
To avoid this, use the SRCFILES values which are already sorted, mapped
to the object names instead.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-29 11:01:11 +01:00
Yann Collet
e0781fbe4b
Merge pull request #1493 from lz4/dependabot/github_actions/github/codeql-action-3.26.2
...
Bump github/codeql-action from 3.25.12 to 3.26.2
2024-08-19 09:34:06 -07:00
dependabot[bot]
fdfa68c752
Bump github/codeql-action from 3.25.12 to 3.26.2
...
Bumps [github/codeql-action](https://github.com/github/codeql-action ) from 3.25.12 to 3.26.2.
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](4fa2a79536...429e197704
)
---
updated-dependencies:
- dependency-name: github/codeql-action
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-08-19 06:51:15 +00:00
Yann Collet
cde811e3ef
Merge pull request #1491 from lz4/dependabot/github_actions/actions/upload-artifact-4.3.6
...
Bump actions/upload-artifact from 4.3.5 to 4.3.6
2024-08-12 09:29:11 -07:00
dependabot[bot]
776a8fcd7a
Bump actions/upload-artifact from 4.3.5 to 4.3.6
...
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact ) from 4.3.5 to 4.3.6.
- [Release notes](https://github.com/actions/upload-artifact/releases )
- [Commits](89ef406dd8...834a144ee9
)
---
updated-dependencies:
- dependency-name: actions/upload-artifact
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-08-12 06:19:47 +00:00
Yann Collet
208b2c7d58
Merge pull request #1488 from lz4/dependabot/github_actions/actions/upload-artifact-4.3.5
...
Bump actions/upload-artifact from 4.3.4 to 4.3.5
2024-08-07 09:45:03 -07:00
dependabot[bot]
f6370cf1b3
Bump actions/upload-artifact from 4.3.4 to 4.3.5
...
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact ) from 4.3.4 to 4.3.5.
- [Release notes](https://github.com/actions/upload-artifact/releases )
- [Commits](0b2256b8c0...89ef406dd8
)
---
updated-dependencies:
- dependency-name: actions/upload-artifact
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-08-05 06:08:38 +00:00
Yann Collet
45fda541f0
Merge pull request #1485 from grobian/meson-no-stdc99
...
meson: do not force c99 mode
2024-08-03 23:05:47 -07:00
Yann Collet
d35f779858
Merge pull request #1487 from lz4/better_ptime
...
slighly better cpu time measurement for Windows
2024-08-03 10:44:56 -07:00
Yann Collet
6410f177c6
slighly better cpu time measurement for Windows
...
correctly skips the initialization part of the programs,
so that it's now on par with posix's clock().
In the future, would allow to measure cpu time between arbitrary points in the program execution, though for the time being, it's used for full session.
2024-08-03 09:51:55 -07:00
Yann Collet
7e79c1da1f
Merge pull request #1486 from lz4/win_ptime
...
fix process time counter on Windows for very large files
2024-08-03 00:21:34 -07:00
Yann Collet
f7e65802dc
fix process time counter on Windows for very large files
2024-08-02 23:39:45 -07:00
Yann Collet
3d946c68aa
Merge pull request #1479 from heitbaum/cmake
...
add back lz4c target but default to OFF
2024-07-30 13:10:42 -07:00
Yann Collet
1c0a090eef
Merge pull request #1481 from lz4/doc_T
...
-h only documents -T# when multithreading is enabled
2024-07-30 13:10:26 -07:00
Yann Collet
e8ca3bac3d
Merge pull request #1482 from lz4/dependabot/github_actions/ossf/scorecard-action-2.4.0
...
Bump ossf/scorecard-action from 2.3.3 to 2.4.0
2024-07-30 13:09:46 -07:00