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
This commit is contained in:
Przemysław Czerpak
2025-01-26 09:37:35 +01:00
parent 09e7ec96b7
commit a75901b482
3 changed files with 17 additions and 4 deletions

View File

@@ -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}}

View File

@@ -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

View File

@@ -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