Skip to content
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

Update cmake to build udf native [skip ci] #2827

Merged
merged 1 commit into from
Jun 28, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Update cmake to build udf native
Install cmake '3.20.5' andd add the var 'CUDF_ENABLE_ARROW_S3=OFF' to build cuDF 21.08 native source

Signed-off-by: Tim Liu <timl@nvidia.com>
  • Loading branch information
NvTimLiu committed Jun 28, 2021
commit 79305702f1086b9f5b301d953cb7cda177b6cde1
2 changes: 1 addition & 1 deletion udf-examples/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ CUDA_VERSION_MINOR=$(echo $CUDA_VERSION | tr -d '.' | cut -c 3); \
# Set JDK8 as the default Java
&& update-alternatives --set java /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java

ARG CMAKE_VERSION=3.19.0
ARG CMAKE_VERSION=3.20.5

# Install CMake
RUN cd /tmp \
Expand Down
2 changes: 2 additions & 0 deletions udf-examples/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
<GPU_ARCHS>ALL</GPU_ARCHS>
<PER_THREAD_DEFAULT_STREAM>ON</PER_THREAD_DEFAULT_STREAM>
<CPP_PARALLEL_LEVEL>10</CPP_PARALLEL_LEVEL>
<CUDF_ENABLE_ARROW_S3>OFF</CUDF_ENABLE_ARROW_S3>
</properties>

<dependencies>
Expand Down Expand Up @@ -117,6 +118,7 @@
<arg value="-DCMAKE_CXX_FLAGS=${CMAKE_CXX_FLAGS}"/>
<arg value="-DGPU_ARCHS=${GPU_ARCHS}"/>
<arg value="-DPER_THREAD_DEFAULT_STREAM=${PER_THREAD_DEFAULT_STREAM}"/>
<arg value="-DCUDF_ENABLE_ARROW_S3=${CUDF_ENABLE_ARROW_S3}"/>
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Refer to : cmake build flag CUDF_ENABLE_ARROW_S3 to conditionally build Arrow with S3 filesystem support.
rapidsai/cudf#8531

</exec>
<exec failonerror="true"
executable="cmake">
Expand Down