[windows] update 7zip cli tool used internally to build BOINC on Windows

Signed-off-by: Vitalii Koshura <lestat.de.lionkur@gmail.com>
This commit is contained in:
Vitalii Koshura 2024-05-23 16:33:08 +02:00
parent dbf12ae5f7
commit 547467b40f
No known key found for this signature in database
GPG Key ID: CE0DB1726070A5A3
1 changed files with 5 additions and 6 deletions

View File

@ -158,16 +158,15 @@
<MakeDir Directories="$(CudaRootDir)" /> <MakeDir Directories="$(CudaRootDir)" />
</Target> </Target>
<Target Name="DownloadCUDA" BeforeTargets="InstallVcpkg" DependsOnTargets="CreateFolders" AfterTargets="CreateFolders" Condition="'$(Platform)' == 'x64' And !Exists($(CudaNvccPath)) And !Exists($(CudaGuardFile))"> <Target Name="DownloadCUDA" BeforeTargets="InstallVcpkg" DependsOnTargets="CreateFolders" AfterTargets="CreateFolders" Condition="'$(Platform)' == 'x64' And !Exists($(CudaNvccPath)) And !Exists($(CudaGuardFile))">
<DownloadFile SourceUrl="https://www.7-zip.org/a/7za920.zip" DestinationFolder="$(TMP)" /> <DownloadFile SourceUrl="https://www.7-zip.org/a/7zr.exe" DestinationFolder="$(TMP)" />
<Unzip SourceFiles="$(TMP)\7za920.zip" DestinationFolder="$(TMP)\7z" OverwriteReadOnlyFiles="true" />
<DownloadFile SourceUrl="http://developer.download.nvidia.com/compute/cuda/12.0.0/network_installers/windows/x86_64/wddm2/nvcc.exe" DestinationFolder="$(TMP)" /> <DownloadFile SourceUrl="http://developer.download.nvidia.com/compute/cuda/12.0.0/network_installers/windows/x86_64/wddm2/nvcc.exe" DestinationFolder="$(TMP)" />
<Exec Command="$(TMP)\7z\7za x $(TMP)\nvcc.exe -onvcc -aoa" WorkingDirectory="$(CudaRootDir)" ConsoleToMSBuild="true" /> <Exec Command="$(TMP)\7zr.exe x $(TMP)\nvcc.exe -onvcc -aoa" WorkingDirectory="$(CudaRootDir)" ConsoleToMSBuild="true" />
<DownloadFile SourceUrl="http://developer.download.nvidia.com/compute/cuda/12.0.0/network_installers/windows/x86_64/wddm2/cublas_dev.exe" DestinationFolder="$(TMP)" /> <DownloadFile SourceUrl="http://developer.download.nvidia.com/compute/cuda/12.0.0/network_installers/windows/x86_64/wddm2/cublas_dev.exe" DestinationFolder="$(TMP)" />
<Exec Command="$(TMP)\7z\7za x $(TMP)\cublas_dev.exe -onvcc -aoa" WorkingDirectory="$(CudaRootDir)" ConsoleToMSBuild="true" /> <Exec Command="$(TMP)\7zr.exe x $(TMP)\cublas_dev.exe -onvcc -aoa" WorkingDirectory="$(CudaRootDir)" ConsoleToMSBuild="true" />
<DownloadFile SourceUrl="http://developer.download.nvidia.com/compute/cuda/12.0.0/network_installers/windows/x86_64/wddm2/cudart.exe" DestinationFolder="$(TMP)" /> <DownloadFile SourceUrl="http://developer.download.nvidia.com/compute/cuda/12.0.0/network_installers/windows/x86_64/wddm2/cudart.exe" DestinationFolder="$(TMP)" />
<Exec Command="$(TMP)\7z\7za x $(TMP)\cudart.exe -onvcc -aoa" WorkingDirectory="$(CudaRootDir)" ConsoleToMSBuild="true" /> <Exec Command="$(TMP)\7zr.exe x $(TMP)\cudart.exe -onvcc -aoa" WorkingDirectory="$(CudaRootDir)" ConsoleToMSBuild="true" />
<DownloadFile SourceUrl="http://developer.download.nvidia.com/compute/cuda/12.0.0/network_installers/windows/x86_64/wddm2/thrust.exe" DestinationFolder="$(TMP)" /> <DownloadFile SourceUrl="http://developer.download.nvidia.com/compute/cuda/12.0.0/network_installers/windows/x86_64/wddm2/thrust.exe" DestinationFolder="$(TMP)" />
<Exec Command="$(TMP)\7z\7za x $(TMP)\thrust.exe -onvcc -aoa" WorkingDirectory="$(CudaRootDir)" ConsoleToMSBuild="true" /> <Exec Command="$(TMP)\7zr.exe x $(TMP)\thrust.exe -onvcc -aoa" WorkingDirectory="$(CudaRootDir)" ConsoleToMSBuild="true" />
<Touch Files="$(CudaGuardFile)" AlwaysCreate="true" /> <Touch Files="$(CudaGuardFile)" AlwaysCreate="true" />
</Target> </Target>
<Target Name="InstallVcpkg" BeforeTargets="Build3rdPartyLibraries" DependsOnTargets="CreateFolders" AfterTargets="DownloadCUDA"> <Target Name="InstallVcpkg" BeforeTargets="Build3rdPartyLibraries" DependsOnTargets="CreateFolders" AfterTargets="DownloadCUDA">