Skip to content

Commit

Permalink
[DO NOT MERGE] Build ciwheel on rockylinux8 (#87)
Browse files Browse the repository at this point in the history
  • Loading branch information
AyodeAwe authored Oct 27, 2023
1 parent b005368 commit 0b73479
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 3 deletions.
27 changes: 27 additions & 0 deletions ci-wheel.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,30 @@ RUN case "${LINUX_VER}" in \
&& make install \
&& popd \
;; \
"rockylinux"*) \
dnf update -y \
&& dnf install -y \
epel-release wget gcc zlib-devel bzip2 bzip2-devel readline-devel sqlite \
sqlite-devel xz xz-devel libffi-devel curl git ncurses-devel numactl \
numactl-devel openssh-clients libcudnn8-devel zip \
protobuf-compiler autoconf automake libtool dnf-plugins-core cmake \
&& dnf config-manager --set-enabled powertools \
&& dnf install -y blas-devel lapack-devel \
&& dnf -y install gcc-toolset-11-gcc gcc-toolset-11-gcc-c++ \
&& dnf clean all \
&& echo -e ' \
#!/bin/bash\n \
source /opt/rh/gcc-toolset-11/enable \
' > /etc/profile.d/enable_devtools.sh \
&& pushd tmp \
&& wget https://ftp.openssl.org/source/openssl-1.1.1k.tar.gz \
&& tar -xzvf openssl-1.1.1k.tar.gz \
&& cd openssl-1.1.1k \
&& ./config --prefix=/usr --openssldir=/etc/ssl --libdir=lib no-shared zlib-dynamic \
&& make \
&& make install \
&& popd \
;; \
*) \
echo "Unsupported LINUX_VER: ${LINUX_VER}" && exit 1; \
;; \
Expand Down Expand Up @@ -141,6 +165,9 @@ RUN case "${LINUX_VER}" in \
# Need to specify the openssl location because of the install from source
CPPFLAGS="-I/usr/include/openssl" LDFLAGS="-L/usr/lib" pyenv install --verbose "${RAPIDS_PY_VERSION}" \
;; \
"rockylinux"*) \
CPPFLAGS="-I/usr/include/openssl" LDFLAGS="-L/usr/lib" pyenv install --verbose "${RAPIDS_PY_VERSION}" \
;; \
*) \
echo "Unsupported LINUX_VER: ${LINUX_VER}" && exit 1; \
;; \
Expand Down
4 changes: 1 addition & 3 deletions matrix.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,9 @@ exclude:
- CUDA_VER: "12.1.1"
IMAGE_REPO: "ci-wheel"

# exclude citestwheel and ci-wheel for rockylinux8
# exclude citestwheel for rockylinux8
- LINUX_VER: "rockylinux8"
IMAGE_REPO: "citestwheel"
- LINUX_VER: "rockylinux8"
IMAGE_REPO: "ci-wheel"

# exclude citestwheel and ci-wheel for ubuntu22.04
- LINUX_VER: "ubuntu22.04"
Expand Down

0 comments on commit 0b73479

Please sign in to comment.