Home
last modified time | relevance | path

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

/external/rust/crates/grpcio-sys/grpc/third_party/toolchains/rbe_win2019/
DDockerfile1 # This dockerfile is taken from go/rbe-windows-user-guide
4 # TODO(jtattermusch): check the --compilation_mode=dbg fix
17 # downloads with Invoke-WebRequest not show the progress bar and is MUCH faster).
18 SHELL ["powershell.exe", "-ExecutionPolicy", "Bypass", "-Command", "$ErrorActionPreference='Stop'; …
21 RUN Get-NetAdapter | Where-Object Name -like "*Ethernet*" | ForEach-Object { \
23 …$gateway = (Get-NetRoute | Where { $_.DestinationPrefix -eq \"0.0.0.0/0\" } | Sort-Object RouteMet…
25 $ifIndex = (Get-NetAdapter -InterfaceDescription \"Hyper-V Virtual Ethernet*\" | Sort-Object \
27 New-NetRoute -DestinationPrefix 169.254.169.254/32 -InterfaceIndex $ifIndex -NextHop $gateway
29 RUN New-ItemProperty -Path HKLM:\SYSTEM\CurrentControlSet\Control\FileSystem \
30 -Name LongPathsEnabled -Value 1 -PropertyType DWORD -Force
[all …]
/external/grpc-grpc/third_party/toolchains/dockerfile/rbe_windows2019/
DDockerfile1 # This dockerfile is taken from go/rbe-windows-user-guide
4 # TODO(jtattermusch): check the --compilation_mode=dbg fix
17 # downloads with Invoke-WebRequest not show the progress bar and is MUCH faster).
18 SHELL ["powershell.exe", "-ExecutionPolicy", "Bypass", "-Command", "$ErrorActionPreference='Stop'; …
21 RUN Get-NetAdapter | Where-Object Name -like "*Ethernet*" | ForEach-Object { \
23 …$gateway = (Get-NetRoute | Where { $_.DestinationPrefix -eq \"0.0.0.0/0\" } | Sort-Object RouteMet…
25 $ifIndex = (Get-NetAdapter -InterfaceDescription \"Hyper-V Virtual Ethernet*\" | Sort-Object \
27 New-NetRoute -DestinationPrefix 169.254.169.254/32 -InterfaceIndex $ifIndex -NextHop $gateway
29 RUN New-ItemProperty -Path HKLM:\SYSTEM\CurrentControlSet\Control\FileSystem \
30 -Name LongPathsEnabled -Value 1 -PropertyType DWORD -Force
[all …]
/external/libxml2/.gitlab-ci/
DTest-Msvc.ps13 if (-not (Test-Path cmake-$Env:CMAKE_VERSION-win64-x64)) {
4 Invoke-WebRequest `
5-Uri http://github.com/Kitware/CMake/releases/download/v$Env:CMAKE_VERSION/cmake-$Env:CMAKE_VERSIO…
6 -OutFile cmake-$Env:CMAKE_VERSION-win64-x64.zip
7 Expand-Archive cmake-$Env:CMAKE_VERSION-win64-x64.zip -DestinationPath .
9 $Env:Path="$Env:CI_PROJECT_DIR\cmake-$Env:CMAKE_VERSION-win64-x64\bin;$Env:Path"
11 if (-not (Test-Path 7za.exe)) {
12 Invoke-WebRequest `
13 -Uri https://www.7-zip.org/a/7z1900-extra.7z `
14 -OutFile 7z1900-extra.7z
[all …]
/external/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.610.2 -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.611.0 --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 …]
/external/crosvm/tools/
Dinstall-deps.ps118 …b.com/protocolbuffers/protobuf/releases/download/v$PROTOC_VERSION/protoc-$PROTOC_VERSION-win64.zip"
25 …RUSTUP_INIT_URL = "https://static.rust-lang.org/rustup/archive/$RUSTUP_INIT_VERSION/x86_64-pc-wind…
26 $RUSTUP_INIT = $BASE_DIR + 'rustup-init.exe'
29 … = "https://github.com/cargo-bins/cargo-binstall/releases/download/$CARGO_BINSTALL_VERSION/cargo-b…
31 Write-Host "Installing in $BASE_DIR"
33 if (!(Test-Path $BASE_DIR -PathType Container)) {
34 New-Item -ItemType Directory -Force -Path $BASE_DIR
37 Set-Location $BASE_DIR
40 Invoke-WebRequest $PROTOC_URL -Out $PROTOC_ZIP
41 Write-Host "Verifying protoc integrity"
[all …]
Dinstall-podman.ps117 …//github.com/containers/podman/releases/download/v$PODMAN_VERSION/podman-$PODMAN_VERSION-setup.exe"
18 $PODMAN_SETUP = $BASE_DIR + 'podman-setup.exe'
22 Invoke-WebRequest $PODMAN_URL -Out $PODMAN_SETUP
23 Write-Host "Verifying podman integrity"
24 if ((Get-FileHash $PODMAN_SETUP -Algorithm SHA256).Hash -ne $PODMAN_SHA256) {
25 Write-Host "$PODMAN_SETUP sha did not match"
30 Write-Host "Installing podman. You may skip rebooting for machine for now"
31 Start-Process $PODMAN_SETUP /norestart -NoNewWindow -Wait
41 Write-Host "podman installed successfully. You may need to add $PODMAN_INSTALL_PATH to your PATH"
/external/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
/external/cronet/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
/external/grpc-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
/external/libxkbcommon/.github/workflows/
Dmain.yml11 runs-on: ubuntu-18.04
16 - uses: actions/checkout@v2
17 - uses: actions/setup-python@v1
19 python-version: '3.7'
20 - name: Install dependencies
22 python -m pip install --upgrade pip meson
23 sudo apt update -y
24 sudo env DEBIAN_FRONTEND=noninteractive apt install -y \
25 doxygen libxcb-xkb-dev valgrind ninja-build \
26 libwayland-dev wayland-protocols bison graphviz
[all …]
/external/cronet/third_party/protobuf/kokoro/release/python/windows/
Dinstall_python_interpreters.ps15 Set-StrictMode -Version 2
10 Write-Error $_
17 function Install-Python { in Install-Python()
28 Write-Host "Downloading the Python installer: $PythonInstallerUrl => $PythonInstallerPath" in Install-Python()
29 Invoke-WebRequest -Uri $PythonInstallerUrl -OutFile $PythonInstallerPath in Install-Python()
32 $HashFromDownload = Get-FileHash -Path $PythonInstallerPath -Algorithm MD5 in Install-Python()
33 if ($HashFromDownload.Hash -ne $PythonInstallerHash) { in Install-Python()
36 Write-Host "Python installer $PythonInstallerPath validated." in Install-Python()
40 if (-Not $?) { in Install-Python()
51 Wait-Process -Name $PythonInstaller -Timeout 300 in Install-Python()
[all …]
/external/protobuf/kokoro/release/python/windows/
Dinstall_python_interpreters.ps15 Set-StrictMode -Version 2
10 Write-Error $_
17 function Install-Python { in Install-Python()
28 Write-Host "Downloading the Python installer: $PythonInstallerUrl => $PythonInstallerPath" in Install-Python()
29 Invoke-WebRequest -Uri $PythonInstallerUrl -OutFile $PythonInstallerPath in Install-Python()
32 $HashFromDownload = Get-FileHash -Path $PythonInstallerPath -Algorithm MD5 in Install-Python()
33 if ($HashFromDownload.Hash -ne $PythonInstallerHash) { in Install-Python()
36 Write-Host "Python installer $PythonInstallerPath validated." in Install-Python()
40 if (-Not $?) { in Install-Python()
51 Wait-Process -Name $PythonInstaller -Timeout 300 in Install-Python()
[all …]
/external/rust/crates/grpcio-sys/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 …]
/external/python/cpython2/PCbuild/
Dfind_python.bat13 @rem parse the next if statement - incorrect quoting in the multi-arg
34 @if NOT "%HOST_PYTHON%"=="" @%HOST_PYTHON% -c "import sys; assert sys.version_info[:2] >= (3, 6)" >…
37 @py -3.6 -V >nul 2>&1 && (set PYTHON=py -3.6) && (set _Py_Python_Source=found with py.exe) && goto …
51 @powershell.exe -Command Invoke-WebRequest %_Py_NUGET_URL% -OutFile '%_Py_NUGET%'
57 @"%_Py_NUGET%" install pythonx86 -ExcludeVersion -OutputDirectory "%_Py_EXTERNALS_DIR%"
58 @rem Quote it here; it's not quoted later because "py -3.6" wouldn't work
/external/grpc-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 …]
/external/python/cpython3/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 …]
/external/OpenCL-CLHPP/.github/workflows/
Dwindows.yml7 runs-on: windows-2022
12 GEN: [Visual Studio 17 2022, Ninja Multi-Config]
17 …ub.com/Kitware/CMake/releases/download/v${{matrix.CMAKE}}/cmake-${{matrix.CMAKE}}-windows-x86_64.z…
20 NINJA_URL: https://github.com/ninja-build/ninja/releases/download/v1.10.2/ninja-win.zip
24 - name: Checkout OpenCL-CLHPP
29 - name: Checkout OpenCL-Headers
32 repository: KhronosGroup/OpenCL-Headers
33 path: external/OpenCL-Headers
35 - name: Checkout OpenCL-ICD-Loader
38 repository: KhronosGroup/OpenCL-ICD-Loader
[all …]
/external/OpenCL-Headers/.github/workflows/
Dwindows.yml5 paths-ignore:
6 - '**/*.md'
8 paths-ignore:
9 - '**/*.md'
13 runs-on: windows-latest
22 - VER: v141
24 GEN: Ninja Multi-Config
28 NINJA_URL: https://github.com/ninja-build/ninja/releases/download/v1.10.2/ninja-win.zip
34 - uses: actions/checkout@v3
36 - name: Cache Ninja install
[all …]
/external/cronet/net/docs/
Dproxy.md3 This document establishes basic proxy terminology and describes Chrome-specific
18 auto-config](https://en.wikipedia.org/wiki/Proxy_auto-config) scripts. For
30 The port number is optional in both formats. When omitted, a per-scheme default
33 See the [Proxy server schemes](#Proxy-server-schemes) section for details on
38 are generally identified less precisely by just an address -- the proxy
55 identifiers](#Proxy-server-identifiers).
59 * [Manual proxy settings](#Manual-proxy-settings) - proxy resolution is defined
64 * PAC script - proxy resolution is defined using a JavaScript program, that is
68 * Auto-detect - the WPAD protocol is used to probe the network (using DHCP/DNS)
84 * [DIRECT](#DIRECT-proxy-scheme)
[all …]