Require Python 3
authorAlexander Galazin <alexander.galazin@arm.com>
Tue, 23 Apr 2019 19:09:43 +0000 (21:09 +0200)
committerAlexander Galazin <Alexander.Galazin@arm.com>
Thu, 9 May 2019 15:06:15 +0000 (11:06 -0400)
Require Python 3 as some components used by the CTS already need it.
Update SPIR-V Tools: Fixes build issues on Windows and OpUnreachable validation.

Components: Framework, AOSP, Vulkan, OpenGL

Affects: dEQP-VK.*, builds

VK-GL-CTS issue: 1665
VK-GL-CTS issue: 1627
VK-GL-CTS issue: 1716

Change-Id: I719574b50aa16fdb0d06e85981a029ae8e0c4416

CMakeLists.txt
external/fetch_sources.py
external/openglcts/README.md
external/vulkancts/README.md

index 15c2464..f0985f2 100644 (file)
@@ -4,7 +4,7 @@
 cmake_minimum_required(VERSION 2.8.2)
 
 find_package(Git)
-find_package(PythonInterp 2)
+find_package(PythonInterp 3)
 
 # dEQP Target.
 set(DEQP_TARGET "default" CACHE STRING "dEQP Target (default, android...)")
index 7175cf9..c0fab75 100644 (file)
@@ -315,7 +315,7 @@ PACKAGES = [
        GitRepo(
                "https://github.com/KhronosGroup/SPIRV-Tools.git",
                None,
-               "fcb8453104508b61b67f88ba0cb7c5bfdb49adb7",
+               "d754b70592ca98d0bfcffcd16ec504bdca8513d4",
                "spirv-tools"),
        GitRepo(
                "https://github.com/KhronosGroup/glslang.git",
index ec119b4..6b55d7e 100644 (file)
@@ -320,7 +320,7 @@ as well. See CMake help for more details.
 
 The conformance tests come with native Android support. The following packages
 are needed in order to build an Android binary:
-- Python 2.7.x
+- Python 3.x (for the build related scripts, some other scripts still use Python 2.7.x)
 - Android NDK r17c
 - Android SDK with API 28 packages and tools installed
 - Apache Ant
index 3456c5a..7b691d3 100644 (file)
@@ -15,7 +15,7 @@ Requirements
 The following tools must be installed and present in the PATH variable:
 
  * Git (for checking out sources)
- * Python 2.7.x (all recent versions in 2.x should work, 3.x is not supported)
+ * Python 3.x (for the build related scripts, some other scripts still use Python 2.7.x)
  * CMake 2.8 (3.6 for Android NDK r17+ builds) or newer
 
 ### Win32