-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
Hi @FindDefinition , I am compiling spconv from source and I notice that PCCM seems hardcode the path of cuda as "/usr/local/cuda/lib64". However, as a non-root user, I can not install cuda at this path. So I wonder how to specify a custom CUDA path?
[775/775] g++ @~/code/Libraries/spconv/build/temp.linux-x86_64-3.8/spconv/build/core_cc/core_cc.cpython-38-x86_64-linux-gnu.so.rsp -lcudart -L "/usr/local/cuda/lib64" -L "/usr/local/cuda/lib64" -shared -o ~/code/Libraries/spconv/build/temp.linux-x86_64-3.8/spconv/build/core_cc/core_cc.cpython-38-x86_64-linux-gnu.so
FAILED: ~/code/Libraries/spconv/build/temp.linux-x86_64-3.8/spconv/build/core_cc/core_cc.cpython-38-x86_64-linux-gnu.so
g++ @~/code/Libraries/spconv/build/temp.linux-x86_64-3.8/spconv/build/core_cc/core_cc.cpython-38-x86_64-linux-gnu.so.rsp -lcudart -L "/usr/local/cuda/lib64" -L "/usr/local/cuda/lib64" -shared -o ~/code/Libraries/spconv/build/temp.linux-x86_64-3.8/spconv/build/core_cc/core_cc.cpython-38-x86_64-linux-gnu.so
/usr/bin/ld: cannot find -lcudart
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.
Traceback (most recent call last):
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels