Home
last modified time | relevance | path

Searched +full:invoke +full:- +full:webrequest (Results 1 – 16 of 16) sorted by relevance

/third_party/grpc/third_party/toolchains/dockerfile/rbe_windows2019/
DDockerfile1 # This dockerfile is taken from go/rbe-windows-user-guide
14 # downloads with Invoke-WebRequest not show the progress bar and is MUCH faster).
15 SHELL ["powershell.exe", "-ExecutionPolicy", "Bypass", "-Command", "$ErrorActionPreference='Stop'; …
18 RUN Get-NetAdapter | Where-Object Name -like "*Ethernet*" | ForEach-Object { \
20 …$gateway = (Get-NetRoute | Where { $_.DestinationPrefix -eq \"0.0.0.0/0\" } | Sort-Object RouteMet…
22 $ifIndex = (Get-NetAdapter -InterfaceDescription \"Hyper-V Virtual Ethernet*\" | Sort-Object \
24 New-NetRoute -DestinationPrefix 169.254.169.254/32 -InterfaceIndex $ifIndex -NextHop $gateway
26 RUN New-ItemProperty -Path HKLM:\SYSTEM\CurrentControlSet\Control\FileSystem \
27 -Name LongPathsEnabled -Value 1 -PropertyType DWORD -Force
28 # Install Visual C++ Redistributable for Visual Studio 2015-2022.
[all …]
/third_party/mesa3d/.gitlab-ci/windows/
Dmesa_deps_d3d.ps17 $depsInstallPath="C:\mesa-deps"
9 Write-Host "Downloading DirectX 12 Agility SDK at:"
10 Get-Date
11 Invoke-WebRequest -Uri https://www.nuget.org/api/v2/package/Microsoft.Direct3D.D3D12/1.614.1 -OutFi…
12 Expand-Archive -Path 'agility.zip' -DestinationPath 'C:\agility'
13 # Copy Agility SDK into mesa-deps\bin\D3D12
14 New-Item -ErrorAction SilentlyContinue -ItemType Directory -Path $depsInstallPath\bin -Name 'D3D12'
15 Copy-Item 'C:\agility\build\native\bin\x64\*.dll' -Destination $depsInstallPath\bin\D3D12
16 Remove-Item 'agility.zip'
17 Remove-Item -Recurse 'C:\agility'
[all …]
Dmesa_deps_vulkan_sdk.ps112 …unarg.com/sdk/download/$env:VULKAN_SDK_VERSION/windows/VulkanSDK-$env:VULKAN_SDK_VERSION-Installer…
13 Write-Host "Downloading Vulkan-SDK $VULKAN_SDK_URL at:"
14 Get-Date
15 Invoke-WebRequest -Uri "$VULKAN_SDK_URL" -OutFile "${env:TMP}\vulkan_sdk.exe" | Out-Null
16 Write-Host "Installing Vulkan-SDK at:"
17 Get-Date
18 Start-Process -NoNewWindow -Wait "${env:TMP}\vulkan_sdk.exe" -ArgumentList "--am --al -c in"
20 Write-Host "Failed to install Vulkan SDK"
23 Remove-Item "${env:TMP}\vulkan_sdk.exe" -Force
25 …lunarg.com/sdk/download/$env:VULKAN_SDK_VERSION/windows/VulkanRT-$env:VULKAN_SDK_VERSION-Installer…
[all …]
Dmesa_deps_rust.ps17 Write-Host "Installing rust at:"
8 Get-Date
9 $url = 'https://static.rust-lang.org/rustup/dist/x86_64-pc-windows-msvc/rustup-init.exe';
10 Write-Host ('Downloading {0} ...' -f $url);
11 Invoke-WebRequest -Uri $url -OutFile 'rustup-init.exe';
12 Write-Host "Installing rust toolchain"
13 .\rustup-init.exe -y;
14 Remove-Item rustup-init.exe;
16 Write-Host "Installing rust finished at:"
17 Get-Date
Dmesa_deps_msvc.ps17 Write-Host "Downloading Visual Studio 2022 build tools at:"
8 Get-Date
9 Invoke-WebRequest -Uri $msvc_url -OutFile C:\vs_buildtools.exe
11 Write-Host "Installing Visual Studio 2022 at:"
12 Get-Date
14 # https://docs.microsoft.com/en-us/visualstudio/install/command-line-parameter-examples?view=vs-2022
16 # https://docs.microsoft.com/en-us/visualstudio/install/workload-component-id-vs-build-tools?view=v…
17 # https://docs.microsoft.com/en-us/visualstudio/install/workload-component-id-vs-community?view=vs-
18 Start-Process -NoNewWindow -Wait -FilePath C:\vs_buildtools.exe `
19 -ArgumentList `
[all …]
Dmesa_deps_test_piglit.ps14 $MyPath = $MyInvocation.MyCommand.Path | Split-Path -Parent
7 $source_dir = Join-Path -Path "$PWD" -ChildPath "src"
8 $waffle_source = Join-Path -Path "$source_dir" -ChildPath "waffle"
9 $waffle_install = Join-Path -Path "$PWD" -ChildPath "waffle"
10 $piglit_source = Join-Path -Path "$PWD" -ChildPath "Piglit"
12 Write-Host "Cloning Waffle at:"
13 Get-Date
14 New-Item -ItemType Directory -Path "$waffle_source" | Out-Null
15 Push-Location -Path $waffle_source
18 git fetch --depth 1 origin 950a1f35a718bc2a8e1dda75845e52651bb331a7 # of branch master
[all …]
Dmesa_deps_build.ps12 $MyPath = $MyInvocation.MyCommand.Path | Split-Path -Parent
7 [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 -bor [Net.SecurityP…
9 Remove-Item -Recurse -Force -ErrorAction SilentlyContinue "deps" | Out-Null
11 $depsInstallPath="C:\mesa-deps"
13 Get-Date
14 Write-Host "Cloning DirectX-Headers"
15 git clone -b v1.614.1 --depth=1 https://github.com/microsoft/DirectX-Headers deps/DirectX-Headers
17 Write-Host "Failed to clone DirectX-Headers repository"
20 Write-Host "Building DirectX-Headers"
21 $dxheaders_build = New-Item -ItemType Directory -Path ".\deps\DirectX-Headers" -Name "build"
[all …]
/third_party/protobuf/csharp/
Dinstall_dotnet_sdk.ps12 # Install dotnet SDK using the official dotnet-install.ps1 script
4 Set-StrictMode -Version 2
7 # avoid "Unknown error on a send" in Invoke-WebRequest
10 $InstallScriptUrl = 'https://dot.net/v1/dotnet-install.ps1'
11 $InstallScriptPath = Join-Path "$env:TEMP" 'dotnet-install.ps1'
14 Write-Host "Downloading install script: $InstallScriptUrl => $InstallScriptPath"
15 Invoke-WebRequest -Uri $InstallScriptUrl -OutFile $InstallScriptPath
19 &$InstallScriptPath -Version 3.1.415
20 &$InstallScriptPath -Version 6.0.100
/third_party/grpc/src/csharp/
Dinstall_dotnet_sdk.ps14 Set-StrictMode -Version 2
8 # error when running on kokoro (i.e. in non-interactive mode)
13 Write-Error $_
17 # avoid "Unknown error on a send" in Invoke-WebRequest
20 $InstallScriptUrl = 'https://dot.net/v1/dotnet-install.ps1'
21 $InstallScriptPath = Join-Path "$env:TEMP" 'dotnet-install.ps1'
24 Write-Host "Downloading install script: $InstallScriptUrl => $InstallScriptPath"
25 Invoke-WebRequest -Uri $InstallScriptUrl -OutFile $InstallScriptPath
29 &$InstallScriptPath -Version 3.1.415
30 &$InstallScriptPath -Version 6.0.100
/third_party/libxml2/
D.gitlab-ci.yml3 # for libxslt, that's why we need git and libgcrypt-dev.
7 # RUN apt-get update && \
8 # apt-get upgrade -y && \
9 # apt-get install -y --no-install-recommends \
10 # curl git ca-certificates \
11 # autoconf automake libtool pkg-config \
13 # zlib1g-dev liblzma-dev libgcrypt-dev \
14 # python-dev python3-dev \
20 - |
21 ln -s /tests/xmlconf
[all …]
/third_party/rust/rust/src/tools/rustfmt/.github/workflows/
Dwindows.yml5 - master
10 runs-on: windows-latest
15 …# https://help.github.com/en/actions/getting-started-with-github-actions/about-github-actions#usag…
16 # There's a limit of 60 concurrent jobs across all repos in the rust-lang organization.
19 max-parallel: 2
20 fail-fast: false
23 i686-pc-windows-gnu,
24 i686-pc-windows-msvc,
25 x86_64-pc-windows-gnu,
26 x86_64-pc-windows-msvc,
[all …]
/third_party/icu/
D.appveyor.yml11 - c:\icu-ci-cache
14 # - The VS2017 build is disabled (commented out) below, as we build both VS2015 and VS2017
17 # - For the Cygwin build, the CYG_MIRROR URL used to use the "Cygwin Time Machine" archive
18 # in order to pull a previous version of Cygwin, v2.11.2-1 (with timestamp 1550062412).
23 # In order to speed the builds up we use the "-X" or "--no-verify" option to skip checking
28 ICU_CI_CACHE: c:\icu-ci-cache
29 CYG_URL: https://cygwin.com/setup-x86_64.exe
31 CYG_PACKAGES: automake,gcc-core,gcc-g++,make,pkg-config,perl,python3
32 CYG_ROOT: c:\cygwin-root
33 CYG_CACHE: '%ICU_CI_CACHE%\cygwin64-v3'
[all …]
/third_party/grpc/tools/internal_ci/helper_scripts/
Dinstall_python_interpreters.ps14 Set-StrictMode -Version 2
8 # error when running on kokoro (i.e. in non-interactive mode)
13 Write-Error $_
20 function Install-Python { in Install-Python()
31 Write-Host "Downloading the Python installer: $PythonInstallerUrl => $PythonInstallerPath" in Install-Python()
32 Invoke-WebRequest -Uri $PythonInstallerUrl -OutFile $PythonInstallerPath in Install-Python()
35 $HashFromDownload = Get-FileHash -Path $PythonInstallerPath -Algorithm MD5 in Install-Python()
36 if ($HashFromDownload.Hash -ne $PythonInstallerHash) { in Install-Python()
39 Write-Host "Python installer $PythonInstallerPath validated." in Install-Python()
43 if (-Not $?) { in Install-Python()
[all …]
/third_party/python/PCbuild/
Dfind_python.bat11 @rem First argument -q means only show the command in output
12 @if '%1' EQU '-q' (shift && set _Py_Quiet=1)
18 @rem parse the next if statement - incorrect quoting in the multi-arg
39 …thonx86\tools\python.exe" ("%_Py_EXTERNALS_DIR%\pythonx86\tools\python.exe" -Ec "import sys; asser…
42 @if NOT "%HOST_PYTHON%"=="" @%HOST_PYTHON% -Ec "import sys; assert sys.version_info[:2] >= (3, 9)" …
45 @for %%p in (3.10 3.9) do @py -%%p -EV >nul 2>&1 && (set PYTHON=py -%%p) && (set _Py_Python_Source=…
59 @powershell.exe -Command Invoke-WebRequest %_Py_NUGET_URL% -OutFile '%_Py_NUGET%'
61 @%_Py_HOST_PYTHON% -E "%_Py_D%\urlretrieve.py" "%_Py_NUGET_URL%" "%_Py_NUGET%"
66 @"%_Py_NUGET%" install pythonx86 -ExcludeVersion -OutputDirectory "%_Py_EXTERNALS_DIR%"
67 @rem Quote it here; it's not quoted later because "py -x.y" wouldn't work
Dprepare_libffi.bat8 echo of python-source-deps clone of libffi branch
13 echo Tested with cygwin-x86 from https://www.cygwin.com/install.html
25 echo. -x64 enable x64 build
26 echo. -x86 enable x86 build
27 echo. -arm32 enable arm32 build
28 echo. -arm64 enable arm64 build
29 echo. -? this help
30 echo. --install-cygwin install cygwin to c:\cygwin
46 if /I "%1"=="-x64" (set BUILD_X64=1) & shift & goto :CheckOpts
47 if /I "%1"=="-x86" (set BUILD_X86=1) & shift & goto :CheckOpts
[all …]
/third_party/opencl-headers/.github/workflows/
Dwindows.yml7 runs-on: windows-latest
16 - VER: v141
18 GEN: Ninja Multi-Config
22 NINJA_URL: https://github.com/ninja-build/ninja/releases/download/v1.10.2/ninja-win.zip
28 - uses: actions/checkout@v2
30 - name: Cache Ninja install
31 if: matrix.GEN == 'Ninja Multi-Config'
32 id: ninja-install
37 key: ${{runner.os}}-ninja-${{env.NINJA_URL}}
39 - name: Install Ninja
[all …]