diff options
author | Dominik Holland <dominik.holland@qt.io> | 2023-03-31 13:49:39 +0200 |
---|---|---|
committer | Dominik Holland <dominik.holland@qt.io> | 2023-04-18 12:20:12 +0000 |
commit | 4bd1b6fad354b2ea823119e47cf378b3706e4d4e (patch) | |
tree | 2c843e87f0d5497b76cc1bd8f599569d28ce094d | |
parent | e14434a7eacf91e6e5bb3feded78b173f7c311ce (diff) | |
download | qt5-4bd1b6fad354b2ea823119e47cf378b3706e4d4e.tar.gz |
Provisioning: Make the dependencywalker available to python nuitka
nuitka needs the dependency walker to create standalone binaries. For
that nuitka downloads the dependency walker into its cache location.
If we copy our installation to this cache folder first, we don't need
to download it again.
Change-Id: Ib55e5ddc7cb6b482e9db0723fd015b36da01e555
Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
-rw-r--r-- | coin/provisioning/common/windows/install-dependencywalker.ps1 | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/coin/provisioning/common/windows/install-dependencywalker.ps1 b/coin/provisioning/common/windows/install-dependencywalker.ps1 index 1d015ffa..6714ded0 100644 --- a/coin/provisioning/common/windows/install-dependencywalker.ps1 +++ b/coin/provisioning/common/windows/install-dependencywalker.ps1 @@ -62,6 +62,10 @@ Verify-Checksum $dependsPackage $sha1 Extract-7Zip $dependsPackage $TARGETDIR +# Copy the content also into the cache location of nuitka +# This makes it usable without the need to download it again +Copy-Item -Path $TARGETDIR -Destination "$env:LOCALAPPDATA\Nuitka\Nuitka\Cache\downloads\depends\x86_64" -Recurse + Write-Host "Cleaning $dependsPackage.." Remove "$dependsPackage" |