mirror of
https://github.com/masonr/yet-another-bench-script.git
synced 2026-01-01 08:56:17 +00:00
Modify fio build process to use EXTLIBS
Updated build-fio.yml to include EXTLIBS for make.
This commit is contained in:
5
.github/workflows/build-fio.yml
vendored
5
.github/workflows/build-fio.yml
vendored
@@ -102,10 +102,9 @@ jobs:
|
|||||||
curl -L -4 --retry 5 --retry-delay 2 --connect-timeout 15 "https://github.com/axboe/fio/archive/\$VERSION.tar.gz" -o "fio.tar.gz"
|
curl -L -4 --retry 5 --retry-delay 2 --connect-timeout 15 "https://github.com/axboe/fio/archive/\$VERSION.tar.gz" -o "fio.tar.gz"
|
||||||
tar xf fio.tar.gz
|
tar xf fio.tar.gz
|
||||||
cd fio*
|
cd fio*
|
||||||
CC=/root/\$CROSS-cross/bin/\$CROSS-gcc ./configure --disable-native --build-static
|
|
||||||
CFLAGS+=' -include linux/falloc.h'
|
CFLAGS+=' -include linux/falloc.h'
|
||||||
LDFLAGS+=' -latomic'
|
CC=/root/\$CROSS-cross/bin/\$CROSS-gcc ./configure --disable-native --build-static
|
||||||
make
|
make EXTLIBS+=' -latomic'
|
||||||
|
|
||||||
# verify no external shared library links
|
# verify no external shared library links
|
||||||
libcheck fio
|
libcheck fio
|
||||||
|
|||||||
Reference in New Issue
Block a user