-
Notifications
You must be signed in to change notification settings - Fork 891
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] Building from source fails as deps are not found #12081
Comments
Thank you @ccoulombe for raising a new issue here. It looks like you have a workaround for now, but there may be an improvement we can make. @robertmaynard when you get a few spare cycles, would you please share your thoughts? |
It looks like you are running into this requirement for It would be helpful to see your full |
I have opened #12139 to fix the dlpack issue, it would be great if you could verify that this fix works for you. |
As brought up in #12081 it is possible to have python build failures due to no include paths to dlpack being provided. This fixes the issue by ensure that the DLPACK_INCLUDE_DIR is propagated down to the interop target. We don't run into this issue with conda, since the dlpack headers are inside the conda include dir which is already being provided to the compiler. Authors: - Robert Maynard (https://github.com/robertmaynard) - Vyas Ramasubramani (https://github.com/vyasr) Approvers: - Vyas Ramasubramani (https://github.com/vyasr) URL: #12139
@robertmaynard Will do and report back! |
It works, but instead of reusing the already pulled dependency when the c++ part was built, it pulls it again
|
Good to hear that it works. As for re-use of the existing dlpack, I am planning on correcting this for 23.02 but since it requires more CMake work it wasn't eligible for 22.02 given where we are in the release cycle. |
First, 👏 great work into making cudf and other RAPIDSAI libraries more easy to build from source!!! A lot of work has been put into it.
This is the continuity of #2770.
Describe the bug
Building v22.12 from source fails as some dependencies are missing or not included properly.
dlpack
is fetched and used forlibcudf
but fails for the python bindings.Steps/Code to reproduce bug
Expected behavior
Succeeds to build
cudf
from source, and not using conda!Environment overview (please complete the following information)
Solutions
--cmake-args=\"-DCMAKE_SHARED_LINKER_FLAGS=\'-fuse-ld=bfd\'\"
dlpack
centrally and therefore it is found and included.But since it is pulled and used when building
libcudf
, theCMakeLists.txt
for the python binding ofcudf
should re-use it.The text was updated successfully, but these errors were encountered: