-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- eigen-devel not available on manylinux2014 - was considering using 2_34 but we use older for potential compatibility issues - 2_28 based on alma linux, uses dnf - changed "latest" version of cmake. dnf installs 3.26. - TMP for testing, only use aarch64 in builds
- Loading branch information
Showing
3 changed files
with
9 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,4 @@ | ||
ARG BASE_IMAGE=quay.io/pypa/manylinux2014_x86_64 | ||
ARG BASE_IMAGE=quay.io/pypa/manylinux_2_28_x86_64 | ||
FROM ${BASE_IMAGE} | ||
|
||
RUN yum install -y \ | ||
git \ | ||
wget \ | ||
eigen3-devel \ | ||
hdf5-devel | ||
|
||
# Install the latest cmake | ||
RUN VERSION=3.19.4 && \ | ||
wget -q https://github.com/Kitware/CMake/releases/download/v$VERSION/cmake-$VERSION-Linux-x86_64.sh && \ | ||
bash cmake-$VERSION-Linux-x86_64.sh --skip-license --prefix=/usr/local && \ | ||
rm cmake-$VERSION-Linux-x86_64.sh | ||
RUN dnf install wget eigen3-devel hdf5-devel cmake -y |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,9 @@ | ||
#!/usr/bin/env bash | ||
|
||
image_base=quay.io/pypa/manylinux2014_x86_64 | ||
tag=openchemistry/stempy_wheel_builder | ||
# arch=x86_64 | ||
arch=aarch64 | ||
image_base=quay.io/pypa/manylinux_2_28_${arch} | ||
tag=samwelborn/stempy_wheel_builder | ||
|
||
docker build . -t $tag --build-arg BASE_IMAGE=$image_base | ||
docker build . -t $tag --build-arg BASE_IMAGE=$image_base --build-arg ARCH=$arch | ||
docker push $tag |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters