Repository navigation
Use pre-built nvcomp 2.3 binaries by default #10851
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
Changes from 14 commits
168af05
f2f9ad9
7f5d453
d8b8c89
eb43115
a5b4761
c1e5275
ff46fd3
2e1b583
085de05
d1ad96b
f0667a8
c64d4d9
db7a437
0bb4bba
cfd4e4b
6ac5a9c
4537c95
437ba41
7f514bf
0403c06
618d750
f531c11
4827a64
7758d88
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -17,7 +17,7 @@ ARGS=$* | |
| # script, and that this script resides in the repo dir! | ||
| REPODIR=$(cd $(dirname $0); pwd) | ||
|
|
||
| VALIDARGS="clean libcudf cudf cudfjar dask_cudf benchmarks tests libcudf_kafka cudf_kafka custreamz -v -g -n -l --allgpuarch --disable_nvtx --show_depr_warn --ptds -h --build_metrics --incl_cache_stats" | ||
| VALIDARGS="clean libcudf cudf cudfjar dask_cudf benchmarks tests libcudf_kafka cudf_kafka custreamz -v -g -n -l --allgpuarch --disable_nvtx --opensource_nvcomp --show_depr_warn --ptds -h --build_metrics --incl_cache_stats" | ||
| HELP="$0 [clean] [libcudf] [cudf] [cudfjar] [dask_cudf] [benchmarks] [tests] [libcudf_kafka] [cudf_kafka] [custreamz] [-v] [-g] [-n] [-h] [--cmake-args=\\\"<args>\\\"] | ||
| clean - remove all existing build artifacts and configuration (start | ||
| over) | ||
|
|
@@ -35,6 +35,7 @@ HELP="$0 [clean] [libcudf] [cudf] [cudfjar] [dask_cudf] [benchmarks] [tests] [li | |
| -n - no install step | ||
| --allgpuarch - build for all supported GPU architectures | ||
| --disable_nvtx - disable inserting NVTX profiling ranges | ||
| --opensource_nvcomp - disable use of propretary nvcomp extensions | ||
| --show_depr_warn - show cmake deprecation warnings | ||
| --ptds - enable per-thread default stream | ||
| --build_metrics - generate build metrics report for libcudf | ||
|
|
@@ -67,6 +68,7 @@ BUILD_DISABLE_DEPRECATION_WARNING=ON | |
| BUILD_PER_THREAD_DEFAULT_STREAM=OFF | ||
| BUILD_REPORT_METRICS=OFF | ||
| BUILD_REPORT_INCL_CACHE_STATS=OFF | ||
| USE_PROPRIETARY_NVCOMP=ON | ||
|
|
||
| # Set defaults for vars that may not have been defined externally | ||
| # FIXME: if INSTALL_PREFIX is not set, check PREFIX, then check | ||
|
|
@@ -144,6 +146,7 @@ function buildLibCudfJniInDocker { | |
| -DCMAKE_CUDA_ARCHITECTURES=${CUDF_CMAKE_CUDA_ARCHITECTURES} \ | ||
| -DCMAKE_INSTALL_PREFIX=/usr/local/rapids \ | ||
| -DUSE_NVTX=ON \ | ||
| -DCMAKE_USE_PROPRIETARY_NVCOMP=ON \ | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I find it a bit disconcerting that all of the flags used for the JNI build do not respect the script's CLI. That seems like it's just waiting to bite some unsuspecting user of
vyasr marked this conversation as resolved.
Resolved
|
||
| -DCUDF_USE_ARROW_STATIC=ON \ | ||
| -DCUDF_ENABLE_ARROW_S3=OFF \ | ||
| -DBUILD_TESTS=OFF \ | ||
|
|
@@ -209,6 +212,9 @@ fi | |
| if hasArg --disable_nvtx; then | ||
| BUILD_NVTX="OFF" | ||
| fi | ||
| if hasArg --opensource_nvcomp; then | ||
| USE_PROPRIETARY_NVCOMP="OFF" | ||
| fi | ||
| if hasArg --show_depr_warn; then | ||
| BUILD_DISABLE_DEPRECATION_WARNING=OFF | ||
| fi | ||
|
|
@@ -271,6 +277,7 @@ if buildAll || hasArg libcudf; then | |
| -DCMAKE_INSTALL_PREFIX=${INSTALL_PREFIX} \ | ||
| -DCMAKE_CUDA_ARCHITECTURES=${CUDF_CMAKE_CUDA_ARCHITECTURES} \ | ||
| -DUSE_NVTX=${BUILD_NVTX} \ | ||
| -DCUDF_USE_PROPRIETARY_NVCOMP=${USE_PROPRIETARY_NVCOMP} \ | ||
| -DBUILD_TESTS=${BUILD_TESTS} \ | ||
| -DBUILD_BENCHMARKS=${BUILD_BENCHMARKS} \ | ||
| -DDISABLE_DEPRECATION_WARNING=${BUILD_DISABLE_DEPRECATION_WARNING} \ | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,3 @@ | ||
| By downloading and using the libcudf conda package, you accept the terms | ||
| and conditions of the NVIDIA NVCOMP Software License Agreement: | ||
| https://developer.download.nvidia.com/compute/nvcomp/2.3/LICENSE.txt |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| #!/bin/bash | ||
| # Copyright (c) 2022, NVIDIA CORPORATION. | ||
| # Only add the license notice to libcudf and not our examples / tests | ||
| if [[ "$PKG_NAME" == "libcudf" ]]; then | ||
| cat ./nvlink.txt>> $PREFIX/.messages.txt | ||
|
vyasr marked this conversation as resolved.
Resolved
vyasr marked this conversation as resolved.
Resolved
|
||
| fi | ||
Uh oh!
There was an error while loading. Please reload this page.