-
Notifications
You must be signed in to change notification settings - Fork 902
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
fix Arrow CMake file #7358
fix Arrow CMake file #7358
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This needs to target branch-0.19.
7114be0
to
e014ca3
Compare
Is there a good reason to force push? |
@harrism I had to rebase on branch-0.19. |
@rongou do you happen to have a stacktrace of how it was crashing? Would like to understand what CMake policy introduced in 3.18+ is giving it issues. |
Codecov Report
@@ Coverage Diff @@
## branch-0.19 #7358 +/- ##
==============================================
Coverage ? 82.22%
==============================================
Files ? 100
Lines ? 16969
Branches ? 0
==============================================
Hits ? 13953
Misses ? 3016
Partials ? 0 Continue to review full report at Codecov.
|
CMake Error in CMakeLists.txt:
No cmake_minimum_required command is present. A line of code such as
cmake_minimum_required(VERSION 3.19)
should be added at the top of the file. The version specified may be lower
if you wish to support older CMake versions for this project. For more
information run "cmake --help-policy CMP0000".
-- Configuring incomplete, errors occurred!
See also "/home/rou/src/cudf/cpp/build/arrow/CMakeFiles/CMakeOutput.log".
CMake Error at cmake/Modules/ConfigureArrow.cmake:39 (message):
Configuring Arrow failed: 1
Call Stack (most recent call first):
CMakeLists.txt:205 (include) |
@rongou how are you invoking CMake / using the |
cc @robertmaynard for visibility |
Currently this is done through |
🤦 well that explains it. This should be fixed in #7107 then, but this is a good bandaid until then. Is this broken for 0.18 as well? Does this require a patch for the JNI build to work properly? |
This is only a problem if you build |
Going to merge this in as is then, thanks! |
@gpucibot merge |
With the latest cmake (built from head), it crashes with
-DARROW_STATIC_LIB=ON
. Addingcmake_minimum_required
to match what's in the top-level file.