Skip to content

Commit

Permalink
aedi: update glslang to 15.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
alexey-lysiuk committed Dec 16, 2024
1 parent 4a4b703 commit 703b01e
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
5 changes: 3 additions & 2 deletions aedi/target/tool_tier2.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,8 +134,9 @@ def __init__(self, name='glslang'):

def prepare_source(self, state: BuildState):
state.download_source(
'https://github.com/KhronosGroup/glslang/archive/refs/tags/15.0.0.tar.gz',
'c31c8c2e89af907507c0631273989526ee7d5cdf7df95ececd628fd7b811e064')
'https://github.com/KhronosGroup/glslang/archive/refs/tags/15.1.0.tar.gz',
'4bdcd8cdb330313f0d4deed7be527b0ac1c115ff272e492853a6e98add61b4bc',
patches='glslang-old-cmake')

def configure(self, state: BuildState):
args = ('python3', 'update_glslang_sources.py')
Expand Down
11 changes: 11 additions & 0 deletions patch/glslang-old-cmake.diff
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -30,7 +30,7 @@
# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
# ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
# POSSIBILITY OF SUCH DAMAGE.
-cmake_minimum_required(VERSION 3.27)
+cmake_minimum_required(VERSION 3.17)
project(glslang)

if (CMAKE_VERSION VERSION_LESS "3.21")

0 comments on commit 703b01e

Please sign in to comment.