Skip to content

Commit

Permalink
Appveyor: Remove clcache
Browse files Browse the repository at this point in the history
  • Loading branch information
Kojoley committed Feb 7, 2024
1 parent 008109a commit f39edf2
Showing 1 changed file with 0 additions and 20 deletions.
20 changes: 0 additions & 20 deletions .appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,21 +11,12 @@ clone_depth: 50
environment:
global:
PROJECT: libs\spirit
APPVEYOR_SAVE_CACHE_ON_ERROR: true
CLCACHE_HARDLINK: 1
APPVEYOR_CACHE_ENTRY_ZIP_ARGS: "-t7z -m0=lzma2 -mx=3 -md=32m -ms=on"
CLCACHE_CACHESIZE: 2123123123 # Appveyor allows us to store 1Gb of 7zipped cache but
# object files compress ratio is 20:1 in our case

matrix:
- { APPVEYOR_BUILD_WORKER_IMAGE: 'Visual Studio 2019', ADDRMDL: 64, TOOLSET: 'msvc-14.2' }
- { APPVEYOR_BUILD_WORKER_IMAGE: 'Visual Studio 2017', ADDRMDL: 64, TOOLSET: 'msvc-14.1' }
- { APPVEYOR_BUILD_WORKER_IMAGE: 'Visual Studio 2015', ADDRMDL: 64, TOOLSET: 'msvc-14.0' }

cache:
- '%USERPROFILE%\clcache'
- '%LOCALAPPDATA%\pip\Cache'

init:
- set BOOST_ROOT=%APPVEYOR_BUILD_FOLDER%\..\boost
- set BOOST_BUILD_PATH=%BOOST_ROOT%\..\boost-build
Expand All @@ -42,10 +33,6 @@ before_build:
import feature os regex toolset pch ;
# clcache
local toolset = [ regex.split [ os.environ TOOLSET ] "-" ] ;
using $(toolset[1]) : $(toolset[2-]:J="-") : : <compiler>clcache ;
# A subfeature that tells Spirit tests to use PCH
feature.subfeature pch on : version : spirit : optional propagated incidental ;
Expand Down Expand Up @@ -78,13 +65,6 @@ before_build:
- move %APPVEYOR_BUILD_FOLDER% %PROJECT%
- mklink /J %APPVEYOR_BUILD_FOLDER% %PROJECT%

# Install clcache
- pip install clcache
- clcache -M %CLCACHE_CACHESIZE%
# Run clcache-server
- set CLCACHE_SERVER=1
- ps: Start-Process clcache-server.exe -PassThru

build_script:
- bootstrap.bat --with-toolset=msvc

Expand Down

0 comments on commit f39edf2

Please sign in to comment.