File tree Expand file tree Collapse file tree 3 files changed +1
-21
lines changed
.pipelines/stages/jobs/steps Expand file tree Collapse file tree 3 files changed +1
-21
lines changed Original file line number Diff line number Diff line change 38
38
--osx_arch arm64 \
39
39
--apple_deploy_target 15.4 \
40
40
--cmake_generator 'Xcode' \
41
- --build_dir build_iphonesimulator \
42
- --use_guidance=false
41
+ --build_dir build_iphonesimulator
Original file line number Diff line number Diff line change @@ -29,18 +29,6 @@ steps:
29
29
echo "build_config=${{ parameters.build_config }}"
30
30
displayName : ' Print Parameters'
31
31
32
- - powershell : |
33
- rustup toolchain install 1.82.0-x86_64-apple-darwin
34
- rustup default 1.82.0-x86_64-apple-darwin
35
-
36
- if ("$(arch)" -eq "arm64") {
37
- rustup target add --toolchain 1.82.0-x86_64-apple-darwin aarch64-apple-darwin
38
- }
39
- else {
40
- rustup target add --toolchain 1.82.0-x86_64-apple-darwin x86_64-apple-darwin
41
- }
42
- displayName : ' Install Rust Toolchain'
43
-
44
32
- powershell : |
45
33
$env:MACOSX_DEPLOYMENT_TARGET = "12.0" # Monterey
46
34
cmake --preset macos_$(arch)_$(ep)_$(build_config)
Original file line number Diff line number Diff line change @@ -46,13 +46,6 @@ steps:
46
46
condition : eq(variables['ep'], 'cuda')
47
47
workingDirectory : ' $(Build.Repository.LocalPath)'
48
48
49
- - powershell : |
50
- $exePath = "$env:TEMP\rustup-init.exe"
51
- (New-Object Net.WebClient).DownloadFile('https://static.rust-lang.org/rustup/dist/x86_64-pc-windows-msvc/rustup-init.exe', $exePath)
52
- & $exePath -y --default-toolchain=1.82.0
53
- Write-Host "##vso[task.prependpath]$env:USERPROFILE\.cargo\bin"
54
- displayName : ' Install Rust Toolchain'
55
-
56
49
- powershell : |
57
50
cmake --preset windows_$(arch)_$(ep)_$(build_config) -T cuda='$(Build.Repository.LocalPath)\cuda_sdk\v$(cuda_version)'
58
51
displayName : ' Configure CMake C API with CUDA'
You can’t perform that action at this time.
0 commit comments