mirror of https://github.com/BOINC/boinc.git
[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:
parent
dbf12ae5f7
commit
547467b40f
|
@ -158,16 +158,15 @@
|
|||
<MakeDir Directories="$(CudaRootDir)" />
|
||||
</Target>
|
||||
<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)" />
|
||||
<Unzip SourceFiles="$(TMP)\7za920.zip" DestinationFolder="$(TMP)\7z" OverwriteReadOnlyFiles="true" />
|
||||
<DownloadFile SourceUrl="https://www.7-zip.org/a/7zr.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)" />
|
||||
<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)" />
|
||||
<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)" />
|
||||
<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" />
|
||||
</Target>
|
||||
<Target Name="InstallVcpkg" BeforeTargets="Build3rdPartyLibraries" DependsOnTargets="CreateFolders" AfterTargets="DownloadCUDA">
|
||||
|
|
Loading…
Reference in New Issue