diff --git a/.github/workflows/vm1-ci.yml b/.github/workflows/vm1-ci.yml index c859953b7a..03e7221e1b 100644 --- a/.github/workflows/vm1-ci.yml +++ b/.github/workflows/vm1-ci.yml @@ -113,6 +113,7 @@ jobs: export HB_CCACHE=ccache export N_CPUS="\$($_cpus)" + [ -n "$N_CPUS" ] || export N_CPUS=3 EOENV - name: Generate build script @@ -125,11 +126,10 @@ jobs: ccache --set-config=compression=true ccache -p - ${{matrix.compiler}} --version - echo ::group::Build Harbour set -ex . ./.bashrc + ${{matrix.compiler}} --version gmake -j$N_CPUS \ HB_BUILD_CONTRIBS=no \ HB_COMPILER=${{matrix.compiler}} diff --git a/ChangeLog.txt b/ChangeLog.txt index 83d21d88a3..8906a7dc37 100644 --- a/ChangeLog.txt +++ b/ChangeLog.txt @@ -7,6 +7,19 @@ Entries may not always be in chronological/commit order. See license at the end of file. */ +2025-01-26 09:37 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) + * .github/workflows/vm1-ci.yml + * reenabled freebsd builds + * be sure N_CPUS is always set + * show compiler version before build + + * contrib/3rd/sqlite3/sqlite3.hbp + * enable -Wno-unknown-warning-option only for CLANG - older GCC versions + does not like it + * use -Wno-stringop-overread instead of -Wno-error=stringop-overread, + Unlike Wno-error=* the unknown -Wno-* options are ignored by most of + old GCC compilers + 2025-01-25 23:25 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * .github/workflows/vm1-ci.yml * add path to sysctl call diff --git a/contrib/3rd/sqlite3/sqlite3.hbp b/contrib/3rd/sqlite3/sqlite3.hbp index 9cbed0a42f..e1a4d7ea27 100644 --- a/contrib/3rd/sqlite3/sqlite3.hbp +++ b/contrib/3rd/sqlite3/sqlite3.hbp @@ -43,8 +43,8 @@ -c=gnu90{allgcc&HB_COMP_VER='45'} # GCC 14 reports strlen reading 1 or more bytes from a region of size 0 warning --cflag=-Wno-error=stringop-overread{allgcc&HB_BUILD_TEST='strict'} --cflag=-Wno-unknown-warning-option{allgcc&HB_BUILD_TEST='strict'} +-cflag=-Wno-stringop-overread{allgcc&HB_BUILD_TEST='strict'} +-cflag=-Wno-unknown-warning-option{clang&HB_BUILD_TEST='strict'} sqlite3.c