all: minor updates

This commit is contained in:
Markus F.X.J. Oberhumer 2022-12-21 22:09:05 +01:00
parent fefce0d5c4
commit 8e85680eb4
3 changed files with 17 additions and 3 deletions

View File

@ -23,11 +23,11 @@ jobs:
issues: write
pull-requests: write
steps:
- uses: actions/stale@v6
- uses: actions/stale@v7
with:
operations-per-run: 300
exempt-all-milestones: true
exempt-issue-labels: 'blocker,enhancement'
exempt-issue-labels: 'blocker,enhancement,regression'
days-before-stale: 60
days-before-close: 30
stale-issue-message: 'This issue is stale because it has been open 60 days with no activity. Please remove the stale label or add a comment or this issue will be closed in 30 days.'

View File

@ -83,6 +83,18 @@ build/release-gcc-m64: PHONY; $(call run_config_and_build,$@,Release)
build/%-gcc-m64: export CC = gcc -m64
build/%-gcc-m64: export CXX = g++ -m64
# cross compiler: Linux glibc aarch64-linux-gnu
build/debug-cross-linux-aarch64: PHONY ; $(call run_config_and_build,$@,Debug)
build/release-cross-linux-aarch64: PHONY ; $(call run_config_and_build,$@,Release)
build/%-cross-linux-aarch64: export CC = aarch64-linux-gnu-gcc
build/%-cross-linux-aarch64: export CXX = aarch64-linux-gnu-g++
# cross compiler: Linux glibc arm-linux-gnueabihf
build/debug-cross-linux-arm: PHONY ; $(call run_config_and_build,$@,Debug)
build/release-cross-linux-arm: PHONY ; $(call run_config_and_build,$@,Release)
build/%-cross-linux-arm: export CC = arm-linux-gnueabihf-gcc
build/%-cross-linux-arm: export CXX = arm-linux-gnueabihf-g++ -Wno-psabi
# cross compiler: Windows win32 mingw32
build/debug-cross-mingw32: PHONY ; $(call run_config_and_build,$@,Debug)
build/release-cross-mingw32: PHONY ; $(call run_config_and_build,$@,Release)

View File

@ -30,10 +30,12 @@ function run_config_and_build {
# avoid link errors with Windows cross compilers; need to install some more support libs??
i686-w64-mingw32) cmake_config_flags=-DUPX_CONFIG_DISABLE_SANITIZE=ON ;;
x86_64-w64-mingw32) cmake_config_flags=-DUPX_CONFIG_DISABLE_SANITIZE=ON ;;
# avoid warnings about arm libstdc++ ABI change in gcc-7
arm-linux-*) CXX="$CXX -Wno-psabi" ;;
esac
# for all build types
for build_type in Debug Release; do
bdir=build/cross/$toolchain/${build_type,,}
bdir=build/cross-compile-upx-with-podman/$toolchain/${build_type,,}
mkdir -p $bdir
# run_config
if [[ ! -f $bdir/CMakeCache.txt ]]; then