Skip to content

Commit

Permalink
Use cmake 3.31.2 on linux, win; Python 3.12 on windows (#1429)
Browse files Browse the repository at this point in the history
  • Loading branch information
dneto0 authored Dec 13, 2024
1 parent 878c944 commit 004cc73
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 9 deletions.
2 changes: 1 addition & 1 deletion kokoro/scripts/linux/build-amber.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ set -e
set -x

# Common tools.
using cmake-3.26.3
using cmake-3.31.2
using gcc-10
using ninja-1.10.0
using python-3.12
Expand Down
2 changes: 1 addition & 1 deletion kokoro/scripts/linux/build-clvk.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ set -e
set -x

# Common tools.
using cmake-3.26.3
using cmake-3.31.2
using gcc-10
using ninja-1.10.0
using python-3.12
Expand Down
2 changes: 1 addition & 1 deletion kokoro/scripts/linux/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ set -e
set -x

# Common tools.
using cmake-3.26.3
using cmake-3.31.2
using gcc-13
using ninja-1.10.0
using python-3.12
Expand Down
11 changes: 5 additions & 6 deletions kokoro/scripts/windows/build.bat
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,11 @@ set SRC=%cd%\github\clspv
set BUILD_TYPE=%1
set VS_VERSION=%2

:: Define the Python version and download URL
set "pythonVersion=3.8.10"
:: Download Python installer
wget "https://www.python.org/ftp/python/%pythonVersion%/python-%pythonVersion%-amd64.exe" -O "%TEMP%\python-installer.exe"
:: Install Python silently
"%TEMP%\python-installer.exe" /quiet InstallAllUsers=1 PrependPath=1
:: Use updated CMake
set PATH=c:\cmake-3.31.2\bin;%PATH%

:: Use updated Python
set PATH=c:\Python312;%PATH%

cd %SRC%
python utils/fetch_sources.py
Expand Down

0 comments on commit 004cc73

Please sign in to comment.