diff --git a/Makefile b/Makefile index 241b83d312..4f48cf4e5c 100644 --- a/Makefile +++ b/Makefile @@ -57,6 +57,10 @@ library: local: ( cd build && cmake $(CMAKE_OPTIONS) -USUITESPARSE_PKGFILEDIR -DLOCAL_INSTALL=1 .. && cmake --build . --config Release -j${JOBS} ) +# install CMAKE_INSTALL_PREFIX +global: + ( cd build && cmake $(CMAKE_OPTIONS) -USUITESPARSE_PKGFILEDIR -DLOCAL_INSTALL=0 .. && cmake --build . --config Release -j${JOBS} ) + vanilla: ( cd build && cmake $(CMAKE_OPTIONS) -USUITESPARSE_PKGFILEDIR -DLAGRAPH_VANILLA=1 .. && cmake --build . --config Release -j${JOBS} ) diff --git a/cmake_modules/SuiteSparsePolicy.cmake b/cmake_modules/SuiteSparsePolicy.cmake index e35bd5f54e..8e64cc381d 100644 --- a/cmake_modules/SuiteSparsePolicy.cmake +++ b/cmake_modules/SuiteSparsePolicy.cmake @@ -19,6 +19,7 @@ # for their numerical factorizsation. The flag is false # for GraphBLAS since CUDA for that package is in # progress and not ready for production use. +# CUDA acceleration not supported on Windows with MSVC. # # LOCAL_INSTALL: if true, "cmake --install" will install # into SuiteSparse/lib and SuiteSparse/include. @@ -265,7 +266,7 @@ endif ( ) # find CUDA #------------------------------------------------------------------------------- -if ( ENABLE_CUDA ) +if ( ENABLE_CUDA AND NOT MSVC ) # try finding CUDA check_language ( CUDA )