File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 7676 if (-not (Test-Path $nvccExe)) {
7777 throw "nvcc executable '$nvccExe' does not exist."
7878 }
79- mkdir build && cd build && cmake -DCMAKE_GENERATOR_PLATFORM=x64 -DCMAKE_BUILD_TYPE=Release -DUSE_CUDA=ON -DCUDA_CRT_LINKAGE=dynamic -DCMAKE_CUDA_COMPILER="$nvccExe" -DCUDAToolkit_ROOT="$env:CUDA_PATH" ..
79+ New-Item -ItemType Directory -Path build -Force | Out-Null
80+ cmake -S . -B build -DCMAKE_GENERATOR_PLATFORM=x64 -DCMAKE_BUILD_TYPE=Release -DUSE_CUDA=ON -DCUDA_CRT_LINKAGE=dynamic -DCMAKE_CUDA_COMPILER="$nvccExe" -DCUDAToolkit_ROOT="$env:CUDA_PATH"
8081 - name : Build
81- run : cd build && MSBuild.exe ${{ matrix.solution }} /p:Configuration=Release
82+ shell : powershell
83+ run : MSBuild.exe "build\\${{ matrix.solution }}" /p:Configuration=Release
Original file line number Diff line number Diff line change @@ -180,4 +180,4 @@ if (NOT USE_CUDA AND NOT BUILD_SONARCLOUD)
180180 set (CMAKE_LIBRARY_OUTPUT_DIRECTORY ${DEFAULT_CMAKE_LIBRARY_OUTPUT_DIRECTORY} )
181181 endif ()
182182 add_subdirectory (Sources /API/Python )
183- endif ()
183+ endif ()
You can’t perform that action at this time.
0 commit comments