From ca536a8cf17961ec90dd4189d013001a38fe0251 Mon Sep 17 00:00:00 2001 From: Ralph Sennhauser Date: Sat, 6 Jun 2026 07:53:45 +0200 Subject: [PATCH] Bump premake to 5.0.0-dev (2026-07-03) This adds support for the compilcommands action, which allows to improve the cppcheck workflow and is a requirement for include-what-you-use. Also disable unused dependencies like is done for macOS. Signed-off-by: Ralph Sennhauser --- build/premake/premake5.lua | 4 ++++ libraries/source/premake-core/build.sh | 25 +++++++++++++++++++------ 2 files changed, 23 insertions(+), 6 deletions(-) diff --git a/build/premake/premake5.lua b/build/premake/premake5.lua index 068ea169f2..386a27f1b8 100644 --- a/build/premake/premake5.lua +++ b/build/premake/premake5.lua @@ -182,6 +182,10 @@ targetdir(rootdir.."/binaries/system") libdirs(rootdir.."/binaries/system") location(_OPTIONS["outpath"]) configurations { "Release", "Debug" } +-- for > 5.0.0-beta8 +if defaultconfiguration ~= nil then + defaultconfiguration("Release") +end startproject "pyrogenesis" source_root = rootdir.."/source/" -- default for most projects - overridden by local in others diff --git a/libraries/source/premake-core/build.sh b/libraries/source/premake-core/build.sh index 9963bfb8aa..b86ace276c 100755 --- a/libraries/source/premake-core/build.sh +++ b/libraries/source/premake-core/build.sh @@ -8,13 +8,13 @@ set -e cd "$(dirname "$0")" -PV=5.0.0-beta7 +PV=55fc4b2deac045ca06dc23d98426423356c507c1 LIB_VERSION=${PV}+wfg0 fetch() { curl -fLo "premake-core-${PV}.tar.gz" \ - "https://github.com/premake/premake-core/archive/refs/tags/v${PV}.tar.gz" + "https://github.com/premake/premake-core/archive/${PV}.tar.gz" } echo "Building Premake..." @@ -54,18 +54,31 @@ patch -d "premake-core-${PV}" -p1