diff options
author | David Neto <dneto@google.com> | 2019-04-12 15:23:19 +0300 |
---|---|---|
committer | Steven Perron <stevenperron@google.com> | 2019-04-12 15:23:19 +0300 |
commit | 07ac7dee5cbdc7c1ac983bb1158987792fac5f8d (patch) | |
tree | 3c07af49afdf78fea3f5862e827053c337daa578 /CMakeLists.txt | |
parent | 98b3f26c2f1fc0633dbbddc71a7e101a3dad8c80 (diff) |
SPIRV-Tools requires python3 (#2510)
Updates:
- CMake configuration
- Kokoro build scripts on Linux and macos (Windows already uses Python 3.6)
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 352447572..abe89d5b3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -178,7 +178,8 @@ if(NOT COMMAND find_host_program) endmacro() endif() -find_host_package(PythonInterp) +# Tests require Python3 +find_host_package(PythonInterp 3 REQUIRED) # Check for symbol exports on Linux. # At the moment, this check will fail on the OSX build machines for the Android NDK. |