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>
This commit is contained in:
Dominik Holland
2023-03-31 13:49:39 +02:00
parent e14434a7ea
commit 4bd1b6fad3

View File

@@ -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"