Skip to content

Commit

Permalink
DEBUG: crank up verbosity in build-lib.bat
Browse files Browse the repository at this point in the history
  • Loading branch information
h-vetinari committed Feb 17, 2021
1 parent 9ebd9a7 commit c5bb9cc
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions recipe/build-lib.bat
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ if "%cuda_compiler_version%"=="None" (
set "CudaToolkitDir=%CUDA_PATH%"
set "CUDAToolkit_ROOT=%CUDA_PATH%"

set CUDA_CONFIG_ARGS=-DCMAKE_CUDA_ARCHITECTURES=!CMAKE_CUDA_ARCHS!
set CUDA_CONFIG_ARGS=-DCMAKE_CUDA_ARCHITECTURES=!CMAKE_CUDA_ARCHS! -DCUDA_VERBOSE_BUILD=ON
REM cmake does not generate output for the call below; echo some info
echo Set up extra cmake-args: CUDA_CONFIG_ARGS=!CUDA_CONFIG_ARGS!
)
Expand All @@ -52,11 +52,12 @@ cmake -B _build ^
-DCMAKE_INSTALL_LIBDIR="%LIBRARY_LIB%" ^
-DCMAKE_INSTALL_INCLUDEDIR="%LIBRARY_INC%" ^
!CUDA_CONFIG_ARGS! ^
--verbose ^
.
if %ERRORLEVEL% neq 0 exit 1

cmake --build _build --config Release -j %CPU_COUNT%
cmake --build _build --config Release -j %CPU_COUNT% --verbose -- /verbosity:detailed
if %ERRORLEVEL% neq 0 exit 1

cmake --install _build --config Release --prefix %PREFIX%
cmake --install _build --config Release --prefix %PREFIX% --verbose
if %ERRORLEVEL% neq 0 exit 1

0 comments on commit c5bb9cc

Please sign in to comment.