btrfs-progs: tests: drop 32-on-64bit build support

Building 32bit binaries on 64bit hosts is tedious due to all the
required libraries with the right target, also the static versions.
Limit the build only to the native arch.

Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
David Sterba 2022-02-09 18:26:32 +01:00
parent f33c0aea67
commit 43f18c6776

View File

@ -1,6 +1,6 @@
#!/bin/sh #!/bin/sh
# test various compilation options # Test various compilation options:
# - 32bit, 64bit # - native arch
# - dynamic, static # - dynamic, static
# - various configure options # - various configure options
# #
@ -8,7 +8,6 @@
# #
# Requirements for full coverage: # Requirements for full coverage:
# - static version of all libs # - static version of all libs
# - 32bit/64bit libraries, also the static variants
make=make make=make
opts="-j16 $@" opts="-j16 $@"
@ -57,12 +56,6 @@ build_make_targets() {
# defaults, busybox # defaults, busybox
target='btrfs.box btrfs.box.static' target='btrfs.box btrfs.box.static'
buildme buildme
# defaults, 32bit
target="EXTRA_CFLAGS=-m32"
buildme
# defaults, 64bit
target="EXTRA_CFLAGS=-m64"
buildme
# defaults, library # defaults, library
target="library-test" target="library-test"
buildme buildme