diff --git a/README.md b/README.md index 96ffa4502..a2a2be972 100644 --- a/README.md +++ b/README.md @@ -164,6 +164,13 @@ There are two ways to fix this: sudo -y add-apt-repository ppa:ubuntugis/ppa sudo apt install libgdal-dev ``` + * Rocky Linux users can install a newer GDAL as follows + ```shell + yum update -y + yum config-manager --set-enabled powertools + yum update -y + yum install -y gdal-devel + ``` 2. Pin fiona's version to a range that's compatible with your version of `libgdal-dev` * For Ubuntu20.04 ([GDAL v3.0.4](https://packages.ubuntu.com/focal/libgdal-dev)): ```shell diff --git a/ci/test_wheel_cuproj.sh b/ci/test_wheel_cuproj.sh index 4144e8dab..594702479 100755 --- a/ci/test_wheel_cuproj.sh +++ b/ci/test_wheel_cuproj.sh @@ -7,8 +7,16 @@ mkdir -p ./dist RAPIDS_PY_CUDA_SUFFIX="$(rapids-wheel-ctk-name-gen ${RAPIDS_CUDA_VERSION})" # install build dependencies for fiona -apt update -DEBIAN_FRONTEND=noninteractive apt install -y --no-install-recommends libgdal-dev +if type -f yum > /dev/null 2>&1; then + yum update -y + # some of gdal-devel's dependencies, like 'libdap', come from the powertools repo + yum config-manager --set-enabled powertools + yum update -y + yum install -y gdal-devel +else + apt update + DEBIAN_FRONTEND=noninteractive apt install -y --no-install-recommends libgdal-dev +fi # Download the cuproj and cuspatial built in the previous step RAPIDS_PY_WHEEL_NAME="cuproj_${RAPIDS_PY_CUDA_SUFFIX}" rapids-download-wheels-from-s3 python ./dist diff --git a/ci/test_wheel_cuspatial.sh b/ci/test_wheel_cuspatial.sh index 8faa4e8d3..c4708e80e 100755 --- a/ci/test_wheel_cuspatial.sh +++ b/ci/test_wheel_cuspatial.sh @@ -7,8 +7,16 @@ mkdir -p ./dist RAPIDS_PY_CUDA_SUFFIX="$(rapids-wheel-ctk-name-gen ${RAPIDS_CUDA_VERSION})" # install build dependencies for fiona -apt update -DEBIAN_FRONTEND=noninteractive apt install -y --no-install-recommends libgdal-dev +if type -f yum > /dev/null 2>&1; then + yum update -y + # some of gdal-devel's dependencies, like 'libdap', come from the powertools repo + yum config-manager --set-enabled powertools + yum update -y + yum install -y gdal-devel +else + apt update + DEBIAN_FRONTEND=noninteractive apt install -y --no-install-recommends libgdal-dev +fi # Download the cuspatial built in the previous step RAPIDS_PY_WHEEL_NAME="cuspatial_${RAPIDS_PY_CUDA_SUFFIX}" rapids-download-wheels-from-s3 python ./dist