Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: [ci] use manylinux_2_28 for aarch64 builds #33

Closed
wants to merge 5 commits into from
Closed
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
8 changes: 4 additions & 4 deletions .github/workflows/publish_image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ jobs:
fail-fast: false
matrix:
include:
- docker_image: manylinux2014_aarch64
- docker_image: manylinux_2_28_aarch64
arch: linux/arm64
- docker_image: manylinux_2_28_x86_64
arch: linux/amd64
# - docker_image: manylinux_2_28_x86_64
# arch: linux/amd64
steps:
- name: Checkout repository
uses: actions/checkout@v4
Expand All @@ -40,7 +40,7 @@ jobs:
uses: docker/setup-qemu-action@v3
if: matrix.arch != 'linux/amd64'
- name: Build and push Docker image
uses: docker/build-push-action@v5
uses: docker/build-push-action@v6
with:
context: ${{ github.workspace }}/images/${{ matrix.docker_image }}/
push: true
Expand Down
Original file line number Diff line number Diff line change
@@ -1,24 +1,17 @@
FROM quay.io/pypa/manylinux2014_aarch64
FROM quay.io/pypa/manylinux_2_28_aarch64

RUN yum update \
RUN yum update -y \
&& yum install -y \
epel-release \
gcc-c++ \
hwloc-devel \
sudo \
&& yum clean all \
&& rm -rf /var/cache/yum

RUN yum install -y \
llvm-toolset-7.0-clang-devel \
llvm-toolset-7.0-llvm-devel \
ocl-icd-devel \
sudo \
&& yum module install -y \
llvm-toolset \
&& yum clean all \
&& rm -rf /var/cache/yum

ENV LD_LIBRARY_PATH "/opt/rh/llvm-toolset-7.0/root/usr/lib64:${LD_LIBRARY_PATH}"
ENV PATH "/opt/rh/llvm-toolset-7.0/root/usr/bin:${PATH}"

RUN git clone --depth 1 --branch v1.8 https://github.com/pocl/pocl.git \
&& cmake \
-B pocl/build \
Expand Down
Loading