5 Commits

Author SHA1 Message Date
Mason Rowe
edfdf8e511 Modify fio build process to use EXTLIBS
Updated build-fio.yml to include EXTLIBS for make.
2025-12-29 02:28:19 -05:00
Mason Rowe
8eac4a01f4 Remove duplicate checkout steps in build-fio.yml
Removed redundant checkout steps from the workflow.
2025-12-29 01:58:19 -05:00
Mason Rowe
0e07af99a0 Add LDFLAGS for atomic library during build 2025-12-29 01:56:09 -05:00
Mason Rowe
069c70708d Modify build-fio.yml to include CFLAGS
Add CFLAGS to include linux/falloc.h during build.
2025-12-29 01:49:04 -05:00
Mason Rowe
f994de59e9 Simplify directory change command for fio build 2025-12-29 01:27:35 -05:00
2 changed files with 8 additions and 13 deletions

View File

@@ -10,9 +10,6 @@ jobs:
latest-version: ${{ steps.get-version.outputs.version }}
should-build: ${{ steps.check-version.outputs.should-build }}
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Get latest fio release
id: get-version
run: |
@@ -58,9 +55,6 @@ jobs:
host: arm-linux-gnueabihf
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
@@ -107,9 +101,10 @@ jobs:
cd ~
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
cd fio-\${VERSION#fio-}*
cd fio*
CFLAGS+=' -include linux/falloc.h'
CC=/root/\$CROSS-cross/bin/\$CROSS-gcc ./configure --disable-native --build-static
make
make EXTLIBS+=' -latomic'
# verify no external shared library links
libcheck fio

10
yabs.sh
View File

@@ -1,7 +1,7 @@
#!/bin/bash
# Yet Another Bench Script by Mason Rowe
# Initial Oct 2019; Last update May 2026
# Initial Oct 2019; Last update Apr 2025
# Disclaimer: This project is a work in progress. Any errors or suggestions should be
# relayed to me via the GitHub project page linked below.
@@ -12,7 +12,7 @@
# performance via fio. The script is designed to not require any dependencies
# - either compiled or installed - nor admin privileges to run.
YABS_VERSION="v2026-05-11"
YABS_VERSION="v2025-04-20"
echo -e '# ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## #'
echo -e '# Yet-Another-Bench-Script #'
@@ -972,8 +972,8 @@ function launch_geekbench {
|| GB_URL="https://cdn.geekbench.com/Geekbench-5.5.1-Linux.tar.gz"
GB_CMD="geekbench5"
else # Geekbench v6
[[ $ARCH = *aarch64* || $ARCH = *arm* ]] && GB_URL="https://cdn.geekbench.com/Geekbench-6.7.1-LinuxARMPreview.tar.gz" \
|| GB_URL="https://cdn.geekbench.com/Geekbench-6.7.1-Linux.tar.gz"
[[ $ARCH = *aarch64* || $ARCH = *arm* ]] && GB_URL="https://cdn.geekbench.com/Geekbench-6.5.0-LinuxARMPreview.tar.gz" \
|| GB_URL="https://cdn.geekbench.com/Geekbench-6.5.0-Linux.tar.gz"
GB_CMD="geekbench6"
fi
GB_RUN="True"
@@ -1037,7 +1037,7 @@ function launch_geekbench {
printf "%-15s | %-30s\n" "Full Test" "$GEEKBENCH_URL"
if [[ -n $JSON ]]; then
JSON_RESULT+='{"version":'$VERSION',"single":'${GEEKBENCH_SCORES_SINGLE:-null}',"multi":'${GEEKBENCH_SCORES_MULTI:-null}
JSON_RESULT+='{"version":'$VERSION',"single":'$GEEKBENCH_SCORES_SINGLE',"multi":'$GEEKBENCH_SCORES_MULTI
JSON_RESULT+=',"url":"'$GEEKBENCH_URL'"},'
fi