-
Notifications
You must be signed in to change notification settings - Fork 915
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix internal compiler error during JNI Docker build (#7645)
This updates the JNI Docker build to devtoolset-8 to work around an internal compiler error crash with gcc 7.3.1. The JNI Docker build is also updated to use the dlpack and RMM sources that were pulled down by CPM during the libcudf build rather than pulling and building them separately. Authors: - Jason Lowe (@jlowe) Approvers: - Raza Jafri (@razajafri) - Mike Wilson (@hyperbolic2346) URL: #7645
- Loading branch information
Showing
4 changed files
with
10 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -31,12 +31,7 @@ SIGN_FILE=$1 | |
OUT_PATH=$WORKSPACE/$OUT | ||
|
||
# set on Jenkins parameter | ||
if [ -z $RMM_VERSION ] | ||
then | ||
RMM_VERSION=`git describe --tags | grep -o -E '([0-9]+\.[0-9]+)'` | ||
fi | ||
echo "RMM_VERSION: $RMM_VERSION,\ | ||
SIGN_FILE: $SIGN_FILE,\ | ||
echo "SIGN_FILE: $SIGN_FILE,\ | ||
SKIP_JAVA_TESTS: $SKIP_JAVA_TESTS,\ | ||
BUILD_CPP_TESTS: $BUILD_CPP_TESTS,\ | ||
ENABLED_PTDS: $ENABLE_PTDS,\ | ||
|
@@ -47,30 +42,11 @@ INSTALL_PREFIX=/usr/local/rapids | |
export GIT_COMMITTER_NAME="ci" | ||
export GIT_COMMITTER_EMAIL="[email protected]" | ||
export CUDACXX=/usr/local/cuda/bin/nvcc | ||
export RMM_ROOT=$INSTALL_PREFIX | ||
export DLPACK_ROOT=$INSTALL_PREFIX | ||
export LIBCUDF_KERNEL_CACHE_PATH=/rapids | ||
|
||
# add cmake 3.19 to PATH | ||
export PATH=/usr/local/cmake-3.19.0-Linux-x86_64/bin:$PATH | ||
|
||
cd /rapids/ | ||
git clone --recurse-submodules https://github.com/rapidsai/rmm.git -b branch-$RMM_VERSION | ||
git clone --recurse-submodules https://github.com/rapidsai/dlpack.git -b cudf | ||
|
||
###### Build rmm/dlpack ###### | ||
mkdir -p /rapids/rmm/build | ||
cd /rapids/rmm/build | ||
echo "RMM SHA: `git rev-parse HEAD`" | ||
cmake .. -DCMAKE_INSTALL_PREFIX=$INSTALL_PREFIX -DBUILD_TESTS=$BUILD_CPP_TESTS | ||
make -j$PARALLEL_LEVEL install | ||
|
||
mkdir -p /rapids/dlpack/build | ||
cd /rapids/dlpack/build | ||
echo "DLPACK SHA: `git rev-parse HEAD`" | ||
cmake .. -DCMAKE_INSTALL_PREFIX=$INSTALL_PREFIX -DBUILD_TESTS=$BUILD_CPP_TESTS | ||
make -j$PARALLEL_LEVEL install | ||
|
||
###### Build libcudf ###### | ||
rm -rf $WORKSPACE/cpp/build | ||
mkdir -p $WORKSPACE/cpp/build | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters