Skip to content

Commit

Permalink
remove docs support in build.sh, other small cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
jameslamb committed Oct 21, 2024
1 parent bf64914 commit 26c7d07
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 80 deletions.
39 changes: 0 additions & 39 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ VALIDARGS="
pylibwholegraph
libwholegraph
tests
docs
all
-v
-g
Expand All @@ -50,7 +49,6 @@ HELP="$0 [<target> ...] [<flag> ...]
pylibwholegraph - build the pylibwholegraph Python package
libwholegraph - build the libwholegraph library
tests - build the C++ tests
docs - build the docs
all - build everything
and <flag> is:
-v - verbose build mode
Expand Down Expand Up @@ -260,40 +258,3 @@ if hasArg cugraph-dgl || buildDefault ||hasArg all; then
python ${PYTHON_ARGS_FOR_INSTALL} ${REPODIR}/python/cugraph-dgl
fi
fi

# Build the docs
if hasArg docs || hasArg all; then
if [ ! -d ${LIBCUGRAPH_BUILD_DIR} ]; then
mkdir -p ${LIBCUGRAPH_BUILD_DIR}
cd ${LIBCUGRAPH_BUILD_DIR}
cmake -B "${LIBCUGRAPH_BUILD_DIR}" -S "${REPODIR}/cpp" \
-DCMAKE_INSTALL_PREFIX=${INSTALL_PREFIX} \
-DCMAKE_BUILD_TYPE=${BUILD_TYPE} \
${CMAKE_GENERATOR_OPTION} \
${CMAKE_VERBOSE_OPTION}
fi

for PROJECT in libcugraphops libwholegraph; do
XML_DIR="${REPODIR}/docs/cugraph/${PROJECT}"
rm -rf "${XML_DIR}"
mkdir -p "${XML_DIR}"
export XML_DIR_${PROJECT^^}="$XML_DIR"

echo "downloading xml for ${PROJECT} into ${XML_DIR}. Environment variable XML_DIR_${PROJECT^^} is set to ${XML_DIR}"
curl -O "https://d1664dvumjb44w.cloudfront.net/${PROJECT}/xml_tar/${RAPIDS_VERSION}/xml.tar.gz"
tar -xzf xml.tar.gz -C "${XML_DIR}"
rm "./xml.tar.gz"
done

cd ${LIBCUGRAPH_BUILD_DIR}
cmake --build "${LIBCUGRAPH_BUILD_DIR}" -j${PARALLEL_LEVEL} --target docs_cugraph ${VERBOSE_FLAG}

echo "making libcugraph doc dir"
rm -rf ${REPODIR}/docs/cugraph/libcugraph
mkdir -p ${REPODIR}/docs/cugraph/libcugraph

export XML_DIR_LIBCUGRAPH="${REPODIR}/cpp/doxygen/xml"

cd ${REPODIR}/docs/cugraph
make html
fi
1 change: 0 additions & 1 deletion ci/build_wheel_pylibwholegraph.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

#!/bin/bash
# Copyright (c) 2024, NVIDIA CORPORATION.

Expand Down
6 changes: 3 additions & 3 deletions ci/test_wheel.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ mkdir -p ./dist
RAPIDS_PY_CUDA_SUFFIX="$(rapids-wheel-ctk-name-gen ${RAPIDS_CUDA_VERSION})"
RAPIDS_PY_WHEEL_NAME="${package_name}_${RAPIDS_PY_CUDA_SUFFIX}" rapids-download-wheels-from-s3 ./dist

# use 'ls' to expand wildcard before adding `[extra]` requires for pip
# pip creates wheels using python package names
python -m pip install $(ls ./dist/${python_package_name}*.whl)[test]
# echo to expand wildcard before adding `[extra]` requires for pip
python -m pip install \
"$(echo ./dist/${python_package_name}*.whl)[test]"

# Run smoke tests for aarch64 pull requests
arch=$(uname -m)
Expand Down
37 changes: 0 additions & 37 deletions ci/wheel_smoke_test_cugraph.py

This file was deleted.

0 comments on commit 26c7d07

Please sign in to comment.