File tree 1 file changed +3
-7
lines changed
1 file changed +3
-7
lines changed Original file line number Diff line number Diff line change 56
56
- powershell : Write-Host "##vso[task.prependpath]$env:CONDA\Scripts"
57
57
displayName : Add conda to PATH
58
58
59
- # cmake 3.28.3 failed to find protobuf installed from conda-forge
60
- # https://gitlab.kitware.com/cmake/cmake/-/issues/25704
61
- - script : |
62
- choco install cmake --version 3.27.9 -y
63
- cmake --version
64
- displayName: Install specific version of CMake and check version
65
-
66
59
- script : |
67
60
conda create --yes --quiet --name py$(python.version) python=$(python.version)
68
61
if '$(protobuf_type)' == 'External' (
72
65
)
73
66
displayName: Create Anaconda environment
74
67
68
+ - powershell : echo "##vso[task.setvariable variable=CMAKE_PREFIX_PATH]$env:CONDA/envs/py$(python.version)/Library"
69
+ displayName : Set CMAKE_PREFIX_PATH
70
+
75
71
- script : |
76
72
call activate py$(python.version)
77
73
python -m pip install --upgrade pip
You can’t perform that action at this time.
0 commit comments