Under Windows builds are forced to release mode
base_deps_meta_version was bumped so that the base dependencies archives for CI workflows are recreated (we need only the Windows flavours of the archives updated but such surgical intervention is not supported).
This commit is contained in:
parent
6cb347c576
commit
1c6994546c
|
@ -538,6 +538,9 @@ class MesonBuilder(Builder):
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def build_type(self):
|
def build_type(self):
|
||||||
|
if platform.system() == "Windows":
|
||||||
|
return "release"
|
||||||
|
|
||||||
return "release" if option("make_release") else "debug"
|
return "release" if option("make_release") else "debug"
|
||||||
|
|
||||||
@property
|
@property
|
||||||
|
|
|
@ -20,14 +20,14 @@ class KiwixDesktop(Dependency):
|
||||||
@property
|
@property
|
||||||
def make_targets(self):
|
def make_targets(self):
|
||||||
if platform.system() == "Windows":
|
if platform.system() == "Windows":
|
||||||
yield "release-all" if option("make_release") else "debug-all"
|
yield "release-all"
|
||||||
else:
|
else:
|
||||||
yield from super().make_targets
|
yield from super().make_targets
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def make_install_targets(self):
|
def make_install_targets(self):
|
||||||
if platform.system() == "Windows":
|
if platform.system() == "Windows":
|
||||||
yield "release-install" if option("make_release") else "debug-install"
|
yield "release-install"
|
||||||
else:
|
else:
|
||||||
yield "install"
|
yield "install"
|
||||||
|
|
||||||
|
|
|
@ -33,7 +33,7 @@ release_versions = {
|
||||||
|
|
||||||
# This is the "version" of the whole base_deps_versions dict.
|
# This is the "version" of the whole base_deps_versions dict.
|
||||||
# Change this when you change base_deps_versions.
|
# Change this when you change base_deps_versions.
|
||||||
base_deps_meta_version = "09"
|
base_deps_meta_version = "10"
|
||||||
|
|
||||||
base_deps_versions = {
|
base_deps_versions = {
|
||||||
"zlib": "1.2.12",
|
"zlib": "1.2.12",
|
||||||
|
|
Loading…
Reference in New Issue