Skip to content

SuiteSparse fails to compile on Windows (Cygwin) #31070

Closed
@KristofferC

Description

----------------------------------------------------------------
SuiteSparse package compilation options:
----------------------------------------------------------------
...
CUDA library:             CUDART_LIB=      /cygdrive/c/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v10.0/lib64/libcudart.so
CUBLAS library:           CUBLAS_LIB=      /cygdrive/c/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v10.0/lib64/libcublas.so

...

/usr/lib/gcc/x86_64-w64-mingw32/7.4.0/../../../../x86_64-w64-mingw32/bin/ld: cannot find -lamd
/usr/lib/gcc/x86_64-w64-mingw32/7.4.0/../../../../x86_64-w64-mingw32/bin/ld: cannot find -lcolamd
/usr/lib/gcc/x86_64-w64-mingw32/7.4.0/../../../../x86_64-w64-mingw32/bin/ld: cannot find -lbtf
/usr/lib/gcc/x86_64-w64-mingw32/7.4.0/../../../../x86_64-w64-mingw32/bin/ld: cannot find -lsuitesparseconfig
collect2: error: ld returned 1 exit status
make[4]: *** [Makefile:272: /cygdrive/c/Users/Kristoffer/julia/usr/lib/libklu.so.1.3.8] Error 1
make[3]: *** [Makefile:20: library] Error 2
make[2]: *** [Makefile:19: library] Error 2
/usr/lib/gcc/x86_64-w64-mingw32/7.4.0/../../../../x86_64-w64-mingw32/bin/ld: cannot find -lsuitesparseconfig
collect2: error: ld returned 1 exit status
make[4]: *** [Makefile:69: /cygdrive/c/Users/Kristoffer/julia/usr/lib/librbio.so.2.2.6] Error 1
make[3]: *** [Makefile:20: library] Error 2
make[2]: *** [Makefile:19: library] Error 2
x86_64-w64-mingw32-g++: error: Files/NVIDIA: No such file or directory
x86_64-w64-mingw32-g++: error: GPU: No such file or directory
x86_64-w64-mingw32-g++: error: Computing: No such file or directory
x86_64-w64-mingw32-g++: error: Toolkit/CUDA/v10.0/include/: No such file or directory
make[4]: *** [Makefile:231: spqr_rmap.o] Error 1
make[3]: *** [Makefile:20: library] Error 2
make[2]: *** [Makefile:17: library] Error 2
make[1]: *** [/cygdrive/c/Users/Kristoffer/julia/deps/suitesparse.mk:51: scratch/SuiteSparse-5.4.0/build-compiled] Error 2
make: *** [Makefile:57: julia-deps] Error 2

I'm guessing this is from #30991 which bumped the SuiteSparse version (in combination with spaces inside the path to CUDA on Windows.

Using BB for SuiteSparse makes the build go through.

Metadata

Metadata

Assignees

No one assigned

    Labels

    buildingBuild system, or building Julia or its dependenciessystem:windowsAffects only Windows

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Participants

    @KristofferC

    Issue actions

      SuiteSparse fails to compile on Windows (Cygwin) · Issue #31070 · JuliaLang/julia