Apache DataFusion SQL Query Engine
ARROW-9276: [Dev] Enable ARROW_CUDA when generating API documentations
Krisztián Szűcse80540a8d861
diff --git a/ci/docker/linux-apt-docs.dockerfile b/ci/docker/linux-apt-docs.dockerfileindex 55ce2b87cd..d0d98d5cd3 100644--- a/ci/docker/linux-apt-docs.dockerfile+++ b/ci/docker/linux-apt-docs.dockerfile@@ -43,6 +43,7 @@ RUN apt-get update -y && \libtool \libxml2-dev \ninja-build \+ nvidia-cuda-toolkit \openjdk-${jdk}-jdk-headless \pandoc \r-base=${r}* \diff --git a/dev/release/post-09-docs.sh b/dev/release/post-09-docs.shindex a507893756..62766e1f99 100755--- a/dev/release/post-09-docs.sh+++ b/dev/release/post-09-docs.sh@@ -42,21 +42,26 @@ popdpushd "${ARROW_DIR}"git checkout "${release_tag}"-docker-compose build ubuntu-cpp-docker-compose build ubuntu-python-docker-compose build ubuntu-docs-docker-compose run --rm \+archery docker run \-v "${ARROW_SITE_DIR}/docs:/build/docs" \-e ARROW_DOCS_VERSION="${version}" \ubuntu-docs-popd-pushd "${ARROW_SITE_DIR}"-git add docs-git commit -m "[Website] Update documentations for ${version}"-git push -u origin ${branch_name}-popd+: ${PUSH:=1}-echo "Success!"-echo "Create a pull request:"-echo " ${github_url}/pull/new/${branch_name}"+if [ ${PUSH} -gt 0 ]; then+ pushd "${ARROW_SITE_DIR}"+ git add docs+ git commit -m "[Website] Update documentations for ${version}"+ git push -u origin ${branch_name}+ popd++ github_url=$(git remote get-url origin | \+ sed \+ -e 's,^[email protected]:,https://github.com/,' \+ -e 's,\.git$,,')++ echo "Success!"+ echo "Create a pull request:"+ echo " ${github_url}/pull/new/${branch_name}"+fidiff --git a/docker-compose.yml b/docker-compose.ymlindex 7795254591..62ddca0cfc 100644--- a/docker-compose.yml+++ b/docker-compose.yml@@ -65,7 +65,6 @@ x-ccache: &ccachex-with-gpus:- ubuntu-cuda-cpp- ubuntu-cuda-python- - ubuntu-cuda-docsx-hierarchy:# This section is used by the archery tool to enable building nested images,@@ -116,8 +115,7 @@ x-hierarchy:- ubuntu-docs- ubuntu-r- ubuntu-cuda-cpp:- - ubuntu-cuda-python:- - ubuntu-cuda-docs+ - ubuntu-cuda-python- ubuntu-csharp- ubuntu-cpp-sanitizer- ubuntu-r-sanitizer@@ -1124,6 +1122,7 @@ services:base: ${REPO}:${ARCH}-ubuntu-${UBUNTU}-python-3environment:<<: *ccache+ ARROW_CUDA: "ON"ARROW_GLIB_GTK_DOC: "true"volumes: *ubuntu-volumescommand: &docs-command >@@ -1136,30 +1135,6 @@ services:/arrow/ci/scripts/r_build.sh /arrow true &&/arrow/ci/scripts/docs_build.sh /arrow /build"- ubuntu-cuda-docs:- # Usage:- # docker-compose build ubuntu-cuda-cpp- # docker-compose build ubuntu-cuda-python- # docker-compose build ubuntu-cuda-docs- # docker-compose run --rm ubuntu-cuda-docs- # Notes about --runtime and --gpus and docker-compose incompatibility- image: ${REPO}:${ARCH}-ubuntu-${UBUNTU}-cuda-${CUDA}-python-3-docs- build:- context: .- dockerfile: ci/docker/linux-apt-docs.dockerfile- cache_from:- - ${REPO}:${ARCH}-ubuntu-${UBUNTU}-docs- args:- jdk: ${JDK}- node: ${NODE}- base: ${REPO}:${ARCH}-ubuntu-${UBUNTU}-cuda-${CUDA}-python-3- environment:- <<: *ccache- ARROW_CUDA: "ON"- ARROW_GLIB_GTK_DOC: "true"- volumes: *ubuntu-volumes- command: *docs-command-################################# Tools #####################################ubuntu-lint: