Skip to content
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
1 change: 1 addition & 0 deletions ci/axis/nightly.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ CUDA_VER:
- 10.2
- 10.1

# TODO: DEPRECATED - No longer used and needs to be removed & gpuCI jobs updated
DEFAULT_CUDA_VER:
- 10.1

Expand Down
1 change: 1 addition & 0 deletions ci/axis/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ CUDA_VER:
- 10.2
- 10.1

# TODO: DEPRECATED - No longer used and needs to be removed & gpuCI jobs updated
DEFAULT_CUDA_VER:
- 10.1

Expand Down
23 changes: 1 addition & 22 deletions ci/cpu/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,6 @@ set -e
export PATH=/conda/bin:$PATH
export HOME=$WORKSPACE

# Save original build offset
export ORIG_OFFSET=$RAPIDS_OFFSET

# Set recipe paths
CONDA_XGBOOST_RECIPE="conda/recipes/rapids-xgboost"
CONDA_RAPIDS_RECIPE="conda/recipes/rapids"
Expand Down Expand Up @@ -67,27 +64,9 @@ function build_pkg {
fi
}

function build_default_pkg {
# Build default version if current version matches DEFAULT_CUDA_VER
if [ "$CUDA_VER" == "$DEFAULT_CUDA_VER" ] ; then
gpuci_logger "Current CUDA_VER '$CUDA_VER' is the DEFAULT_CUDA_VER, building package again with incremented build number..."
gpuci_logger "Previous build number '$RAPIDS_OFFSET'"
export RAPIDS_OFFSET=$((RAPIDS_OFFSET+1))
gpuci_logger "New build number '$RAPIDS_OFFSET'"
build_pkg $1
# Reset offset
export RAPIDS_OFFSET=$ORIG_OFFSET
gpuci_logger "Reset build number after default build '$RAPIDS_OFFSET'"
else
gpuci_logger "Current CUDA_VER '$CUDA_VER' is not DEFAULT_CUDA_VER, skipping default build..."
fi
}

function run_builds {
# Kick off main pkg b
# Kick off main pkg build
build_pkg $1
# Check and build default pkgs
build_default_pkg $1
}

function upload_builds {
Expand Down