Ship 0.8 fog/freistellen and fix Windows CI for friends
Some checks are pending
Windows Release / windows-x86_64 (push) Waiting to run
Some checks are pending
Windows Release / windows-x86_64 (push) Waiting to run
Publish the portable zip to public Forgejo from the private GitHub builder, and force Ninja so MSVC 195 deps build without CMake 4.2.
This commit is contained in:
parent
97b136de3b
commit
1c1d63f376
46 changed files with 1748 additions and 156 deletions
|
|
@ -216,8 +216,34 @@ class ICUConan(ConanFile):
|
|||
if dat_package_file:
|
||||
shutil.copy(str(self.options.dat_package_file), dat_package_file[0])
|
||||
|
||||
# GCC 16 ICEs compiling ICU 77 headers under -std=gnu++23 (enum in uchar.h).
|
||||
# Keep the package usable from a C++23 consumer, but build ICU itself as C++17.
|
||||
if self.settings.os == "Linux":
|
||||
import os as _os
|
||||
for var in ("CXXFLAGS", "CFLAGS"):
|
||||
cur = _os.environ.get(var, "")
|
||||
parts = [p for p in cur.split() if not p.startswith("-std=") and not p.startswith("-O")]
|
||||
if var == "CXXFLAGS":
|
||||
parts.extend(["-std=gnu++17", "-O1"])
|
||||
else:
|
||||
parts.append("-O1")
|
||||
_os.environ[var] = " ".join(parts)
|
||||
|
||||
autotools = Autotools(self)
|
||||
autotools.configure(build_script_folder=os.path.join(self.source_folder, "source"))
|
||||
|
||||
if self.settings.os == "Linux":
|
||||
for root, _, files in os.walk(self.build_folder):
|
||||
for name in files:
|
||||
if name in ("Makefile", "mh-linux") or name.endswith(".mk"):
|
||||
path = os.path.join(root, name)
|
||||
try:
|
||||
replace_in_file(self, path, "-O3", "-O1", strict=False)
|
||||
replace_in_file(self, path, "-std=gnu++23", "-std=gnu++17", strict=False)
|
||||
replace_in_file(self, path, "-std=c++23", "-std=c++17", strict=False)
|
||||
except Exception:
|
||||
pass
|
||||
|
||||
autotools.make()
|
||||
|
||||
@property
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue