From c712a944a15c0550736be90bd954f5f09cc98ee4 Mon Sep 17 00:00:00 2001 From: "alexey.lysiuk" Date: Thu, 14 Mar 2024 15:16:31 +0200 Subject: [PATCH] aedi: bump oldest supported os version for x64 to 10.15 moltenvk 1.2.8 cannot be built for 10.13 because of glslang dependency on filesystem from c++ standard library --- aedi/target/library_tier1.py | 8 ++++---- aedi/utility.py | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/aedi/target/library_tier1.py b/aedi/target/library_tier1.py index 5daecc3e..ab9402a1 100644 --- a/aedi/target/library_tier1.py +++ b/aedi/target/library_tier1.py @@ -213,8 +213,8 @@ def __init__(self, name='moltenvk'): def prepare_source(self, state: BuildState): state.download_source( - 'https://github.com/KhronosGroup/MoltenVK/archive/refs/tags/v1.2.7.tar.gz', - '3166edcfdca886b4be1a24a3c140f11f9a9e8e49878ea999e3580dfbf9fe4bec') + 'https://github.com/KhronosGroup/MoltenVK/archive/refs/tags/v1.2.8.tar.gz', + '85beaf8abfcc54d9da0ff0257ae311abd9e7aa96e53da37e1c37d6bc04ac83cd') def initialize(self, state: BuildState): super().initialize(state) @@ -279,7 +279,7 @@ def _make_dylib(self, state: BuildState): '-dynamiclib', '-arch', 'arm64', '-arch', 'x86_64', - '-mmacosx-version-min=10.13', + '-mmacosx-version-min=10.15', '-compatibility_version', '1.0.0', '-current_version', '1.0.0', '-install_name', '@rpath/libMoltenVK.dylib', @@ -454,7 +454,7 @@ def detect(self, state: BuildState) -> bool: def configure(self, state: BuildState): hosts = { - 'x86_64': 'x86_64-darwin17-gcc', + 'x86_64': 'x86_64-darwin19-gcc', 'arm64': 'arm64-darwin20-gcc', } diff --git a/aedi/utility.py b/aedi/utility.py index 53c56cd6..8aa7be98 100644 --- a/aedi/utility.py +++ b/aedi/utility.py @@ -25,7 +25,7 @@ from .packaging.version import Version as StrictVersion # Minimum OS versions -OS_VERSION_X86_64 = StrictVersion('10.13') +OS_VERSION_X86_64 = StrictVersion('10.15') OS_VERSION_ARM64 = StrictVersion('11.0')