aedi: remove version check from glslang target

This commit is contained in:
alexey.lysiuk 2024-03-14 17:45:42 +02:00
parent 77702b955a
commit 6a6fbe9538

View file

@ -97,8 +97,6 @@ class EricWToolsTarget(base.CMakeStaticDependencyTarget):
class GlslangTarget(base.CMakeStaticDependencyTarget): class GlslangTarget(base.CMakeStaticDependencyTarget):
# Build with --os-version-x64=10.15 command line option
def __init__(self, name='glslang'): def __init__(self, name='glslang'):
super().__init__(name) super().__init__(name)
@ -111,9 +109,7 @@ class GlslangTarget(base.CMakeStaticDependencyTarget):
args = ('python3', 'update_glslang_sources.py') args = ('python3', 'update_glslang_sources.py')
subprocess.run(args, check=True, cwd=state.source, env=state.environment) subprocess.run(args, check=True, cwd=state.source, env=state.environment)
state.validate_minimum_version('10.15') # SPIRV-Tools uses <filesystem>
state.options['ENABLE_CTEST'] = 'NO' state.options['ENABLE_CTEST'] = 'NO'
super().configure(state) super().configure(state)
def post_build(self, state: BuildState): def post_build(self, state: BuildState):