[arrow] Update to 17.0.0#39948
Conversation
442474f to
99fe30f
Compare
|
I got the following error when testing the |
|
@kou any idea? |
|
ok, it seems the cuda dependency: vcpkg/ports/cuda/portfile.cmake Line 1 in 492d1cc So cuda should be installed as a system dependency. At this point, we might want to remove the arrow-cuda feature, thoughts?
|
kou
left a comment
There was a problem hiding this comment.
@MonicaLiu0311 Can CUDA be found with other port? I want to know that the CUDA not found error is only caused with this port.
FYI: Apache Arrow uses the standard find_package(CUDAToolkit REQUIRED): https://github.com/apache/arrow/blob/apache-arrow-17.0.0/cpp/src/arrow/gpu/CMakeLists.txt#L44
FindCUDAToolkit.cmake is included in CMake.
If it doesn't work with vcpkg, we may want to improve the cuda port.
There was a problem hiding this comment.
It seems that we can also remove this: https://github.com/apache/arrow/blob/ec58e4de9e08e4398e293cde70a7fed5bfb3ba5c/cpp/src/arrow/CMakeLists.txt#L166
There was a problem hiding this comment.
@kou I think this is not the URL you wanted to share here :) so I am not sure what you wanted us to remove here
There was a problem hiding this comment.
Oh... Sorry... I've fixed the URL...
I wanted to show the latest code about this...
There was a problem hiding this comment.
I did update the patch to apply, it is still required because:
-if(NOT WIN32 AND NOT APPLE)
+if(NOT WIN32 AND NOT APPLE AND NOT ANDROID)is necessary
There was a problem hiding this comment.
this is just the update to apply, not something that we will modify (because it was modified on Arrow):
list(APPEND ARROW_SYSTEM_LINK_LIBS "ws2_32.dll")
list(APPEND ARROW_SYSTEM_LINK_LIBS "ws2_32")
There was a problem hiding this comment.
Ah, I see. I was wrong. Diff's diff is difficult to review...
Anyway, let's upstream and remove this patch in a future release: apache/arrow#43390
|
@kou The error is from Obviously, Possible fixes and workarounds.
|
|
Ah, I got it. I downloaded the CUDA package for Windows https://developer.nvidia.com/cuda-downloads?target_os=Windows&target_arch=x86_64&target_version=11&target_type=exe_local and checked the content. It doesn't provide Can we keep the current configuration as-is for now? We will stop installing |
|
|
Thanks. |
|
Convert this PR to draft since there is no progress. Please ping us if this PR is ready for review again. |
@MonicaLiu0311 from my understanding @kou was asking you if we could keep the PR as is as this will get solved on 18.0.0, so I was just waiting for your feedback. |
Sorry I missed this message. Please resolve the conflict and I will continue reviewing. |
|
ok, it seems a PR (with exactly the same changes as this original PR) was merged last week: #40164 |
./vcpkg x-add-version --alland committing the result.