mirror of
https://github.com/kdave/btrfs-progs
synced 2024-12-18 04:15:32 +00:00
btrfs-progs: ci: build static binaries on oldest supported x86-64 architecture
As mentioned on https://wiki.tnonline.net/w/Btrfs/Statically_built_btrfs-progs the static binaries could be built on with flags so they're available on most x86-64 models (intel, AMD). Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
parent
4167c86123
commit
4c24d928d4
4
.github/workflows/artifacts-static-build.yml
vendored
4
.github/workflows/artifacts-static-build.yml
vendored
@ -18,9 +18,9 @@ jobs:
|
|||||||
- name: Configure
|
- name: Configure
|
||||||
run: ./autogen.sh && ./configure
|
run: ./autogen.sh && ./configure
|
||||||
- name: Make static
|
- name: Make static
|
||||||
run: make V=1 static
|
run: make V=1 EXTRA_CFLAGS='-march=x86-64' static
|
||||||
- name: Make box.static
|
- name: Make box.static
|
||||||
run: make V=1 btrfs.box.static
|
run: make V=1 EXTRA_CFLAGS='-march=x86-64' btrfs.box.static
|
||||||
- name: Strip binaries
|
- name: Strip binaries
|
||||||
run: strip btrfs.static btrfs.box.static
|
run: strip btrfs.static btrfs.box.static
|
||||||
- name: Calculate SHA256 checksums
|
- name: Calculate SHA256 checksums
|
||||||
|
3
INSTALL
3
INSTALL
@ -92,6 +92,9 @@ of the libraries.
|
|||||||
The resulting binaries have the '.static' suffix, the intermediate object
|
The resulting binaries have the '.static' suffix, the intermediate object
|
||||||
files do not conflict with the normal (dynamic) build.
|
files do not conflict with the normal (dynamic) build.
|
||||||
|
|
||||||
|
There are pre-built static binaries for download available at the latest
|
||||||
|
release (under Assets), https://github.com/kdave/btrfs-progs/releases .
|
||||||
|
|
||||||
|
|
||||||
All-in-one binary (busybox style)
|
All-in-one binary (busybox style)
|
||||||
---------------------------------
|
---------------------------------
|
||||||
|
Loading…
Reference in New Issue
Block a user