Skip to content

Commit

Permalink
aedi: bump oldest supported os version for x64 to 10.15
Browse files Browse the repository at this point in the history
moltenvk 1.2.8 cannot be built for 10.13 because of glslang dependency on filesystem from c++ standard library
  • Loading branch information
alexey-lysiuk committed Mar 14, 2024
1 parent ea5fc49 commit c712a94
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions aedi/target/library_tier1.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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',
Expand Down Expand Up @@ -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',
}

Expand Down
2 changes: 1 addition & 1 deletion aedi/utility.py
Original file line number Diff line number Diff line change
Expand Up @@ -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')


Expand Down

0 comments on commit c712a94

Please sign in to comment.