mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-07-05 04:17:53 +00:00
Update manylinux build scripts (#8724)
Update manylinux build scripts. Sync it with the latest upstream.
This commit is contained in:
parent
385b571824
commit
f04a235c77
31 changed files with 873 additions and 398 deletions
|
|
@ -17,8 +17,8 @@
|
|||
"Type": "other",
|
||||
"other": {
|
||||
"Name": "automake",
|
||||
"Version": "1.16.3",
|
||||
"DownloadUrl": "http://ftp.gnu.org/gnu/automake/automake-1.16.3.tar.gz"
|
||||
"Version": "1.16.4",
|
||||
"DownloadUrl": "http://ftp.gnu.org/gnu/automake/automake-1.16.4.tar.gz"
|
||||
},
|
||||
"comments": "manylinux dependency"
|
||||
}
|
||||
|
|
@ -39,8 +39,8 @@
|
|||
"Type": "other",
|
||||
"other": {
|
||||
"Name": "patchelf",
|
||||
"Version": "0.12",
|
||||
"DownloadUrl": "https://github.com/NixOS/patchelf/archive/0.12.tar.gz"
|
||||
"Version": "0.13",
|
||||
"DownloadUrl": "https://github.com/NixOS/patchelf/archive/0.13.tar.gz"
|
||||
},
|
||||
"comments": "manylinux dependency"
|
||||
}
|
||||
|
|
@ -50,8 +50,8 @@
|
|||
"Type": "other",
|
||||
"other": {
|
||||
"Name": "libxcrypt",
|
||||
"Version": "4.4.17",
|
||||
"DownloadUrl": "https://github.com/besser82/libxcrypt/archive/v4.4.17.tar.gz"
|
||||
"Version": "4.4.23",
|
||||
"DownloadUrl": "https://github.com/besser82/libxcrypt/archive/v4.4.23.tar.gz"
|
||||
},
|
||||
"comments": "manylinux dependency"
|
||||
}
|
||||
|
|
@ -61,19 +61,8 @@
|
|||
"Type": "other",
|
||||
"other": {
|
||||
"Name": "git",
|
||||
"Version": "2.31.1",
|
||||
"DownloadUrl": "https://www.kernel.org/pub/software/scm/git/git-2.31.1.tar.gz"
|
||||
},
|
||||
"comments": "manylinux dependency"
|
||||
}
|
||||
},
|
||||
{
|
||||
"Component": {
|
||||
"Type": "other",
|
||||
"other": {
|
||||
"Name": "cmake",
|
||||
"Version": "3.21.0",
|
||||
"DownloadUrl": "https://github.com/Kitware/CMake/releases/download/v3.21.0/cmake-3.21.0.tar.gz"
|
||||
"Version": "2.32.0",
|
||||
"DownloadUrl": "https://www.kernel.org/pub/software/scm/git/git-2.32.0.tar.gz"
|
||||
},
|
||||
"comments": "manylinux dependency"
|
||||
}
|
||||
|
|
@ -94,8 +83,8 @@
|
|||
"Type": "other",
|
||||
"other": {
|
||||
"Name": "sqlite_autoconf",
|
||||
"Version": "3350500",
|
||||
"DownloadUrl": "https://www.sqlite.org/2021/sqlite-autoconf-3350500.tar.gz"
|
||||
"Version": "3360000",
|
||||
"DownloadUrl": "https://www.sqlite.org/2021/sqlite-autoconf-3360000.tar.gz"
|
||||
},
|
||||
"comments": "manylinux dependency"
|
||||
}
|
||||
|
|
@ -305,7 +294,7 @@
|
|||
"component": {
|
||||
"type": "git",
|
||||
"git": {
|
||||
"commitHash": "a57bc99daa6ddeef2ad535f8f78d1847f57216f0",
|
||||
"commitHash": "1f63dcb7fcc3a8bf5c3c8e326867ecd6f5c43f35",
|
||||
"repositoryUrl": "https://github.com/onnx/onnx"
|
||||
},
|
||||
"comments": "git submodule at cmake/external/onnx"
|
||||
|
|
|
|||
|
|
@ -13,13 +13,13 @@ jobs:
|
|||
parameters:
|
||||
Dockerfile: tools/ci_build/github/linux/docker/Dockerfile.manylinux2014_cuda11_4_tensorrt8_0
|
||||
Context: tools/ci_build/github/linux/docker
|
||||
DockerBuildArgs: "--network=host --build-arg POLICY=manylinux2014 --build-arg PLATFORM=x86_64 --build-arg DEVTOOLSET_ROOTPATH=/opt/rh/devtoolset-9/root --build-arg PREPEND_PATH=/opt/rh/devtoolset-9/root/usr/bin: --build-arg LD_LIBRARY_PATH_ARG=/opt/rh/devtoolset-9/root/usr/lib64:/opt/rh/devtoolset-9/root/usr/lib:/opt/rh/devtoolset-9/root/usr/lib64/dyninst:/opt/rh/devtoolset-9/root/usr/lib/dyninst:/usr/local/lib64 --build-arg BUILD_UID=$( id -u )"
|
||||
DockerBuildArgs: "--network=host --build-arg POLICY=manylinux2014 --build-arg PLATFORM=x86_64 --build-arg DEVTOOLSET_ROOTPATH=/opt/rh/devtoolset-10/root --build-arg PREPEND_PATH=/opt/rh/devtoolset-10/root/usr/bin: --build-arg LD_LIBRARY_PATH_ARG=/opt/rh/devtoolset-10/root/usr/lib64:/opt/rh/devtoolset-10/root/usr/lib:/opt/rh/devtoolset-10/root/usr/lib64/dyninst:/opt/rh/devtoolset-10/root/usr/lib/dyninst:/usr/local/lib64 --build-arg BUILD_UID=$( id -u )"
|
||||
Repository: onnxruntimetensorrt8gpubuild
|
||||
- task: CmdLine@2
|
||||
inputs:
|
||||
script: |
|
||||
mkdir -p $HOME/.onnx
|
||||
docker run --gpus all -e CC=/opt/rh/devtoolset-9/root/usr/bin/cc -e CXX=/opt/rh/devtoolset-9/root/usr/bin/c++ -e CFLAGS="-Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fstack-clash-protection -fcf-protection -O3 -Wl,--strip-all" -e CXXFLAGS="-Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fstack-clash-protection -fcf-protection -O3 -Wl,--strip-all" --rm \
|
||||
docker run --gpus all -e CC=/opt/rh/devtoolset-10/root/usr/bin/cc -e CXX=/opt/rh/devtoolset-10/root/usr/bin/c++ -e CFLAGS="-Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fstack-clash-protection -fcf-protection -O3 -Wl,--strip-all" -e CXXFLAGS="-Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fstack-clash-protection -fcf-protection -O3 -Wl,--strip-all" --rm \
|
||||
--volume /data/onnx:/data/onnx:ro \
|
||||
--volume $(Build.SourcesDirectory):/onnxruntime_src \
|
||||
--volume $(Build.BinariesDirectory):/build \
|
||||
|
|
@ -39,7 +39,7 @@ jobs:
|
|||
--enable_onnx_tests --use_cuda --cuda_version=11.4 --cuda_home=/usr/local/cuda-11.4 --cudnn_home=/usr/local/cuda-11.4 \
|
||||
--enable_pybind --build_java --build_nodejs \
|
||||
--use_tensorrt --tensorrt_home /usr \
|
||||
--cmake_extra_defines CMAKE_CUDA_HOST_COMPILER=/opt/rh/devtoolset-9/root/usr/bin/cc CMAKE_CUDA_ARCHITECTURES=52
|
||||
--cmake_extra_defines CMAKE_CUDA_HOST_COMPILER=/opt/rh/devtoolset-10/root/usr/bin/cc CMAKE_CUDA_ARCHITECTURES=52
|
||||
workingDirectory: $(Build.SourcesDirectory)
|
||||
- task: PublishTestResults@2
|
||||
displayName: 'Publish unit test results'
|
||||
|
|
|
|||
|
|
@ -16,16 +16,16 @@ jobs:
|
|||
parameters:
|
||||
Dockerfile: tools/ci_build/github/linux/docker/Dockerfile.manylinux2014_cuda11_4_tensorrt8_0
|
||||
Context: tools/ci_build/github/linux/docker
|
||||
DockerBuildArgs: "--network=host --build-arg POLICY=manylinux2014 --build-arg PLATFORM=x86_64 --build-arg DEVTOOLSET_ROOTPATH=/opt/rh/devtoolset-9/root --build-arg PREPEND_PATH=/opt/rh/devtoolset-9/root/usr/bin: --build-arg LD_LIBRARY_PATH_ARG=/opt/rh/devtoolset-9/root/usr/lib64:/opt/rh/devtoolset-9/root/usr/lib:/opt/rh/devtoolset-9/root/usr/lib64/dyninst:/opt/rh/devtoolset-9/root/usr/lib/dyninst:/usr/local/lib64 --build-arg BUILD_UID=$( id -u )"
|
||||
DockerBuildArgs: "--network=host --build-arg POLICY=manylinux2014 --build-arg PLATFORM=x86_64 --build-arg DEVTOOLSET_ROOTPATH=/opt/rh/devtoolset-10/root --build-arg PREPEND_PATH=/opt/rh/devtoolset-10/root/usr/bin: --build-arg LD_LIBRARY_PATH_ARG=/opt/rh/devtoolset-10/root/usr/lib64:/opt/rh/devtoolset-10/root/usr/lib:/opt/rh/devtoolset-10/root/usr/lib64/dyninst:/opt/rh/devtoolset-10/root/usr/lib/dyninst:/usr/local/lib64 --build-arg BUILD_UID=$( id -u )"
|
||||
Repository: onnxruntimecuda114xtrt80build
|
||||
- task: CmdLine@2
|
||||
inputs:
|
||||
script: |
|
||||
mkdir -p $HOME/.onnx
|
||||
docker run --gpus all -e CC=/opt/rh/devtoolset-9/root/usr/bin/cc -e CXX=/opt/rh/devtoolset-9/root/usr/bin/c++ -e CFLAGS="-Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fstack-clash-protection -fcf-protection -O3 -Wl,--strip-all" -e CXXFLAGS="-Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fstack-clash-protection -fcf-protection -O3 -Wl,--strip-all" -e NVIDIA_VISIBLE_DEVICES=all --rm --volume /data/onnx:/data/onnx:ro --volume $(Build.SourcesDirectory):/onnxruntime_src --volume $(Build.BinariesDirectory):/build \
|
||||
docker run --gpus all -e CC=/opt/rh/devtoolset-10/root/usr/bin/cc -e CXX=/opt/rh/devtoolset-10/root/usr/bin/c++ -e CFLAGS="-Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fstack-clash-protection -fcf-protection -O3 -Wl,--strip-all" -e CXXFLAGS="-Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fstack-clash-protection -fcf-protection -O3 -Wl,--strip-all" -e NVIDIA_VISIBLE_DEVICES=all --rm --volume /data/onnx:/data/onnx:ro --volume $(Build.SourcesDirectory):/onnxruntime_src --volume $(Build.BinariesDirectory):/build \
|
||||
--volume /data/models:/build/models:ro --volume $HOME/.onnx:/home/onnxruntimedev/.onnx -e NIGHTLY_BUILD onnxruntimecuda114xtrt80build \
|
||||
/opt/python/cp37-cp37m/bin/python3 /onnxruntime_src/tools/ci_build/build.py --build_dir /build --config Release \
|
||||
--skip_submodule_sync --parallel --build_shared_lib --use_tensorrt --cuda_version=$(CUDA_VERSION) --cuda_home=/usr/local/cuda-$(CUDA_VERSION) --cudnn_home=/usr --tensorrt_home=/usr --cmake_extra_defines CMAKE_CUDA_HOST_COMPILER=/opt/rh/devtoolset-9/root/usr/bin/cc 'CMAKE_CUDA_ARCHITECTURES=37;50;52;60;61;70;75;80'
|
||||
--skip_submodule_sync --parallel --build_shared_lib --use_tensorrt --cuda_version=$(CUDA_VERSION) --cuda_home=/usr/local/cuda-$(CUDA_VERSION) --cudnn_home=/usr --tensorrt_home=/usr --cmake_extra_defines CMAKE_CUDA_HOST_COMPILER=/opt/rh/devtoolset-10/root/usr/bin/cc 'CMAKE_CUDA_ARCHITECTURES=37;50;52;60;61;70;75;80'
|
||||
workingDirectory: $(Build.SourcesDirectory)
|
||||
|
||||
- template: templates/c-api-artifacts-package-and-publish-steps-posix.yml
|
||||
|
|
|
|||
|
|
@ -303,9 +303,9 @@ stages:
|
|||
--build-arg INSTALL_DEPS_EXTRA_ARGS=-tmur
|
||||
--build-arg BUILD_UID=$(id -u)
|
||||
--network=host --build-arg POLICY=manylinux2014 --build-arg PLATFORM=x86_64
|
||||
--build-arg DEVTOOLSET_ROOTPATH=/opt/rh/devtoolset-9/root
|
||||
--build-arg PREPEND_PATH=/opt/rh/devtoolset-9/root/usr/bin:
|
||||
--build-arg LD_LIBRARY_PATH_ARG=/opt/rh/devtoolset-9/root/usr/lib64:/opt/rh/devtoolset-9/root/usr/lib:/opt/rh/devtoolset-9/root/usr/lib64/dyninst:/opt/rh/devtoolset-9/root/usr/lib/dyninst:/usr/local/lib64
|
||||
--build-arg DEVTOOLSET_ROOTPATH=/opt/rh/devtoolset-10/root
|
||||
--build-arg PREPEND_PATH=/opt/rh/devtoolset-10/root/usr/bin:
|
||||
--build-arg LD_LIBRARY_PATH_ARG=/opt/rh/devtoolset-10/root/usr/lib64:/opt/rh/devtoolset-10/root/usr/lib:/opt/rh/devtoolset-10/root/usr/lib64/dyninst:/opt/rh/devtoolset-10/root/usr/lib/dyninst:/usr/local/lib64
|
||||
Repository: onnxruntimetrainingrocmbuild-torch1.8.1
|
||||
- template: get-docker-image-steps.yml
|
||||
parameters:
|
||||
|
|
@ -316,9 +316,9 @@ stages:
|
|||
--build-arg INSTALL_DEPS_EXTRA_ARGS=-tmur
|
||||
--build-arg BUILD_UID=$(id -u)
|
||||
--network=host --build-arg POLICY=manylinux2014 --build-arg PLATFORM=x86_64
|
||||
--build-arg DEVTOOLSET_ROOTPATH=/opt/rh/devtoolset-9/root
|
||||
--build-arg PREPEND_PATH=/opt/rh/devtoolset-9/root/usr/bin:
|
||||
--build-arg LD_LIBRARY_PATH_ARG=/opt/rh/devtoolset-9/root/usr/lib64:/opt/rh/devtoolset-9/root/usr/lib:/opt/rh/devtoolset-9/root/usr/lib64/dyninst:/opt/rh/devtoolset-9/root/usr/lib/dyninst:/usr/local/lib64
|
||||
--build-arg DEVTOOLSET_ROOTPATH=/opt/rh/devtoolset-10/root
|
||||
--build-arg PREPEND_PATH=/opt/rh/devtoolset-10/root/usr/bin:
|
||||
--build-arg LD_LIBRARY_PATH_ARG=/opt/rh/devtoolset-10/root/usr/lib64:/opt/rh/devtoolset-10/root/usr/lib:/opt/rh/devtoolset-10/root/usr/lib64/dyninst:/opt/rh/devtoolset-10/root/usr/lib/dyninst:/usr/local/lib64
|
||||
Repository: onnxruntimetrainingrocmbuild-torch1.9.0
|
||||
|
||||
- job: ROCM_training_wheels
|
||||
|
|
@ -372,7 +372,7 @@ stages:
|
|||
--network=host \
|
||||
--cap-add=SYS_PTRACE \
|
||||
--security-opt seccomp=unconfined \
|
||||
-e CC=/opt/rh/devtoolset-9/root/usr/bin/cc -e CXX=/opt/rh/devtoolset-9/root/usr/bin/c++ -e CFLAGS="-Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fstack-clash-protection -fcf-protection -O3 -Wl,--strip-all" -e CXXFLAGS="-Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fstack-clash-protection -fcf-protection -O3 -Wl,--strip-all" \
|
||||
-e CC=/opt/rh/devtoolset-10/root/usr/bin/cc -e CXX=/opt/rh/devtoolset-10/root/usr/bin/c++ -e CFLAGS="-Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fstack-clash-protection -fcf-protection -O3 -Wl,--strip-all" -e CXXFLAGS="-Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fstack-clash-protection -fcf-protection -O3 -Wl,--strip-all" \
|
||||
--volume $(Build.SourcesDirectory):/onnxruntime_src \
|
||||
--volume $(Build.BinariesDirectory):/build \
|
||||
--workdir /onnxruntime_src \
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ FROM quay.io/pypa/manylinux2014_x86_64:latest
|
|||
ENV PATH /usr/local/gradle/bin:/opt/rh/devtoolset-10/root/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
|
||||
|
||||
ADD scripts /tmp/scripts
|
||||
RUN yum remove -y devtoolset\* && yum install -y devtoolset-10-binutils devtoolset-10-gcc devtoolset-10-gcc-c++ devtoolset-10-gcc-gfortran && cd /tmp/scripts && /tmp/scripts/manylinux/install_centos.sh && /tmp/scripts/manylinux/install_deps.sh && rm -rf /tmp/scripts
|
||||
RUN cd /tmp/scripts && /tmp/scripts/manylinux/install_centos.sh && /tmp/scripts/manylinux/install_deps.sh && rm -rf /tmp/scripts
|
||||
|
||||
ARG BUILD_UID=1001
|
||||
ARG BUILD_USER=onnxruntimedev
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@ ENV PATH=${PREPEND_PATH}${PATH}
|
|||
ENV PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
|
||||
|
||||
# first copy the fixup mirrors script, keep the script around
|
||||
COPY build_scripts/fixup-mirrors.sh /usr/bin/fixup-mirrors
|
||||
COPY build_scripts/fixup-mirrors.sh /usr/local/sbin/fixup-mirrors
|
||||
|
||||
# setup entrypoint, this will wrap commands with `linux32` with i686 images
|
||||
COPY build_scripts/install-entrypoint.sh build_scripts/update-system-packages.sh /build_scripts/
|
||||
|
|
@ -47,8 +47,8 @@ RUN export AUTOCONF_ROOT=autoconf-2.71 && \
|
|||
manylinux-entrypoint /build_scripts/install-autoconf.sh
|
||||
|
||||
COPY build_scripts/install-automake.sh /build_scripts/
|
||||
RUN export AUTOMAKE_ROOT=automake-1.16.3 && \
|
||||
export AUTOMAKE_HASH=ce010788b51f64511a1e9bb2a1ec626037c6d0e7ede32c1c103611b9d3cba65f && \
|
||||
RUN export AUTOMAKE_ROOT=automake-1.16.4 && \
|
||||
export AUTOMAKE_HASH=8a0f0be7aaae2efa3a68482af28e5872d8830b9813a6a932a2571eac63ca1794 && \
|
||||
export AUTOMAKE_DOWNLOAD_URL=http://ftp.gnu.org/gnu/automake && \
|
||||
manylinux-entrypoint /build_scripts/install-automake.sh
|
||||
|
||||
|
|
@ -59,15 +59,18 @@ RUN export LIBTOOL_ROOT=libtool-2.4.6 && \
|
|||
manylinux-entrypoint /build_scripts/install-libtool.sh
|
||||
|
||||
COPY build_scripts/install-patchelf.sh /build_scripts/
|
||||
RUN export PATCHELF_VERSION=0.12 && \
|
||||
export PATCHELF_HASH=3dca33fb862213b3541350e1da262249959595903f559eae0fbc68966e9c3f56 && \
|
||||
RUN export PATCHELF_VERSION=0.13 && \
|
||||
export PATCHELF_HASH=60c6aeadb673de9cc1838b630c81f61e31c501de324ef7f1e8094a2431197d09 && \
|
||||
export PATCHELF_DOWNLOAD_URL=https://github.com/NixOS/patchelf/archive && \
|
||||
manylinux-entrypoint /build_scripts/install-patchelf.sh
|
||||
|
||||
COPY build_scripts/install-libxcrypt.sh /build_scripts/
|
||||
RUN export LIBXCRYPT_VERSION=4.4.17 && \
|
||||
export LIBXCRYPT_HASH=7665168d0409574a03f7b484682e68334764c29c21ca5df438955a381384ca07 && \
|
||||
RUN export LIBXCRYPT_VERSION=4.4.23 && \
|
||||
export LIBXCRYPT_HASH=9cbbcb795ed5d121a1613eb0e40c77173b53e15a746796fc7cd7bd71cfd64533 && \
|
||||
export LIBXCRYPT_DOWNLOAD_URL=https://github.com/besser82/libxcrypt/archive && \
|
||||
export PERL_ROOT=perl-5.34.0 && \
|
||||
export PERL_HASH=551efc818b968b05216024fb0b727ef2ad4c100f8cb6b43fab615fa78ae5be9a && \
|
||||
export PERL_DOWNLOAD_URL=https://www.cpan.org/src/5.0 && \
|
||||
manylinux-entrypoint /build_scripts/install-libxcrypt.sh
|
||||
|
||||
|
||||
|
|
@ -78,20 +81,12 @@ RUN manylinux-entrypoint /build_scripts/install-build-packages.sh
|
|||
|
||||
FROM build_base AS build_git
|
||||
COPY build_scripts/build-git.sh /build_scripts/
|
||||
RUN export GIT_ROOT=git-2.31.1 && \
|
||||
export GIT_HASH=46d37c229e9d786510e0c53b60065704ce92d5aedc16f2c5111e3ed35093bfa7 && \
|
||||
RUN export GIT_ROOT=git-2.32.0 && \
|
||||
export GIT_HASH=6038f06d396ba9dab2eee541c7db6e7f9f847f181ec62f3d8441893f8c469398 && \
|
||||
export GIT_DOWNLOAD_URL=https://www.kernel.org/pub/software/scm/git && \
|
||||
manylinux-entrypoint /build_scripts/build-git.sh
|
||||
|
||||
|
||||
FROM build_base AS build_cmake
|
||||
COPY build_scripts/build-cmake.sh /build_scripts/
|
||||
RUN export CMAKE_VERSION=3.21.0 && \
|
||||
export CMAKE_HASH=4a42d56449a51f4d3809ab4d3b61fd4a96a469e56266e896ce1009b5768bd2ab && \
|
||||
export CMAKE_DOWNLOAD_URL=https://github.com/Kitware/CMake/releases/download && \
|
||||
manylinux-entrypoint /build_scripts/build-cmake.sh
|
||||
|
||||
|
||||
FROM build_base AS build_swig
|
||||
COPY build_scripts/build-swig.sh /build_scripts/
|
||||
RUN export SWIG_ROOT=swig-4.0.2 && \
|
||||
|
|
@ -105,8 +100,8 @@ RUN export SWIG_ROOT=swig-4.0.2 && \
|
|||
|
||||
FROM build_base AS build_cpython
|
||||
COPY build_scripts/build-sqlite3.sh /build_scripts/
|
||||
RUN export SQLITE_AUTOCONF_ROOT=sqlite-autoconf-3350500 && \
|
||||
export SQLITE_AUTOCONF_HASH=f52b72a5c319c3e516ed7a92e123139a6e87af08a2dc43d7757724f6132e6db0 && \
|
||||
RUN export SQLITE_AUTOCONF_ROOT=sqlite-autoconf-3360000 && \
|
||||
export SQLITE_AUTOCONF_HASH=bd90c3eb96bee996206b83be7065c9ce19aef38c3f4fb53073ada0d0b69bbce3 && \
|
||||
export SQLITE_AUTOCONF_DOWNLOAD_URL=https://www.sqlite.org/2021 && \
|
||||
manylinux-entrypoint /build_scripts/build-sqlite3.sh
|
||||
|
||||
|
|
@ -121,35 +116,33 @@ COPY build_scripts/build-cpython.sh /build_scripts/
|
|||
|
||||
FROM build_cpython AS build_cpython36
|
||||
COPY build_scripts/cpython-pubkeys.txt /build_scripts/cpython-pubkeys.txt
|
||||
|
||||
RUN manylinux-entrypoint /build_scripts/build-cpython.sh 3.6.13
|
||||
RUN manylinux-entrypoint /build_scripts/build-cpython.sh 3.6.14
|
||||
|
||||
|
||||
FROM build_cpython AS build_cpython37
|
||||
COPY build_scripts/cpython-pubkeys.txt /build_scripts/cpython-pubkeys.txt
|
||||
|
||||
RUN manylinux-entrypoint /build_scripts/build-cpython.sh 3.7.10
|
||||
RUN manylinux-entrypoint /build_scripts/build-cpython.sh 3.7.11
|
||||
|
||||
|
||||
FROM build_cpython AS build_cpython38
|
||||
COPY build_scripts/ambv-pubkey.txt /build_scripts/cpython-pubkeys.txt
|
||||
|
||||
RUN manylinux-entrypoint /build_scripts/build-cpython.sh 3.8.10
|
||||
RUN manylinux-entrypoint /build_scripts/build-cpython.sh 3.8.11
|
||||
|
||||
|
||||
FROM build_cpython AS build_cpython39
|
||||
COPY build_scripts/ambv-pubkey.txt /build_scripts/cpython-pubkeys.txt
|
||||
|
||||
RUN manylinux-entrypoint /build_scripts/build-cpython.sh 3.9.5
|
||||
RUN manylinux-entrypoint /build_scripts/build-cpython.sh 3.9.6
|
||||
|
||||
|
||||
FROM build_cpython AS build_cpython310
|
||||
COPY build_scripts/cpython-pubkey-310-311.txt /build_scripts/cpython-pubkeys.txt
|
||||
|
||||
RUN manylinux-entrypoint /build_scripts/build-cpython.sh 3.10.0b1
|
||||
RUN manylinux-entrypoint /build_scripts/build-cpython.sh 3.10.0rc1
|
||||
|
||||
|
||||
FROM build_cpython AS all_cpython
|
||||
FROM build_cpython AS all_python
|
||||
COPY build_scripts/install-pypy.sh /build_scripts/install-pypy.sh
|
||||
COPY build_scripts/pypy.sha256 /build_scripts/pypy.sha256
|
||||
RUN manylinux-entrypoint /build_scripts/install-pypy.sh 3.7 7.3.5
|
||||
COPY --from=build_cpython36 /opt/_internal /opt/_internal/
|
||||
COPY --from=build_cpython37 /opt/_internal /opt/_internal/
|
||||
COPY --from=build_cpython38 /opt/_internal /opt/_internal/
|
||||
|
|
@ -160,11 +153,20 @@ RUN hardlink -cv /opt/_internal
|
|||
|
||||
FROM runtime_base
|
||||
COPY --from=build_git /manylinux-rootfs /
|
||||
COPY --from=build_cmake /manylinux-rootfs /
|
||||
COPY --from=build_swig /manylinux-rootfs /
|
||||
COPY --from=build_cpython /manylinux-rootfs /
|
||||
COPY --from=all_cpython /opt/_internal /opt/_internal/
|
||||
COPY build_scripts/finalize.sh build_scripts/update-system-packages.sh build_scripts/python-tag-abi-tag.py build_scripts/requirements.txt build_scripts/requirements-tools.txt /build_scripts/
|
||||
COPY --from=all_python /opt/_internal /opt/_internal/
|
||||
COPY build_scripts/finalize.sh \
|
||||
build_scripts/update-system-packages.sh \
|
||||
build_scripts/python-tag-abi-tag.py \
|
||||
build_scripts/requirements3.6.txt \
|
||||
build_scripts/requirements3.7.txt \
|
||||
build_scripts/requirements3.8.txt \
|
||||
build_scripts/requirements3.9.txt \
|
||||
build_scripts/requirements3.10.txt \
|
||||
build_scripts/requirements-base-tools.txt \
|
||||
/build_scripts/
|
||||
COPY build_scripts/requirements-tools/* /build_scripts/requirements-tools/
|
||||
RUN manylinux-entrypoint /build_scripts/finalize.sh && rm -rf /build_scripts
|
||||
|
||||
ENV SSL_CERT_FILE=/opt/_internal/certs.pem
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@ ENV PATH=${PREPEND_PATH}${PATH}
|
|||
ENV PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
|
||||
|
||||
# first copy the fixup mirrors script, keep the script around
|
||||
COPY build_scripts/fixup-mirrors.sh /usr/bin/fixup-mirrors
|
||||
COPY build_scripts/fixup-mirrors.sh /usr/local/sbin/fixup-mirrors
|
||||
|
||||
# setup entrypoint, this will wrap commands with `linux32` with i686 images
|
||||
COPY build_scripts/install-entrypoint.sh build_scripts/update-system-packages.sh /build_scripts/
|
||||
|
|
@ -47,8 +47,8 @@ RUN export AUTOCONF_ROOT=autoconf-2.71 && \
|
|||
manylinux-entrypoint /build_scripts/install-autoconf.sh
|
||||
|
||||
COPY build_scripts/install-automake.sh /build_scripts/
|
||||
RUN export AUTOMAKE_ROOT=automake-1.16.3 && \
|
||||
export AUTOMAKE_HASH=ce010788b51f64511a1e9bb2a1ec626037c6d0e7ede32c1c103611b9d3cba65f && \
|
||||
RUN export AUTOMAKE_ROOT=automake-1.16.4 && \
|
||||
export AUTOMAKE_HASH=8a0f0be7aaae2efa3a68482af28e5872d8830b9813a6a932a2571eac63ca1794 && \
|
||||
export AUTOMAKE_DOWNLOAD_URL=http://ftp.gnu.org/gnu/automake && \
|
||||
manylinux-entrypoint /build_scripts/install-automake.sh
|
||||
|
||||
|
|
@ -59,15 +59,18 @@ RUN export LIBTOOL_ROOT=libtool-2.4.6 && \
|
|||
manylinux-entrypoint /build_scripts/install-libtool.sh
|
||||
|
||||
COPY build_scripts/install-patchelf.sh /build_scripts/
|
||||
RUN export PATCHELF_VERSION=0.12 && \
|
||||
export PATCHELF_HASH=3dca33fb862213b3541350e1da262249959595903f559eae0fbc68966e9c3f56 && \
|
||||
RUN export PATCHELF_VERSION=0.13 && \
|
||||
export PATCHELF_HASH=60c6aeadb673de9cc1838b630c81f61e31c501de324ef7f1e8094a2431197d09 && \
|
||||
export PATCHELF_DOWNLOAD_URL=https://github.com/NixOS/patchelf/archive && \
|
||||
manylinux-entrypoint /build_scripts/install-patchelf.sh
|
||||
|
||||
COPY build_scripts/install-libxcrypt.sh /build_scripts/
|
||||
RUN export LIBXCRYPT_VERSION=4.4.17 && \
|
||||
export LIBXCRYPT_HASH=7665168d0409574a03f7b484682e68334764c29c21ca5df438955a381384ca07 && \
|
||||
RUN export LIBXCRYPT_VERSION=4.4.23 && \
|
||||
export LIBXCRYPT_HASH=9cbbcb795ed5d121a1613eb0e40c77173b53e15a746796fc7cd7bd71cfd64533 && \
|
||||
export LIBXCRYPT_DOWNLOAD_URL=https://github.com/besser82/libxcrypt/archive && \
|
||||
export PERL_ROOT=perl-5.34.0 && \
|
||||
export PERL_HASH=551efc818b968b05216024fb0b727ef2ad4c100f8cb6b43fab615fa78ae5be9a && \
|
||||
export PERL_DOWNLOAD_URL=https://www.cpan.org/src/5.0 && \
|
||||
manylinux-entrypoint /build_scripts/install-libxcrypt.sh
|
||||
|
||||
|
||||
|
|
@ -78,20 +81,12 @@ RUN manylinux-entrypoint /build_scripts/install-build-packages.sh
|
|||
|
||||
FROM build_base AS build_git
|
||||
COPY build_scripts/build-git.sh /build_scripts/
|
||||
RUN export GIT_ROOT=git-2.31.1 && \
|
||||
export GIT_HASH=46d37c229e9d786510e0c53b60065704ce92d5aedc16f2c5111e3ed35093bfa7 && \
|
||||
RUN export GIT_ROOT=git-2.32.0 && \
|
||||
export GIT_HASH=6038f06d396ba9dab2eee541c7db6e7f9f847f181ec62f3d8441893f8c469398 && \
|
||||
export GIT_DOWNLOAD_URL=https://www.kernel.org/pub/software/scm/git && \
|
||||
manylinux-entrypoint /build_scripts/build-git.sh
|
||||
|
||||
|
||||
FROM build_base AS build_cmake
|
||||
COPY build_scripts/build-cmake.sh /build_scripts/
|
||||
RUN export CMAKE_VERSION=3.21.0 && \
|
||||
export CMAKE_HASH=4a42d56449a51f4d3809ab4d3b61fd4a96a469e56266e896ce1009b5768bd2ab && \
|
||||
export CMAKE_DOWNLOAD_URL=https://github.com/Kitware/CMake/releases/download && \
|
||||
manylinux-entrypoint /build_scripts/build-cmake.sh
|
||||
|
||||
|
||||
FROM build_base AS build_swig
|
||||
COPY build_scripts/build-swig.sh /build_scripts/
|
||||
RUN export SWIG_ROOT=swig-4.0.2 && \
|
||||
|
|
@ -105,8 +100,8 @@ RUN export SWIG_ROOT=swig-4.0.2 && \
|
|||
|
||||
FROM build_base AS build_cpython
|
||||
COPY build_scripts/build-sqlite3.sh /build_scripts/
|
||||
RUN export SQLITE_AUTOCONF_ROOT=sqlite-autoconf-3350500 && \
|
||||
export SQLITE_AUTOCONF_HASH=f52b72a5c319c3e516ed7a92e123139a6e87af08a2dc43d7757724f6132e6db0 && \
|
||||
RUN export SQLITE_AUTOCONF_ROOT=sqlite-autoconf-3360000 && \
|
||||
export SQLITE_AUTOCONF_HASH=bd90c3eb96bee996206b83be7065c9ce19aef38c3f4fb53073ada0d0b69bbce3 && \
|
||||
export SQLITE_AUTOCONF_DOWNLOAD_URL=https://www.sqlite.org/2021 && \
|
||||
manylinux-entrypoint /build_scripts/build-sqlite3.sh
|
||||
|
||||
|
|
@ -121,35 +116,33 @@ COPY build_scripts/build-cpython.sh /build_scripts/
|
|||
|
||||
FROM build_cpython AS build_cpython36
|
||||
COPY build_scripts/cpython-pubkeys.txt /build_scripts/cpython-pubkeys.txt
|
||||
|
||||
RUN manylinux-entrypoint /build_scripts/build-cpython.sh 3.6.13
|
||||
RUN manylinux-entrypoint /build_scripts/build-cpython.sh 3.6.14
|
||||
|
||||
|
||||
FROM build_cpython AS build_cpython37
|
||||
COPY build_scripts/cpython-pubkeys.txt /build_scripts/cpython-pubkeys.txt
|
||||
|
||||
RUN manylinux-entrypoint /build_scripts/build-cpython.sh 3.7.10
|
||||
RUN manylinux-entrypoint /build_scripts/build-cpython.sh 3.7.11
|
||||
|
||||
|
||||
FROM build_cpython AS build_cpython38
|
||||
COPY build_scripts/ambv-pubkey.txt /build_scripts/cpython-pubkeys.txt
|
||||
|
||||
RUN manylinux-entrypoint /build_scripts/build-cpython.sh 3.8.10
|
||||
RUN manylinux-entrypoint /build_scripts/build-cpython.sh 3.8.11
|
||||
|
||||
|
||||
FROM build_cpython AS build_cpython39
|
||||
COPY build_scripts/ambv-pubkey.txt /build_scripts/cpython-pubkeys.txt
|
||||
|
||||
RUN manylinux-entrypoint /build_scripts/build-cpython.sh 3.9.5
|
||||
RUN manylinux-entrypoint /build_scripts/build-cpython.sh 3.9.6
|
||||
|
||||
|
||||
FROM build_cpython AS build_cpython310
|
||||
COPY build_scripts/cpython-pubkey-310-311.txt /build_scripts/cpython-pubkeys.txt
|
||||
|
||||
RUN manylinux-entrypoint /build_scripts/build-cpython.sh 3.10.0b1
|
||||
RUN manylinux-entrypoint /build_scripts/build-cpython.sh 3.10.0rc1
|
||||
|
||||
|
||||
FROM build_cpython AS all_cpython
|
||||
FROM build_cpython AS all_python
|
||||
COPY build_scripts/install-pypy.sh /build_scripts/install-pypy.sh
|
||||
COPY build_scripts/pypy.sha256 /build_scripts/pypy.sha256
|
||||
RUN manylinux-entrypoint /build_scripts/install-pypy.sh 3.7 7.3.5
|
||||
COPY --from=build_cpython36 /opt/_internal /opt/_internal/
|
||||
COPY --from=build_cpython37 /opt/_internal /opt/_internal/
|
||||
COPY --from=build_cpython38 /opt/_internal /opt/_internal/
|
||||
|
|
@ -160,11 +153,20 @@ RUN hardlink -cv /opt/_internal
|
|||
|
||||
FROM runtime_base
|
||||
COPY --from=build_git /manylinux-rootfs /
|
||||
COPY --from=build_cmake /manylinux-rootfs /
|
||||
COPY --from=build_swig /manylinux-rootfs /
|
||||
COPY --from=build_cpython /manylinux-rootfs /
|
||||
COPY --from=all_cpython /opt/_internal /opt/_internal/
|
||||
COPY build_scripts/finalize.sh build_scripts/update-system-packages.sh build_scripts/python-tag-abi-tag.py build_scripts/requirements.txt build_scripts/requirements-tools.txt /build_scripts/
|
||||
COPY --from=all_python /opt/_internal /opt/_internal/
|
||||
COPY build_scripts/finalize.sh \
|
||||
build_scripts/update-system-packages.sh \
|
||||
build_scripts/python-tag-abi-tag.py \
|
||||
build_scripts/requirements3.6.txt \
|
||||
build_scripts/requirements3.7.txt \
|
||||
build_scripts/requirements3.8.txt \
|
||||
build_scripts/requirements3.9.txt \
|
||||
build_scripts/requirements3.10.txt \
|
||||
build_scripts/requirements-base-tools.txt \
|
||||
/build_scripts/
|
||||
COPY build_scripts/requirements-tools/* /build_scripts/requirements-tools/
|
||||
RUN manylinux-entrypoint /build_scripts/finalize.sh && rm -rf /build_scripts
|
||||
|
||||
ENV SSL_CERT_FILE=/opt/_internal/certs.pem
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@ ENV PATH=${PREPEND_PATH}${PATH}
|
|||
ENV PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
|
||||
|
||||
# first copy the fixup mirrors script, keep the script around
|
||||
COPY build_scripts/fixup-mirrors.sh /usr/bin/fixup-mirrors
|
||||
COPY build_scripts/fixup-mirrors.sh /usr/local/sbin/fixup-mirrors
|
||||
|
||||
# setup entrypoint, this will wrap commands with `linux32` with i686 images
|
||||
COPY build_scripts/install-entrypoint.sh build_scripts/update-system-packages.sh /build_scripts/
|
||||
|
|
@ -47,8 +47,8 @@ RUN export AUTOCONF_ROOT=autoconf-2.71 && \
|
|||
manylinux-entrypoint /build_scripts/install-autoconf.sh
|
||||
|
||||
COPY build_scripts/install-automake.sh /build_scripts/
|
||||
RUN export AUTOMAKE_ROOT=automake-1.16.3 && \
|
||||
export AUTOMAKE_HASH=ce010788b51f64511a1e9bb2a1ec626037c6d0e7ede32c1c103611b9d3cba65f && \
|
||||
RUN export AUTOMAKE_ROOT=automake-1.16.4 && \
|
||||
export AUTOMAKE_HASH=8a0f0be7aaae2efa3a68482af28e5872d8830b9813a6a932a2571eac63ca1794 && \
|
||||
export AUTOMAKE_DOWNLOAD_URL=http://ftp.gnu.org/gnu/automake && \
|
||||
manylinux-entrypoint /build_scripts/install-automake.sh
|
||||
|
||||
|
|
@ -59,15 +59,18 @@ RUN export LIBTOOL_ROOT=libtool-2.4.6 && \
|
|||
manylinux-entrypoint /build_scripts/install-libtool.sh
|
||||
|
||||
COPY build_scripts/install-patchelf.sh /build_scripts/
|
||||
RUN export PATCHELF_VERSION=0.12 && \
|
||||
export PATCHELF_HASH=3dca33fb862213b3541350e1da262249959595903f559eae0fbc68966e9c3f56 && \
|
||||
RUN export PATCHELF_VERSION=0.13 && \
|
||||
export PATCHELF_HASH=60c6aeadb673de9cc1838b630c81f61e31c501de324ef7f1e8094a2431197d09 && \
|
||||
export PATCHELF_DOWNLOAD_URL=https://github.com/NixOS/patchelf/archive && \
|
||||
manylinux-entrypoint /build_scripts/install-patchelf.sh
|
||||
|
||||
COPY build_scripts/install-libxcrypt.sh /build_scripts/
|
||||
RUN export LIBXCRYPT_VERSION=4.4.17 && \
|
||||
export LIBXCRYPT_HASH=7665168d0409574a03f7b484682e68334764c29c21ca5df438955a381384ca07 && \
|
||||
RUN export LIBXCRYPT_VERSION=4.4.23 && \
|
||||
export LIBXCRYPT_HASH=9cbbcb795ed5d121a1613eb0e40c77173b53e15a746796fc7cd7bd71cfd64533 && \
|
||||
export LIBXCRYPT_DOWNLOAD_URL=https://github.com/besser82/libxcrypt/archive && \
|
||||
export PERL_ROOT=perl-5.34.0 && \
|
||||
export PERL_HASH=551efc818b968b05216024fb0b727ef2ad4c100f8cb6b43fab615fa78ae5be9a && \
|
||||
export PERL_DOWNLOAD_URL=https://www.cpan.org/src/5.0 && \
|
||||
manylinux-entrypoint /build_scripts/install-libxcrypt.sh
|
||||
|
||||
|
||||
|
|
@ -78,20 +81,12 @@ RUN manylinux-entrypoint /build_scripts/install-build-packages.sh
|
|||
|
||||
FROM build_base AS build_git
|
||||
COPY build_scripts/build-git.sh /build_scripts/
|
||||
RUN export GIT_ROOT=git-2.31.1 && \
|
||||
export GIT_HASH=46d37c229e9d786510e0c53b60065704ce92d5aedc16f2c5111e3ed35093bfa7 && \
|
||||
RUN export GIT_ROOT=git-2.32.0 && \
|
||||
export GIT_HASH=6038f06d396ba9dab2eee541c7db6e7f9f847f181ec62f3d8441893f8c469398 && \
|
||||
export GIT_DOWNLOAD_URL=https://www.kernel.org/pub/software/scm/git && \
|
||||
manylinux-entrypoint /build_scripts/build-git.sh
|
||||
|
||||
|
||||
FROM build_base AS build_cmake
|
||||
COPY build_scripts/build-cmake.sh /build_scripts/
|
||||
RUN export CMAKE_VERSION=3.20.2 && \
|
||||
export CMAKE_HASH=aecf6ecb975179eb3bb6a4a50cae192d41e92b9372b02300f9e8f1d5f559544e && \
|
||||
export CMAKE_DOWNLOAD_URL=https://github.com/Kitware/CMake/releases/download && \
|
||||
manylinux-entrypoint /build_scripts/build-cmake.sh
|
||||
|
||||
|
||||
FROM build_base AS build_swig
|
||||
COPY build_scripts/build-swig.sh /build_scripts/
|
||||
RUN export SWIG_ROOT=swig-4.0.2 && \
|
||||
|
|
@ -105,8 +100,8 @@ RUN export SWIG_ROOT=swig-4.0.2 && \
|
|||
|
||||
FROM build_base AS build_cpython
|
||||
COPY build_scripts/build-sqlite3.sh /build_scripts/
|
||||
RUN export SQLITE_AUTOCONF_ROOT=sqlite-autoconf-3350500 && \
|
||||
export SQLITE_AUTOCONF_HASH=f52b72a5c319c3e516ed7a92e123139a6e87af08a2dc43d7757724f6132e6db0 && \
|
||||
RUN export SQLITE_AUTOCONF_ROOT=sqlite-autoconf-3360000 && \
|
||||
export SQLITE_AUTOCONF_HASH=bd90c3eb96bee996206b83be7065c9ce19aef38c3f4fb53073ada0d0b69bbce3 && \
|
||||
export SQLITE_AUTOCONF_DOWNLOAD_URL=https://www.sqlite.org/2021 && \
|
||||
manylinux-entrypoint /build_scripts/build-sqlite3.sh
|
||||
|
||||
|
|
@ -121,35 +116,33 @@ COPY build_scripts/build-cpython.sh /build_scripts/
|
|||
|
||||
FROM build_cpython AS build_cpython36
|
||||
COPY build_scripts/cpython-pubkeys.txt /build_scripts/cpython-pubkeys.txt
|
||||
|
||||
RUN manylinux-entrypoint /build_scripts/build-cpython.sh 3.6.13
|
||||
RUN manylinux-entrypoint /build_scripts/build-cpython.sh 3.6.14
|
||||
|
||||
|
||||
FROM build_cpython AS build_cpython37
|
||||
COPY build_scripts/cpython-pubkeys.txt /build_scripts/cpython-pubkeys.txt
|
||||
|
||||
RUN manylinux-entrypoint /build_scripts/build-cpython.sh 3.7.10
|
||||
RUN manylinux-entrypoint /build_scripts/build-cpython.sh 3.7.11
|
||||
|
||||
|
||||
FROM build_cpython AS build_cpython38
|
||||
COPY build_scripts/ambv-pubkey.txt /build_scripts/cpython-pubkeys.txt
|
||||
|
||||
RUN manylinux-entrypoint /build_scripts/build-cpython.sh 3.8.10
|
||||
RUN manylinux-entrypoint /build_scripts/build-cpython.sh 3.8.11
|
||||
|
||||
|
||||
FROM build_cpython AS build_cpython39
|
||||
COPY build_scripts/ambv-pubkey.txt /build_scripts/cpython-pubkeys.txt
|
||||
|
||||
RUN manylinux-entrypoint /build_scripts/build-cpython.sh 3.9.5
|
||||
RUN manylinux-entrypoint /build_scripts/build-cpython.sh 3.9.6
|
||||
|
||||
|
||||
FROM build_cpython AS build_cpython310
|
||||
COPY build_scripts/cpython-pubkey-310-311.txt /build_scripts/cpython-pubkeys.txt
|
||||
|
||||
RUN manylinux-entrypoint /build_scripts/build-cpython.sh 3.10.0b1
|
||||
RUN manylinux-entrypoint /build_scripts/build-cpython.sh 3.10.0rc1
|
||||
|
||||
|
||||
FROM build_cpython AS all_cpython
|
||||
FROM build_cpython AS all_python
|
||||
COPY build_scripts/install-pypy.sh /build_scripts/install-pypy.sh
|
||||
COPY build_scripts/pypy.sha256 /build_scripts/pypy.sha256
|
||||
RUN manylinux-entrypoint /build_scripts/install-pypy.sh 3.7 7.3.5
|
||||
COPY --from=build_cpython36 /opt/_internal /opt/_internal/
|
||||
COPY --from=build_cpython37 /opt/_internal /opt/_internal/
|
||||
COPY --from=build_cpython38 /opt/_internal /opt/_internal/
|
||||
|
|
@ -160,11 +153,20 @@ RUN hardlink -cv /opt/_internal
|
|||
|
||||
FROM runtime_base
|
||||
COPY --from=build_git /manylinux-rootfs /
|
||||
COPY --from=build_cmake /manylinux-rootfs /
|
||||
COPY --from=build_swig /manylinux-rootfs /
|
||||
COPY --from=build_cpython /manylinux-rootfs /
|
||||
COPY --from=all_cpython /opt/_internal /opt/_internal/
|
||||
COPY build_scripts/finalize.sh build_scripts/update-system-packages.sh build_scripts/python-tag-abi-tag.py build_scripts/requirements.txt build_scripts/requirements-tools.txt /build_scripts/
|
||||
COPY --from=all_python /opt/_internal /opt/_internal/
|
||||
COPY build_scripts/finalize.sh \
|
||||
build_scripts/update-system-packages.sh \
|
||||
build_scripts/python-tag-abi-tag.py \
|
||||
build_scripts/requirements3.6.txt \
|
||||
build_scripts/requirements3.7.txt \
|
||||
build_scripts/requirements3.8.txt \
|
||||
build_scripts/requirements3.9.txt \
|
||||
build_scripts/requirements3.10.txt \
|
||||
build_scripts/requirements-base-tools.txt \
|
||||
/build_scripts/
|
||||
COPY build_scripts/requirements-tools/* /build_scripts/requirements-tools/
|
||||
RUN manylinux-entrypoint /build_scripts/finalize.sh && rm -rf /build_scripts
|
||||
|
||||
ENV SSL_CERT_FILE=/opt/_internal/certs.pem
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@ ENV PATH=${PREPEND_PATH}${PATH}
|
|||
ENV PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
|
||||
|
||||
# first copy the fixup mirrors script, keep the script around
|
||||
COPY build_scripts/fixup-mirrors.sh /usr/bin/fixup-mirrors
|
||||
COPY build_scripts/fixup-mirrors.sh /usr/local/sbin/fixup-mirrors
|
||||
|
||||
# setup entrypoint, this will wrap commands with `linux32` with i686 images
|
||||
COPY build_scripts/install-entrypoint.sh build_scripts/update-system-packages.sh /build_scripts/
|
||||
|
|
@ -47,8 +47,8 @@ RUN export AUTOCONF_ROOT=autoconf-2.71 && \
|
|||
manylinux-entrypoint /build_scripts/install-autoconf.sh
|
||||
|
||||
COPY build_scripts/install-automake.sh /build_scripts/
|
||||
RUN export AUTOMAKE_ROOT=automake-1.16.3 && \
|
||||
export AUTOMAKE_HASH=ce010788b51f64511a1e9bb2a1ec626037c6d0e7ede32c1c103611b9d3cba65f && \
|
||||
RUN export AUTOMAKE_ROOT=automake-1.16.4 && \
|
||||
export AUTOMAKE_HASH=8a0f0be7aaae2efa3a68482af28e5872d8830b9813a6a932a2571eac63ca1794 && \
|
||||
export AUTOMAKE_DOWNLOAD_URL=http://ftp.gnu.org/gnu/automake && \
|
||||
manylinux-entrypoint /build_scripts/install-automake.sh
|
||||
|
||||
|
|
@ -59,15 +59,18 @@ RUN export LIBTOOL_ROOT=libtool-2.4.6 && \
|
|||
manylinux-entrypoint /build_scripts/install-libtool.sh
|
||||
|
||||
COPY build_scripts/install-patchelf.sh /build_scripts/
|
||||
RUN export PATCHELF_VERSION=0.12 && \
|
||||
export PATCHELF_HASH=3dca33fb862213b3541350e1da262249959595903f559eae0fbc68966e9c3f56 && \
|
||||
RUN export PATCHELF_VERSION=0.13 && \
|
||||
export PATCHELF_HASH=60c6aeadb673de9cc1838b630c81f61e31c501de324ef7f1e8094a2431197d09 && \
|
||||
export PATCHELF_DOWNLOAD_URL=https://github.com/NixOS/patchelf/archive && \
|
||||
manylinux-entrypoint /build_scripts/install-patchelf.sh
|
||||
|
||||
COPY build_scripts/install-libxcrypt.sh /build_scripts/
|
||||
RUN export LIBXCRYPT_VERSION=4.4.17 && \
|
||||
export LIBXCRYPT_HASH=7665168d0409574a03f7b484682e68334764c29c21ca5df438955a381384ca07 && \
|
||||
RUN export LIBXCRYPT_VERSION=4.4.23 && \
|
||||
export LIBXCRYPT_HASH=9cbbcb795ed5d121a1613eb0e40c77173b53e15a746796fc7cd7bd71cfd64533 && \
|
||||
export LIBXCRYPT_DOWNLOAD_URL=https://github.com/besser82/libxcrypt/archive && \
|
||||
export PERL_ROOT=perl-5.34.0 && \
|
||||
export PERL_HASH=551efc818b968b05216024fb0b727ef2ad4c100f8cb6b43fab615fa78ae5be9a && \
|
||||
export PERL_DOWNLOAD_URL=https://www.cpan.org/src/5.0 && \
|
||||
manylinux-entrypoint /build_scripts/install-libxcrypt.sh
|
||||
|
||||
|
||||
|
|
@ -78,20 +81,12 @@ RUN manylinux-entrypoint /build_scripts/install-build-packages.sh
|
|||
|
||||
FROM build_base AS build_git
|
||||
COPY build_scripts/build-git.sh /build_scripts/
|
||||
RUN export GIT_ROOT=git-2.31.1 && \
|
||||
export GIT_HASH=46d37c229e9d786510e0c53b60065704ce92d5aedc16f2c5111e3ed35093bfa7 && \
|
||||
RUN export GIT_ROOT=git-2.32.0 && \
|
||||
export GIT_HASH=6038f06d396ba9dab2eee541c7db6e7f9f847f181ec62f3d8441893f8c469398 && \
|
||||
export GIT_DOWNLOAD_URL=https://www.kernel.org/pub/software/scm/git && \
|
||||
manylinux-entrypoint /build_scripts/build-git.sh
|
||||
|
||||
|
||||
FROM build_base AS build_cmake
|
||||
COPY build_scripts/build-cmake.sh /build_scripts/
|
||||
RUN export CMAKE_VERSION=3.21.0 && \
|
||||
export CMAKE_HASH=4a42d56449a51f4d3809ab4d3b61fd4a96a469e56266e896ce1009b5768bd2ab && \
|
||||
export CMAKE_DOWNLOAD_URL=https://github.com/Kitware/CMake/releases/download && \
|
||||
manylinux-entrypoint /build_scripts/build-cmake.sh
|
||||
|
||||
|
||||
FROM build_base AS build_swig
|
||||
COPY build_scripts/build-swig.sh /build_scripts/
|
||||
RUN export SWIG_ROOT=swig-4.0.2 && \
|
||||
|
|
@ -105,8 +100,8 @@ RUN export SWIG_ROOT=swig-4.0.2 && \
|
|||
|
||||
FROM build_base AS build_cpython
|
||||
COPY build_scripts/build-sqlite3.sh /build_scripts/
|
||||
RUN export SQLITE_AUTOCONF_ROOT=sqlite-autoconf-3350500 && \
|
||||
export SQLITE_AUTOCONF_HASH=f52b72a5c319c3e516ed7a92e123139a6e87af08a2dc43d7757724f6132e6db0 && \
|
||||
RUN export SQLITE_AUTOCONF_ROOT=sqlite-autoconf-3360000 && \
|
||||
export SQLITE_AUTOCONF_HASH=bd90c3eb96bee996206b83be7065c9ce19aef38c3f4fb53073ada0d0b69bbce3 && \
|
||||
export SQLITE_AUTOCONF_DOWNLOAD_URL=https://www.sqlite.org/2021 && \
|
||||
manylinux-entrypoint /build_scripts/build-sqlite3.sh
|
||||
|
||||
|
|
@ -121,35 +116,33 @@ COPY build_scripts/build-cpython.sh /build_scripts/
|
|||
|
||||
FROM build_cpython AS build_cpython36
|
||||
COPY build_scripts/cpython-pubkeys.txt /build_scripts/cpython-pubkeys.txt
|
||||
|
||||
RUN manylinux-entrypoint /build_scripts/build-cpython.sh 3.6.13
|
||||
RUN manylinux-entrypoint /build_scripts/build-cpython.sh 3.6.14
|
||||
|
||||
|
||||
FROM build_cpython AS build_cpython37
|
||||
COPY build_scripts/cpython-pubkeys.txt /build_scripts/cpython-pubkeys.txt
|
||||
|
||||
RUN manylinux-entrypoint /build_scripts/build-cpython.sh 3.7.10
|
||||
RUN manylinux-entrypoint /build_scripts/build-cpython.sh 3.7.11
|
||||
|
||||
|
||||
FROM build_cpython AS build_cpython38
|
||||
COPY build_scripts/ambv-pubkey.txt /build_scripts/cpython-pubkeys.txt
|
||||
|
||||
RUN manylinux-entrypoint /build_scripts/build-cpython.sh 3.8.10
|
||||
RUN manylinux-entrypoint /build_scripts/build-cpython.sh 3.8.11
|
||||
|
||||
|
||||
FROM build_cpython AS build_cpython39
|
||||
COPY build_scripts/ambv-pubkey.txt /build_scripts/cpython-pubkeys.txt
|
||||
|
||||
RUN manylinux-entrypoint /build_scripts/build-cpython.sh 3.9.5
|
||||
RUN manylinux-entrypoint /build_scripts/build-cpython.sh 3.9.6
|
||||
|
||||
|
||||
FROM build_cpython AS build_cpython310
|
||||
COPY build_scripts/cpython-pubkey-310-311.txt /build_scripts/cpython-pubkeys.txt
|
||||
|
||||
RUN manylinux-entrypoint /build_scripts/build-cpython.sh 3.10.0b1
|
||||
RUN manylinux-entrypoint /build_scripts/build-cpython.sh 3.10.0rc1
|
||||
|
||||
|
||||
FROM build_cpython AS all_cpython
|
||||
FROM build_cpython AS all_python
|
||||
COPY build_scripts/install-pypy.sh /build_scripts/install-pypy.sh
|
||||
COPY build_scripts/pypy.sha256 /build_scripts/pypy.sha256
|
||||
RUN manylinux-entrypoint /build_scripts/install-pypy.sh 3.7 7.3.5
|
||||
COPY --from=build_cpython36 /opt/_internal /opt/_internal/
|
||||
COPY --from=build_cpython37 /opt/_internal /opt/_internal/
|
||||
COPY --from=build_cpython38 /opt/_internal /opt/_internal/
|
||||
|
|
@ -160,11 +153,20 @@ RUN hardlink -cv /opt/_internal
|
|||
|
||||
FROM runtime_base
|
||||
COPY --from=build_git /manylinux-rootfs /
|
||||
COPY --from=build_cmake /manylinux-rootfs /
|
||||
COPY --from=build_swig /manylinux-rootfs /
|
||||
COPY --from=build_cpython /manylinux-rootfs /
|
||||
COPY --from=all_cpython /opt/_internal /opt/_internal/
|
||||
COPY build_scripts/finalize.sh build_scripts/update-system-packages.sh build_scripts/python-tag-abi-tag.py build_scripts/requirements.txt build_scripts/requirements-tools.txt /build_scripts/
|
||||
COPY --from=all_python /opt/_internal /opt/_internal/
|
||||
COPY build_scripts/finalize.sh \
|
||||
build_scripts/update-system-packages.sh \
|
||||
build_scripts/python-tag-abi-tag.py \
|
||||
build_scripts/requirements3.6.txt \
|
||||
build_scripts/requirements3.7.txt \
|
||||
build_scripts/requirements3.8.txt \
|
||||
build_scripts/requirements3.9.txt \
|
||||
build_scripts/requirements3.10.txt \
|
||||
build_scripts/requirements-base-tools.txt \
|
||||
/build_scripts/
|
||||
COPY build_scripts/requirements-tools/* /build_scripts/requirements-tools/
|
||||
RUN manylinux-entrypoint /build_scripts/finalize.sh && rm -rf /build_scripts
|
||||
|
||||
ENV SSL_CERT_FILE=/opt/_internal/certs.pem
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@ ENV PATH=${PREPEND_PATH}${PATH}
|
|||
ENV PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
|
||||
|
||||
# first copy the fixup mirrors script, keep the script around
|
||||
COPY build_scripts/fixup-mirrors.sh /usr/bin/fixup-mirrors
|
||||
COPY build_scripts/fixup-mirrors.sh /usr/local/sbin/fixup-mirrors
|
||||
|
||||
# setup entrypoint, this will wrap commands with `linux32` with i686 images
|
||||
COPY build_scripts/install-entrypoint.sh build_scripts/update-system-packages.sh /build_scripts/
|
||||
|
|
@ -47,8 +47,8 @@ RUN export AUTOCONF_ROOT=autoconf-2.71 && \
|
|||
manylinux-entrypoint /build_scripts/install-autoconf.sh
|
||||
|
||||
COPY build_scripts/install-automake.sh /build_scripts/
|
||||
RUN export AUTOMAKE_ROOT=automake-1.16.3 && \
|
||||
export AUTOMAKE_HASH=ce010788b51f64511a1e9bb2a1ec626037c6d0e7ede32c1c103611b9d3cba65f && \
|
||||
RUN export AUTOMAKE_ROOT=automake-1.16.4 && \
|
||||
export AUTOMAKE_HASH=8a0f0be7aaae2efa3a68482af28e5872d8830b9813a6a932a2571eac63ca1794 && \
|
||||
export AUTOMAKE_DOWNLOAD_URL=http://ftp.gnu.org/gnu/automake && \
|
||||
manylinux-entrypoint /build_scripts/install-automake.sh
|
||||
|
||||
|
|
@ -59,15 +59,18 @@ RUN export LIBTOOL_ROOT=libtool-2.4.6 && \
|
|||
manylinux-entrypoint /build_scripts/install-libtool.sh
|
||||
|
||||
COPY build_scripts/install-patchelf.sh /build_scripts/
|
||||
RUN export PATCHELF_VERSION=0.12 && \
|
||||
export PATCHELF_HASH=3dca33fb862213b3541350e1da262249959595903f559eae0fbc68966e9c3f56 && \
|
||||
RUN export PATCHELF_VERSION=0.13 && \
|
||||
export PATCHELF_HASH=60c6aeadb673de9cc1838b630c81f61e31c501de324ef7f1e8094a2431197d09 && \
|
||||
export PATCHELF_DOWNLOAD_URL=https://github.com/NixOS/patchelf/archive && \
|
||||
manylinux-entrypoint /build_scripts/install-patchelf.sh
|
||||
|
||||
COPY build_scripts/install-libxcrypt.sh /build_scripts/
|
||||
RUN export LIBXCRYPT_VERSION=4.4.17 && \
|
||||
export LIBXCRYPT_HASH=7665168d0409574a03f7b484682e68334764c29c21ca5df438955a381384ca07 && \
|
||||
RUN export LIBXCRYPT_VERSION=4.4.23 && \
|
||||
export LIBXCRYPT_HASH=9cbbcb795ed5d121a1613eb0e40c77173b53e15a746796fc7cd7bd71cfd64533 && \
|
||||
export LIBXCRYPT_DOWNLOAD_URL=https://github.com/besser82/libxcrypt/archive && \
|
||||
export PERL_ROOT=perl-5.34.0 && \
|
||||
export PERL_HASH=551efc818b968b05216024fb0b727ef2ad4c100f8cb6b43fab615fa78ae5be9a && \
|
||||
export PERL_DOWNLOAD_URL=https://www.cpan.org/src/5.0 && \
|
||||
manylinux-entrypoint /build_scripts/install-libxcrypt.sh
|
||||
|
||||
|
||||
|
|
@ -78,20 +81,12 @@ RUN manylinux-entrypoint /build_scripts/install-build-packages.sh
|
|||
|
||||
FROM build_base AS build_git
|
||||
COPY build_scripts/build-git.sh /build_scripts/
|
||||
RUN export GIT_ROOT=git-2.31.1 && \
|
||||
export GIT_HASH=46d37c229e9d786510e0c53b60065704ce92d5aedc16f2c5111e3ed35093bfa7 && \
|
||||
RUN export GIT_ROOT=git-2.32.0 && \
|
||||
export GIT_HASH=6038f06d396ba9dab2eee541c7db6e7f9f847f181ec62f3d8441893f8c469398 && \
|
||||
export GIT_DOWNLOAD_URL=https://www.kernel.org/pub/software/scm/git && \
|
||||
manylinux-entrypoint /build_scripts/build-git.sh
|
||||
|
||||
|
||||
FROM build_base AS build_cmake
|
||||
COPY build_scripts/build-cmake.sh /build_scripts/
|
||||
RUN export CMAKE_VERSION=3.21.0 && \
|
||||
export CMAKE_HASH=4a42d56449a51f4d3809ab4d3b61fd4a96a469e56266e896ce1009b5768bd2ab && \
|
||||
export CMAKE_DOWNLOAD_URL=https://github.com/Kitware/CMake/releases/download && \
|
||||
manylinux-entrypoint /build_scripts/build-cmake.sh
|
||||
|
||||
|
||||
FROM build_base AS build_swig
|
||||
COPY build_scripts/build-swig.sh /build_scripts/
|
||||
RUN export SWIG_ROOT=swig-4.0.2 && \
|
||||
|
|
@ -105,8 +100,8 @@ RUN export SWIG_ROOT=swig-4.0.2 && \
|
|||
|
||||
FROM build_base AS build_cpython
|
||||
COPY build_scripts/build-sqlite3.sh /build_scripts/
|
||||
RUN export SQLITE_AUTOCONF_ROOT=sqlite-autoconf-3350500 && \
|
||||
export SQLITE_AUTOCONF_HASH=f52b72a5c319c3e516ed7a92e123139a6e87af08a2dc43d7757724f6132e6db0 && \
|
||||
RUN export SQLITE_AUTOCONF_ROOT=sqlite-autoconf-3360000 && \
|
||||
export SQLITE_AUTOCONF_HASH=bd90c3eb96bee996206b83be7065c9ce19aef38c3f4fb53073ada0d0b69bbce3 && \
|
||||
export SQLITE_AUTOCONF_DOWNLOAD_URL=https://www.sqlite.org/2021 && \
|
||||
manylinux-entrypoint /build_scripts/build-sqlite3.sh
|
||||
|
||||
|
|
@ -121,35 +116,33 @@ COPY build_scripts/build-cpython.sh /build_scripts/
|
|||
|
||||
FROM build_cpython AS build_cpython36
|
||||
COPY build_scripts/cpython-pubkeys.txt /build_scripts/cpython-pubkeys.txt
|
||||
|
||||
RUN manylinux-entrypoint /build_scripts/build-cpython.sh 3.6.13
|
||||
RUN manylinux-entrypoint /build_scripts/build-cpython.sh 3.6.14
|
||||
|
||||
|
||||
FROM build_cpython AS build_cpython37
|
||||
COPY build_scripts/cpython-pubkeys.txt /build_scripts/cpython-pubkeys.txt
|
||||
|
||||
RUN manylinux-entrypoint /build_scripts/build-cpython.sh 3.7.10
|
||||
RUN manylinux-entrypoint /build_scripts/build-cpython.sh 3.7.11
|
||||
|
||||
|
||||
FROM build_cpython AS build_cpython38
|
||||
COPY build_scripts/ambv-pubkey.txt /build_scripts/cpython-pubkeys.txt
|
||||
|
||||
RUN manylinux-entrypoint /build_scripts/build-cpython.sh 3.8.10
|
||||
RUN manylinux-entrypoint /build_scripts/build-cpython.sh 3.8.11
|
||||
|
||||
|
||||
FROM build_cpython AS build_cpython39
|
||||
COPY build_scripts/ambv-pubkey.txt /build_scripts/cpython-pubkeys.txt
|
||||
|
||||
RUN manylinux-entrypoint /build_scripts/build-cpython.sh 3.9.5
|
||||
RUN manylinux-entrypoint /build_scripts/build-cpython.sh 3.9.6
|
||||
|
||||
|
||||
FROM build_cpython AS build_cpython310
|
||||
COPY build_scripts/cpython-pubkey-310-311.txt /build_scripts/cpython-pubkeys.txt
|
||||
|
||||
RUN manylinux-entrypoint /build_scripts/build-cpython.sh 3.10.0b1
|
||||
RUN manylinux-entrypoint /build_scripts/build-cpython.sh 3.10.0rc1
|
||||
|
||||
|
||||
FROM build_cpython AS all_cpython
|
||||
FROM build_cpython AS all_python
|
||||
COPY build_scripts/install-pypy.sh /build_scripts/install-pypy.sh
|
||||
COPY build_scripts/pypy.sha256 /build_scripts/pypy.sha256
|
||||
RUN manylinux-entrypoint /build_scripts/install-pypy.sh 3.7 7.3.5
|
||||
COPY --from=build_cpython36 /opt/_internal /opt/_internal/
|
||||
COPY --from=build_cpython37 /opt/_internal /opt/_internal/
|
||||
COPY --from=build_cpython38 /opt/_internal /opt/_internal/
|
||||
|
|
@ -160,11 +153,20 @@ RUN hardlink -cv /opt/_internal
|
|||
|
||||
FROM runtime_base
|
||||
COPY --from=build_git /manylinux-rootfs /
|
||||
COPY --from=build_cmake /manylinux-rootfs /
|
||||
COPY --from=build_swig /manylinux-rootfs /
|
||||
COPY --from=build_cpython /manylinux-rootfs /
|
||||
COPY --from=all_cpython /opt/_internal /opt/_internal/
|
||||
COPY build_scripts/finalize.sh build_scripts/update-system-packages.sh build_scripts/python-tag-abi-tag.py build_scripts/requirements.txt build_scripts/requirements-tools.txt /build_scripts/
|
||||
COPY --from=all_python /opt/_internal /opt/_internal/
|
||||
COPY build_scripts/finalize.sh \
|
||||
build_scripts/update-system-packages.sh \
|
||||
build_scripts/python-tag-abi-tag.py \
|
||||
build_scripts/requirements3.6.txt \
|
||||
build_scripts/requirements3.7.txt \
|
||||
build_scripts/requirements3.8.txt \
|
||||
build_scripts/requirements3.9.txt \
|
||||
build_scripts/requirements3.10.txt \
|
||||
build_scripts/requirements-base-tools.txt \
|
||||
/build_scripts/
|
||||
COPY build_scripts/requirements-tools/* /build_scripts/requirements-tools/
|
||||
RUN manylinux-entrypoint /build_scripts/finalize.sh && rm -rf /build_scripts
|
||||
|
||||
ENV SSL_CERT_FILE=/opt/_internal/certs.pem
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@ ARG LD_LIBRARY_PATH_ARG
|
|||
ARG PREPEND_PATH
|
||||
LABEL maintainer="The ManyLinux project"
|
||||
|
||||
RUN yum remove -y devtoolset\* git\* && conda remove -y cmake
|
||||
RUN yum remove -y devtoolset\* git\* && conda remove -y cmake
|
||||
|
||||
ENV AUDITWHEEL_POLICY=${POLICY} AUDITWHEEL_ARCH=${PLATFORM} AUDITWHEEL_PLAT=${POLICY}_${PLATFORM}
|
||||
ENV LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 LANGUAGE=en_US.UTF-8
|
||||
|
|
@ -24,7 +24,7 @@ ENV PATH=${PREPEND_PATH}${PATH}
|
|||
ENV PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
|
||||
|
||||
# first copy the fixup mirrors script, keep the script around
|
||||
COPY build_scripts/fixup-mirrors.sh /usr/bin/fixup-mirrors
|
||||
COPY build_scripts/fixup-mirrors.sh /usr/local/sbin/fixup-mirrors
|
||||
|
||||
# setup entrypoint, this will wrap commands with `linux32` with i686 images
|
||||
COPY build_scripts/install-entrypoint.sh build_scripts/update-system-packages.sh /build_scripts/
|
||||
|
|
@ -44,8 +44,8 @@ RUN export AUTOCONF_ROOT=autoconf-2.71 && \
|
|||
manylinux-entrypoint /build_scripts/install-autoconf.sh
|
||||
|
||||
COPY build_scripts/install-automake.sh /build_scripts/
|
||||
RUN export AUTOMAKE_ROOT=automake-1.16.3 && \
|
||||
export AUTOMAKE_HASH=ce010788b51f64511a1e9bb2a1ec626037c6d0e7ede32c1c103611b9d3cba65f && \
|
||||
RUN export AUTOMAKE_ROOT=automake-1.16.4 && \
|
||||
export AUTOMAKE_HASH=8a0f0be7aaae2efa3a68482af28e5872d8830b9813a6a932a2571eac63ca1794 && \
|
||||
export AUTOMAKE_DOWNLOAD_URL=http://ftp.gnu.org/gnu/automake && \
|
||||
manylinux-entrypoint /build_scripts/install-automake.sh
|
||||
|
||||
|
|
@ -56,15 +56,18 @@ RUN export LIBTOOL_ROOT=libtool-2.4.6 && \
|
|||
manylinux-entrypoint /build_scripts/install-libtool.sh
|
||||
|
||||
COPY build_scripts/install-patchelf.sh /build_scripts/
|
||||
RUN export PATCHELF_VERSION=0.12 && \
|
||||
export PATCHELF_HASH=3dca33fb862213b3541350e1da262249959595903f559eae0fbc68966e9c3f56 && \
|
||||
RUN export PATCHELF_VERSION=0.13 && \
|
||||
export PATCHELF_HASH=60c6aeadb673de9cc1838b630c81f61e31c501de324ef7f1e8094a2431197d09 && \
|
||||
export PATCHELF_DOWNLOAD_URL=https://github.com/NixOS/patchelf/archive && \
|
||||
manylinux-entrypoint /build_scripts/install-patchelf.sh
|
||||
|
||||
COPY build_scripts/install-libxcrypt.sh /build_scripts/
|
||||
RUN export LIBXCRYPT_VERSION=4.4.17 && \
|
||||
export LIBXCRYPT_HASH=7665168d0409574a03f7b484682e68334764c29c21ca5df438955a381384ca07 && \
|
||||
RUN export LIBXCRYPT_VERSION=4.4.23 && \
|
||||
export LIBXCRYPT_HASH=9cbbcb795ed5d121a1613eb0e40c77173b53e15a746796fc7cd7bd71cfd64533 && \
|
||||
export LIBXCRYPT_DOWNLOAD_URL=https://github.com/besser82/libxcrypt/archive && \
|
||||
export PERL_ROOT=perl-5.34.0 && \
|
||||
export PERL_HASH=551efc818b968b05216024fb0b727ef2ad4c100f8cb6b43fab615fa78ae5be9a && \
|
||||
export PERL_DOWNLOAD_URL=https://www.cpan.org/src/5.0 && \
|
||||
manylinux-entrypoint /build_scripts/install-libxcrypt.sh
|
||||
|
||||
|
||||
|
|
@ -75,20 +78,12 @@ RUN manylinux-entrypoint /build_scripts/install-build-packages.sh
|
|||
|
||||
FROM build_base AS build_git
|
||||
COPY build_scripts/build-git.sh /build_scripts/
|
||||
RUN export GIT_ROOT=git-2.31.1 && \
|
||||
export GIT_HASH=46d37c229e9d786510e0c53b60065704ce92d5aedc16f2c5111e3ed35093bfa7 && \
|
||||
RUN export GIT_ROOT=git-2.32.0 && \
|
||||
export GIT_HASH=6038f06d396ba9dab2eee541c7db6e7f9f847f181ec62f3d8441893f8c469398 && \
|
||||
export GIT_DOWNLOAD_URL=https://www.kernel.org/pub/software/scm/git && \
|
||||
manylinux-entrypoint /build_scripts/build-git.sh
|
||||
|
||||
|
||||
FROM build_base AS build_cmake
|
||||
COPY build_scripts/build-cmake.sh /build_scripts/
|
||||
RUN export CMAKE_VERSION=3.21.0 && \
|
||||
export CMAKE_HASH=4a42d56449a51f4d3809ab4d3b61fd4a96a469e56266e896ce1009b5768bd2ab && \
|
||||
export CMAKE_DOWNLOAD_URL=https://github.com/Kitware/CMake/releases/download && \
|
||||
manylinux-entrypoint /build_scripts/build-cmake.sh
|
||||
|
||||
|
||||
FROM build_base AS build_swig
|
||||
COPY build_scripts/build-swig.sh /build_scripts/
|
||||
RUN export SWIG_ROOT=swig-4.0.2 && \
|
||||
|
|
@ -102,8 +97,8 @@ RUN export SWIG_ROOT=swig-4.0.2 && \
|
|||
|
||||
FROM build_base AS build_cpython
|
||||
COPY build_scripts/build-sqlite3.sh /build_scripts/
|
||||
RUN export SQLITE_AUTOCONF_ROOT=sqlite-autoconf-3350500 && \
|
||||
export SQLITE_AUTOCONF_HASH=f52b72a5c319c3e516ed7a92e123139a6e87af08a2dc43d7757724f6132e6db0 && \
|
||||
RUN export SQLITE_AUTOCONF_ROOT=sqlite-autoconf-3360000 && \
|
||||
export SQLITE_AUTOCONF_HASH=bd90c3eb96bee996206b83be7065c9ce19aef38c3f4fb53073ada0d0b69bbce3 && \
|
||||
export SQLITE_AUTOCONF_DOWNLOAD_URL=https://www.sqlite.org/2021 && \
|
||||
manylinux-entrypoint /build_scripts/build-sqlite3.sh
|
||||
|
||||
|
|
@ -118,50 +113,46 @@ COPY build_scripts/build-cpython.sh /build_scripts/
|
|||
|
||||
FROM build_cpython AS build_cpython36
|
||||
COPY build_scripts/cpython-pubkeys.txt /build_scripts/cpython-pubkeys.txt
|
||||
|
||||
RUN manylinux-entrypoint /build_scripts/build-cpython.sh 3.6.13
|
||||
RUN manylinux-entrypoint /build_scripts/build-cpython.sh 3.6.14
|
||||
|
||||
|
||||
FROM build_cpython AS build_cpython37
|
||||
COPY build_scripts/cpython-pubkeys.txt /build_scripts/cpython-pubkeys.txt
|
||||
|
||||
RUN manylinux-entrypoint /build_scripts/build-cpython.sh 3.7.10
|
||||
RUN manylinux-entrypoint /build_scripts/build-cpython.sh 3.7.11
|
||||
|
||||
|
||||
FROM build_cpython AS build_cpython38
|
||||
COPY build_scripts/ambv-pubkey.txt /build_scripts/cpython-pubkeys.txt
|
||||
|
||||
RUN manylinux-entrypoint /build_scripts/build-cpython.sh 3.8.10
|
||||
RUN manylinux-entrypoint /build_scripts/build-cpython.sh 3.8.11
|
||||
|
||||
|
||||
FROM build_cpython AS build_cpython39
|
||||
COPY build_scripts/ambv-pubkey.txt /build_scripts/cpython-pubkeys.txt
|
||||
RUN manylinux-entrypoint /build_scripts/build-cpython.sh 3.9.6
|
||||
|
||||
RUN manylinux-entrypoint /build_scripts/build-cpython.sh 3.9.5
|
||||
|
||||
|
||||
# FROM build_cpython AS build_cpython310
|
||||
# COPY build_scripts/cpython-pubkey-310-311.txt /build_scripts/cpython-pubkeys.txt
|
||||
|
||||
# RUN manylinux-entrypoint /build_scripts/build-cpython.sh 3.10.0b1
|
||||
|
||||
|
||||
FROM build_cpython AS all_cpython
|
||||
FROM build_cpython AS all_python
|
||||
COPY --from=build_cpython36 /opt/_internal /opt/_internal/
|
||||
COPY --from=build_cpython37 /opt/_internal /opt/_internal/
|
||||
COPY --from=build_cpython38 /opt/_internal /opt/_internal/
|
||||
COPY --from=build_cpython39 /opt/_internal /opt/_internal/
|
||||
# COPY --from=build_cpython310 /opt/_internal /opt/_internal/
|
||||
RUN hardlink -cv /opt/_internal
|
||||
|
||||
|
||||
FROM runtime_base
|
||||
COPY --from=build_git /manylinux-rootfs /
|
||||
COPY --from=build_cmake /manylinux-rootfs /
|
||||
COPY --from=build_swig /manylinux-rootfs /
|
||||
COPY --from=build_cpython /manylinux-rootfs /
|
||||
COPY --from=all_cpython /opt/_internal /opt/_internal/
|
||||
COPY build_scripts/finalize.sh build_scripts/update-system-packages.sh build_scripts/python-tag-abi-tag.py build_scripts/requirements.txt build_scripts/requirements-tools.txt /build_scripts/
|
||||
COPY --from=all_python /opt/_internal /opt/_internal/
|
||||
COPY build_scripts/finalize.sh \
|
||||
build_scripts/update-system-packages.sh \
|
||||
build_scripts/python-tag-abi-tag.py \
|
||||
build_scripts/requirements3.6.txt \
|
||||
build_scripts/requirements3.7.txt \
|
||||
build_scripts/requirements3.8.txt \
|
||||
build_scripts/requirements3.9.txt \
|
||||
build_scripts/requirements-base-tools.txt \
|
||||
/build_scripts/
|
||||
COPY build_scripts/requirements-tools/* /build_scripts/requirements-tools/
|
||||
RUN manylinux-entrypoint /build_scripts/finalize.sh && rm -rf /build_scripts
|
||||
|
||||
ENV SSL_CERT_FILE=/opt/_internal/certs.pem
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@ ENV PATH=${PREPEND_PATH}${PATH}
|
|||
ENV PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
|
||||
|
||||
# first copy the fixup mirrors script, keep the script around
|
||||
COPY build_scripts/fixup-mirrors.sh /usr/bin/fixup-mirrors
|
||||
COPY build_scripts/fixup-mirrors.sh /usr/local/sbin/fixup-mirrors
|
||||
|
||||
# setup entrypoint, this will wrap commands with `linux32` with i686 images
|
||||
COPY build_scripts/install-entrypoint.sh build_scripts/update-system-packages.sh /build_scripts/
|
||||
|
|
@ -47,8 +47,8 @@ RUN export AUTOCONF_ROOT=autoconf-2.71 && \
|
|||
manylinux-entrypoint /build_scripts/install-autoconf.sh
|
||||
|
||||
COPY build_scripts/install-automake.sh /build_scripts/
|
||||
RUN export AUTOMAKE_ROOT=automake-1.16.3 && \
|
||||
export AUTOMAKE_HASH=ce010788b51f64511a1e9bb2a1ec626037c6d0e7ede32c1c103611b9d3cba65f && \
|
||||
RUN export AUTOMAKE_ROOT=automake-1.16.4 && \
|
||||
export AUTOMAKE_HASH=8a0f0be7aaae2efa3a68482af28e5872d8830b9813a6a932a2571eac63ca1794 && \
|
||||
export AUTOMAKE_DOWNLOAD_URL=http://ftp.gnu.org/gnu/automake && \
|
||||
manylinux-entrypoint /build_scripts/install-automake.sh
|
||||
|
||||
|
|
@ -59,15 +59,18 @@ RUN export LIBTOOL_ROOT=libtool-2.4.6 && \
|
|||
manylinux-entrypoint /build_scripts/install-libtool.sh
|
||||
|
||||
COPY build_scripts/install-patchelf.sh /build_scripts/
|
||||
RUN export PATCHELF_VERSION=0.12 && \
|
||||
export PATCHELF_HASH=3dca33fb862213b3541350e1da262249959595903f559eae0fbc68966e9c3f56 && \
|
||||
RUN export PATCHELF_VERSION=0.13 && \
|
||||
export PATCHELF_HASH=60c6aeadb673de9cc1838b630c81f61e31c501de324ef7f1e8094a2431197d09 && \
|
||||
export PATCHELF_DOWNLOAD_URL=https://github.com/NixOS/patchelf/archive && \
|
||||
manylinux-entrypoint /build_scripts/install-patchelf.sh
|
||||
|
||||
COPY build_scripts/install-libxcrypt.sh /build_scripts/
|
||||
RUN export LIBXCRYPT_VERSION=4.4.17 && \
|
||||
export LIBXCRYPT_HASH=7665168d0409574a03f7b484682e68334764c29c21ca5df438955a381384ca07 && \
|
||||
RUN export LIBXCRYPT_VERSION=4.4.23 && \
|
||||
export LIBXCRYPT_HASH=9cbbcb795ed5d121a1613eb0e40c77173b53e15a746796fc7cd7bd71cfd64533 && \
|
||||
export LIBXCRYPT_DOWNLOAD_URL=https://github.com/besser82/libxcrypt/archive && \
|
||||
export PERL_ROOT=perl-5.34.0 && \
|
||||
export PERL_HASH=551efc818b968b05216024fb0b727ef2ad4c100f8cb6b43fab615fa78ae5be9a && \
|
||||
export PERL_DOWNLOAD_URL=https://www.cpan.org/src/5.0 && \
|
||||
manylinux-entrypoint /build_scripts/install-libxcrypt.sh
|
||||
|
||||
|
||||
|
|
@ -78,20 +81,12 @@ RUN manylinux-entrypoint /build_scripts/install-build-packages.sh
|
|||
|
||||
FROM build_base AS build_git
|
||||
COPY build_scripts/build-git.sh /build_scripts/
|
||||
RUN export GIT_ROOT=git-2.31.1 && \
|
||||
export GIT_HASH=46d37c229e9d786510e0c53b60065704ce92d5aedc16f2c5111e3ed35093bfa7 && \
|
||||
RUN export GIT_ROOT=git-2.32.0 && \
|
||||
export GIT_HASH=6038f06d396ba9dab2eee541c7db6e7f9f847f181ec62f3d8441893f8c469398 && \
|
||||
export GIT_DOWNLOAD_URL=https://www.kernel.org/pub/software/scm/git && \
|
||||
manylinux-entrypoint /build_scripts/build-git.sh
|
||||
|
||||
|
||||
FROM build_base AS build_cmake
|
||||
COPY build_scripts/build-cmake.sh /build_scripts/
|
||||
RUN export CMAKE_VERSION=3.21.0 && \
|
||||
export CMAKE_HASH=4a42d56449a51f4d3809ab4d3b61fd4a96a469e56266e896ce1009b5768bd2ab && \
|
||||
export CMAKE_DOWNLOAD_URL=https://github.com/Kitware/CMake/releases/download && \
|
||||
manylinux-entrypoint /build_scripts/build-cmake.sh
|
||||
|
||||
|
||||
FROM build_base AS build_swig
|
||||
COPY build_scripts/build-swig.sh /build_scripts/
|
||||
RUN export SWIG_ROOT=swig-4.0.2 && \
|
||||
|
|
@ -105,8 +100,8 @@ RUN export SWIG_ROOT=swig-4.0.2 && \
|
|||
|
||||
FROM build_base AS build_cpython
|
||||
COPY build_scripts/build-sqlite3.sh /build_scripts/
|
||||
RUN export SQLITE_AUTOCONF_ROOT=sqlite-autoconf-3350500 && \
|
||||
export SQLITE_AUTOCONF_HASH=f52b72a5c319c3e516ed7a92e123139a6e87af08a2dc43d7757724f6132e6db0 && \
|
||||
RUN export SQLITE_AUTOCONF_ROOT=sqlite-autoconf-3360000 && \
|
||||
export SQLITE_AUTOCONF_HASH=bd90c3eb96bee996206b83be7065c9ce19aef38c3f4fb53073ada0d0b69bbce3 && \
|
||||
export SQLITE_AUTOCONF_DOWNLOAD_URL=https://www.sqlite.org/2021 && \
|
||||
manylinux-entrypoint /build_scripts/build-sqlite3.sh
|
||||
|
||||
|
|
@ -121,35 +116,33 @@ COPY build_scripts/build-cpython.sh /build_scripts/
|
|||
|
||||
FROM build_cpython AS build_cpython36
|
||||
COPY build_scripts/cpython-pubkeys.txt /build_scripts/cpython-pubkeys.txt
|
||||
|
||||
RUN manylinux-entrypoint /build_scripts/build-cpython.sh 3.6.13
|
||||
RUN manylinux-entrypoint /build_scripts/build-cpython.sh 3.6.14
|
||||
|
||||
|
||||
FROM build_cpython AS build_cpython37
|
||||
COPY build_scripts/cpython-pubkeys.txt /build_scripts/cpython-pubkeys.txt
|
||||
|
||||
RUN manylinux-entrypoint /build_scripts/build-cpython.sh 3.7.10
|
||||
RUN manylinux-entrypoint /build_scripts/build-cpython.sh 3.7.11
|
||||
|
||||
|
||||
FROM build_cpython AS build_cpython38
|
||||
COPY build_scripts/ambv-pubkey.txt /build_scripts/cpython-pubkeys.txt
|
||||
|
||||
RUN manylinux-entrypoint /build_scripts/build-cpython.sh 3.8.10
|
||||
RUN manylinux-entrypoint /build_scripts/build-cpython.sh 3.8.11
|
||||
|
||||
|
||||
FROM build_cpython AS build_cpython39
|
||||
COPY build_scripts/ambv-pubkey.txt /build_scripts/cpython-pubkeys.txt
|
||||
|
||||
RUN manylinux-entrypoint /build_scripts/build-cpython.sh 3.9.5
|
||||
RUN manylinux-entrypoint /build_scripts/build-cpython.sh 3.9.6
|
||||
|
||||
|
||||
FROM build_cpython AS build_cpython310
|
||||
COPY build_scripts/cpython-pubkey-310-311.txt /build_scripts/cpython-pubkeys.txt
|
||||
|
||||
RUN manylinux-entrypoint /build_scripts/build-cpython.sh 3.10.0b1
|
||||
RUN manylinux-entrypoint /build_scripts/build-cpython.sh 3.10.0rc1
|
||||
|
||||
|
||||
FROM build_cpython AS all_cpython
|
||||
FROM build_cpython AS all_python
|
||||
COPY build_scripts/install-pypy.sh /build_scripts/install-pypy.sh
|
||||
COPY build_scripts/pypy.sha256 /build_scripts/pypy.sha256
|
||||
RUN manylinux-entrypoint /build_scripts/install-pypy.sh 3.7 7.3.5
|
||||
COPY --from=build_cpython36 /opt/_internal /opt/_internal/
|
||||
COPY --from=build_cpython37 /opt/_internal /opt/_internal/
|
||||
COPY --from=build_cpython38 /opt/_internal /opt/_internal/
|
||||
|
|
@ -160,11 +153,20 @@ RUN hardlink -cv /opt/_internal
|
|||
|
||||
FROM runtime_base
|
||||
COPY --from=build_git /manylinux-rootfs /
|
||||
COPY --from=build_cmake /manylinux-rootfs /
|
||||
COPY --from=build_swig /manylinux-rootfs /
|
||||
COPY --from=build_cpython /manylinux-rootfs /
|
||||
COPY --from=all_cpython /opt/_internal /opt/_internal/
|
||||
COPY build_scripts/finalize.sh build_scripts/update-system-packages.sh build_scripts/python-tag-abi-tag.py build_scripts/requirements.txt build_scripts/requirements-tools.txt /build_scripts/
|
||||
COPY --from=all_python /opt/_internal /opt/_internal/
|
||||
COPY build_scripts/finalize.sh \
|
||||
build_scripts/update-system-packages.sh \
|
||||
build_scripts/python-tag-abi-tag.py \
|
||||
build_scripts/requirements3.6.txt \
|
||||
build_scripts/requirements3.7.txt \
|
||||
build_scripts/requirements3.8.txt \
|
||||
build_scripts/requirements3.9.txt \
|
||||
build_scripts/requirements3.10.txt \
|
||||
build_scripts/requirements-base-tools.txt \
|
||||
/build_scripts/
|
||||
COPY build_scripts/requirements-tools/* /build_scripts/requirements-tools/
|
||||
RUN manylinux-entrypoint /build_scripts/finalize.sh && rm -rf /build_scripts
|
||||
|
||||
ENV SSL_CERT_FILE=/opt/_internal/certs.pem
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@ ENV PATH=${PREPEND_PATH}${PATH}
|
|||
ENV PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
|
||||
|
||||
# first copy the fixup mirrors script, keep the script around
|
||||
COPY build_scripts/fixup-mirrors.sh /usr/bin/fixup-mirrors
|
||||
COPY build_scripts/fixup-mirrors.sh /usr/local/sbin/fixup-mirrors
|
||||
|
||||
# setup entrypoint, this will wrap commands with `linux32` with i686 images
|
||||
COPY build_scripts/install-entrypoint.sh build_scripts/update-system-packages.sh /build_scripts/
|
||||
|
|
@ -47,8 +47,8 @@ RUN export AUTOCONF_ROOT=autoconf-2.71 && \
|
|||
manylinux-entrypoint /build_scripts/install-autoconf.sh
|
||||
|
||||
COPY build_scripts/install-automake.sh /build_scripts/
|
||||
RUN export AUTOMAKE_ROOT=automake-1.16.3 && \
|
||||
export AUTOMAKE_HASH=ce010788b51f64511a1e9bb2a1ec626037c6d0e7ede32c1c103611b9d3cba65f && \
|
||||
RUN export AUTOMAKE_ROOT=automake-1.16.4 && \
|
||||
export AUTOMAKE_HASH=8a0f0be7aaae2efa3a68482af28e5872d8830b9813a6a932a2571eac63ca1794 && \
|
||||
export AUTOMAKE_DOWNLOAD_URL=http://ftp.gnu.org/gnu/automake && \
|
||||
manylinux-entrypoint /build_scripts/install-automake.sh
|
||||
|
||||
|
|
@ -59,15 +59,18 @@ RUN export LIBTOOL_ROOT=libtool-2.4.6 && \
|
|||
manylinux-entrypoint /build_scripts/install-libtool.sh
|
||||
|
||||
COPY build_scripts/install-patchelf.sh /build_scripts/
|
||||
RUN export PATCHELF_VERSION=0.12 && \
|
||||
export PATCHELF_HASH=3dca33fb862213b3541350e1da262249959595903f559eae0fbc68966e9c3f56 && \
|
||||
RUN export PATCHELF_VERSION=0.13 && \
|
||||
export PATCHELF_HASH=60c6aeadb673de9cc1838b630c81f61e31c501de324ef7f1e8094a2431197d09 && \
|
||||
export PATCHELF_DOWNLOAD_URL=https://github.com/NixOS/patchelf/archive && \
|
||||
manylinux-entrypoint /build_scripts/install-patchelf.sh
|
||||
|
||||
COPY build_scripts/install-libxcrypt.sh /build_scripts/
|
||||
RUN export LIBXCRYPT_VERSION=4.4.17 && \
|
||||
export LIBXCRYPT_HASH=7665168d0409574a03f7b484682e68334764c29c21ca5df438955a381384ca07 && \
|
||||
RUN export LIBXCRYPT_VERSION=4.4.23 && \
|
||||
export LIBXCRYPT_HASH=9cbbcb795ed5d121a1613eb0e40c77173b53e15a746796fc7cd7bd71cfd64533 && \
|
||||
export LIBXCRYPT_DOWNLOAD_URL=https://github.com/besser82/libxcrypt/archive && \
|
||||
export PERL_ROOT=perl-5.34.0 && \
|
||||
export PERL_HASH=551efc818b968b05216024fb0b727ef2ad4c100f8cb6b43fab615fa78ae5be9a && \
|
||||
export PERL_DOWNLOAD_URL=https://www.cpan.org/src/5.0 && \
|
||||
manylinux-entrypoint /build_scripts/install-libxcrypt.sh
|
||||
|
||||
|
||||
|
|
@ -78,20 +81,12 @@ RUN manylinux-entrypoint /build_scripts/install-build-packages.sh
|
|||
|
||||
FROM build_base AS build_git
|
||||
COPY build_scripts/build-git.sh /build_scripts/
|
||||
RUN export GIT_ROOT=git-2.31.1 && \
|
||||
export GIT_HASH=46d37c229e9d786510e0c53b60065704ce92d5aedc16f2c5111e3ed35093bfa7 && \
|
||||
RUN export GIT_ROOT=git-2.32.0 && \
|
||||
export GIT_HASH=6038f06d396ba9dab2eee541c7db6e7f9f847f181ec62f3d8441893f8c469398 && \
|
||||
export GIT_DOWNLOAD_URL=https://www.kernel.org/pub/software/scm/git && \
|
||||
manylinux-entrypoint /build_scripts/build-git.sh
|
||||
|
||||
|
||||
FROM build_base AS build_cmake
|
||||
COPY build_scripts/build-cmake.sh /build_scripts/
|
||||
RUN export CMAKE_VERSION=3.21.0 && \
|
||||
export CMAKE_HASH=4a42d56449a51f4d3809ab4d3b61fd4a96a469e56266e896ce1009b5768bd2ab && \
|
||||
export CMAKE_DOWNLOAD_URL=https://github.com/Kitware/CMake/releases/download && \
|
||||
manylinux-entrypoint /build_scripts/build-cmake.sh
|
||||
|
||||
|
||||
FROM build_base AS build_swig
|
||||
COPY build_scripts/build-swig.sh /build_scripts/
|
||||
RUN export SWIG_ROOT=swig-4.0.2 && \
|
||||
|
|
@ -105,8 +100,8 @@ RUN export SWIG_ROOT=swig-4.0.2 && \
|
|||
|
||||
FROM build_base AS build_cpython
|
||||
COPY build_scripts/build-sqlite3.sh /build_scripts/
|
||||
RUN export SQLITE_AUTOCONF_ROOT=sqlite-autoconf-3350500 && \
|
||||
export SQLITE_AUTOCONF_HASH=f52b72a5c319c3e516ed7a92e123139a6e87af08a2dc43d7757724f6132e6db0 && \
|
||||
RUN export SQLITE_AUTOCONF_ROOT=sqlite-autoconf-3360000 && \
|
||||
export SQLITE_AUTOCONF_HASH=bd90c3eb96bee996206b83be7065c9ce19aef38c3f4fb53073ada0d0b69bbce3 && \
|
||||
export SQLITE_AUTOCONF_DOWNLOAD_URL=https://www.sqlite.org/2021 && \
|
||||
manylinux-entrypoint /build_scripts/build-sqlite3.sh
|
||||
|
||||
|
|
@ -121,35 +116,33 @@ COPY build_scripts/build-cpython.sh /build_scripts/
|
|||
|
||||
FROM build_cpython AS build_cpython36
|
||||
COPY build_scripts/cpython-pubkeys.txt /build_scripts/cpython-pubkeys.txt
|
||||
|
||||
RUN manylinux-entrypoint /build_scripts/build-cpython.sh 3.6.13
|
||||
RUN manylinux-entrypoint /build_scripts/build-cpython.sh 3.6.14
|
||||
|
||||
|
||||
FROM build_cpython AS build_cpython37
|
||||
COPY build_scripts/cpython-pubkeys.txt /build_scripts/cpython-pubkeys.txt
|
||||
|
||||
RUN manylinux-entrypoint /build_scripts/build-cpython.sh 3.7.10
|
||||
RUN manylinux-entrypoint /build_scripts/build-cpython.sh 3.7.11
|
||||
|
||||
|
||||
FROM build_cpython AS build_cpython38
|
||||
COPY build_scripts/ambv-pubkey.txt /build_scripts/cpython-pubkeys.txt
|
||||
|
||||
RUN manylinux-entrypoint /build_scripts/build-cpython.sh 3.8.10
|
||||
RUN manylinux-entrypoint /build_scripts/build-cpython.sh 3.8.11
|
||||
|
||||
|
||||
FROM build_cpython AS build_cpython39
|
||||
COPY build_scripts/ambv-pubkey.txt /build_scripts/cpython-pubkeys.txt
|
||||
|
||||
RUN manylinux-entrypoint /build_scripts/build-cpython.sh 3.9.5
|
||||
RUN manylinux-entrypoint /build_scripts/build-cpython.sh 3.9.6
|
||||
|
||||
|
||||
FROM build_cpython AS build_cpython310
|
||||
COPY build_scripts/cpython-pubkey-310-311.txt /build_scripts/cpython-pubkeys.txt
|
||||
|
||||
RUN manylinux-entrypoint /build_scripts/build-cpython.sh 3.10.0b1
|
||||
RUN manylinux-entrypoint /build_scripts/build-cpython.sh 3.10.0rc1
|
||||
|
||||
|
||||
FROM build_cpython AS all_cpython
|
||||
FROM build_cpython AS all_python
|
||||
COPY build_scripts/install-pypy.sh /build_scripts/install-pypy.sh
|
||||
COPY build_scripts/pypy.sha256 /build_scripts/pypy.sha256
|
||||
RUN manylinux-entrypoint /build_scripts/install-pypy.sh 3.7 7.3.5
|
||||
COPY --from=build_cpython36 /opt/_internal /opt/_internal/
|
||||
COPY --from=build_cpython37 /opt/_internal /opt/_internal/
|
||||
COPY --from=build_cpython38 /opt/_internal /opt/_internal/
|
||||
|
|
@ -160,11 +153,20 @@ RUN hardlink -cv /opt/_internal
|
|||
|
||||
FROM runtime_base
|
||||
COPY --from=build_git /manylinux-rootfs /
|
||||
COPY --from=build_cmake /manylinux-rootfs /
|
||||
COPY --from=build_swig /manylinux-rootfs /
|
||||
COPY --from=build_cpython /manylinux-rootfs /
|
||||
COPY --from=all_cpython /opt/_internal /opt/_internal/
|
||||
COPY build_scripts/finalize.sh build_scripts/update-system-packages.sh build_scripts/python-tag-abi-tag.py build_scripts/requirements.txt build_scripts/requirements-tools.txt /build_scripts/
|
||||
COPY --from=all_python /opt/_internal /opt/_internal/
|
||||
COPY build_scripts/finalize.sh \
|
||||
build_scripts/update-system-packages.sh \
|
||||
build_scripts/python-tag-abi-tag.py \
|
||||
build_scripts/requirements3.6.txt \
|
||||
build_scripts/requirements3.7.txt \
|
||||
build_scripts/requirements3.8.txt \
|
||||
build_scripts/requirements3.9.txt \
|
||||
build_scripts/requirements3.10.txt \
|
||||
build_scripts/requirements-base-tools.txt \
|
||||
/build_scripts/
|
||||
COPY build_scripts/requirements-tools/* /build_scripts/requirements-tools/
|
||||
RUN manylinux-entrypoint /build_scripts/finalize.sh && rm -rf /build_scripts
|
||||
|
||||
ENV SSL_CERT_FILE=/opt/_internal/certs.pem
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@ ENV PATH=${PREPEND_PATH}${PATH}
|
|||
ENV PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
|
||||
|
||||
# first copy the fixup mirrors script, keep the script around
|
||||
COPY build_scripts/fixup-mirrors.sh /usr/bin/fixup-mirrors
|
||||
COPY build_scripts/fixup-mirrors.sh /usr/local/sbin/fixup-mirrors
|
||||
|
||||
# setup entrypoint, this will wrap commands with `linux32` with i686 images
|
||||
COPY build_scripts/install-entrypoint.sh build_scripts/update-system-packages.sh /build_scripts/
|
||||
|
|
@ -47,8 +47,8 @@ RUN export AUTOCONF_ROOT=autoconf-2.71 && \
|
|||
manylinux-entrypoint /build_scripts/install-autoconf.sh
|
||||
|
||||
COPY build_scripts/install-automake.sh /build_scripts/
|
||||
RUN export AUTOMAKE_ROOT=automake-1.16.3 && \
|
||||
export AUTOMAKE_HASH=ce010788b51f64511a1e9bb2a1ec626037c6d0e7ede32c1c103611b9d3cba65f && \
|
||||
RUN export AUTOMAKE_ROOT=automake-1.16.4 && \
|
||||
export AUTOMAKE_HASH=8a0f0be7aaae2efa3a68482af28e5872d8830b9813a6a932a2571eac63ca1794 && \
|
||||
export AUTOMAKE_DOWNLOAD_URL=http://ftp.gnu.org/gnu/automake && \
|
||||
manylinux-entrypoint /build_scripts/install-automake.sh
|
||||
|
||||
|
|
@ -59,15 +59,18 @@ RUN export LIBTOOL_ROOT=libtool-2.4.6 && \
|
|||
manylinux-entrypoint /build_scripts/install-libtool.sh
|
||||
|
||||
COPY build_scripts/install-patchelf.sh /build_scripts/
|
||||
RUN export PATCHELF_VERSION=0.12 && \
|
||||
export PATCHELF_HASH=3dca33fb862213b3541350e1da262249959595903f559eae0fbc68966e9c3f56 && \
|
||||
RUN export PATCHELF_VERSION=0.13 && \
|
||||
export PATCHELF_HASH=60c6aeadb673de9cc1838b630c81f61e31c501de324ef7f1e8094a2431197d09 && \
|
||||
export PATCHELF_DOWNLOAD_URL=https://github.com/NixOS/patchelf/archive && \
|
||||
manylinux-entrypoint /build_scripts/install-patchelf.sh
|
||||
|
||||
COPY build_scripts/install-libxcrypt.sh /build_scripts/
|
||||
RUN export LIBXCRYPT_VERSION=4.4.17 && \
|
||||
export LIBXCRYPT_HASH=7665168d0409574a03f7b484682e68334764c29c21ca5df438955a381384ca07 && \
|
||||
RUN export LIBXCRYPT_VERSION=4.4.23 && \
|
||||
export LIBXCRYPT_HASH=9cbbcb795ed5d121a1613eb0e40c77173b53e15a746796fc7cd7bd71cfd64533 && \
|
||||
export LIBXCRYPT_DOWNLOAD_URL=https://github.com/besser82/libxcrypt/archive && \
|
||||
export PERL_ROOT=perl-5.34.0 && \
|
||||
export PERL_HASH=551efc818b968b05216024fb0b727ef2ad4c100f8cb6b43fab615fa78ae5be9a && \
|
||||
export PERL_DOWNLOAD_URL=https://www.cpan.org/src/5.0 && \
|
||||
manylinux-entrypoint /build_scripts/install-libxcrypt.sh
|
||||
|
||||
|
||||
|
|
@ -78,20 +81,12 @@ RUN manylinux-entrypoint /build_scripts/install-build-packages.sh
|
|||
|
||||
FROM build_base AS build_git
|
||||
COPY build_scripts/build-git.sh /build_scripts/
|
||||
RUN export GIT_ROOT=git-2.31.1 && \
|
||||
export GIT_HASH=46d37c229e9d786510e0c53b60065704ce92d5aedc16f2c5111e3ed35093bfa7 && \
|
||||
RUN export GIT_ROOT=git-2.32.0 && \
|
||||
export GIT_HASH=6038f06d396ba9dab2eee541c7db6e7f9f847f181ec62f3d8441893f8c469398 && \
|
||||
export GIT_DOWNLOAD_URL=https://www.kernel.org/pub/software/scm/git && \
|
||||
manylinux-entrypoint /build_scripts/build-git.sh
|
||||
|
||||
|
||||
FROM build_base AS build_cmake
|
||||
COPY build_scripts/build-cmake.sh /build_scripts/
|
||||
RUN export CMAKE_VERSION=3.21.0 && \
|
||||
export CMAKE_HASH=4a42d56449a51f4d3809ab4d3b61fd4a96a469e56266e896ce1009b5768bd2ab && \
|
||||
export CMAKE_DOWNLOAD_URL=https://github.com/Kitware/CMake/releases/download && \
|
||||
manylinux-entrypoint /build_scripts/build-cmake.sh
|
||||
|
||||
|
||||
FROM build_base AS build_swig
|
||||
COPY build_scripts/build-swig.sh /build_scripts/
|
||||
RUN export SWIG_ROOT=swig-4.0.2 && \
|
||||
|
|
@ -105,8 +100,8 @@ RUN export SWIG_ROOT=swig-4.0.2 && \
|
|||
|
||||
FROM build_base AS build_cpython
|
||||
COPY build_scripts/build-sqlite3.sh /build_scripts/
|
||||
RUN export SQLITE_AUTOCONF_ROOT=sqlite-autoconf-3350500 && \
|
||||
export SQLITE_AUTOCONF_HASH=f52b72a5c319c3e516ed7a92e123139a6e87af08a2dc43d7757724f6132e6db0 && \
|
||||
RUN export SQLITE_AUTOCONF_ROOT=sqlite-autoconf-3360000 && \
|
||||
export SQLITE_AUTOCONF_HASH=bd90c3eb96bee996206b83be7065c9ce19aef38c3f4fb53073ada0d0b69bbce3 && \
|
||||
export SQLITE_AUTOCONF_DOWNLOAD_URL=https://www.sqlite.org/2021 && \
|
||||
manylinux-entrypoint /build_scripts/build-sqlite3.sh
|
||||
|
||||
|
|
@ -121,35 +116,33 @@ COPY build_scripts/build-cpython.sh /build_scripts/
|
|||
|
||||
FROM build_cpython AS build_cpython36
|
||||
COPY build_scripts/cpython-pubkeys.txt /build_scripts/cpython-pubkeys.txt
|
||||
|
||||
RUN manylinux-entrypoint /build_scripts/build-cpython.sh 3.6.13
|
||||
RUN manylinux-entrypoint /build_scripts/build-cpython.sh 3.6.14
|
||||
|
||||
|
||||
FROM build_cpython AS build_cpython37
|
||||
COPY build_scripts/cpython-pubkeys.txt /build_scripts/cpython-pubkeys.txt
|
||||
|
||||
RUN manylinux-entrypoint /build_scripts/build-cpython.sh 3.7.10
|
||||
RUN manylinux-entrypoint /build_scripts/build-cpython.sh 3.7.11
|
||||
|
||||
|
||||
FROM build_cpython AS build_cpython38
|
||||
COPY build_scripts/ambv-pubkey.txt /build_scripts/cpython-pubkeys.txt
|
||||
|
||||
RUN manylinux-entrypoint /build_scripts/build-cpython.sh 3.8.10
|
||||
RUN manylinux-entrypoint /build_scripts/build-cpython.sh 3.8.11
|
||||
|
||||
|
||||
FROM build_cpython AS build_cpython39
|
||||
COPY build_scripts/ambv-pubkey.txt /build_scripts/cpython-pubkeys.txt
|
||||
|
||||
RUN manylinux-entrypoint /build_scripts/build-cpython.sh 3.9.5
|
||||
RUN manylinux-entrypoint /build_scripts/build-cpython.sh 3.9.6
|
||||
|
||||
|
||||
FROM build_cpython AS build_cpython310
|
||||
COPY build_scripts/cpython-pubkey-310-311.txt /build_scripts/cpython-pubkeys.txt
|
||||
|
||||
RUN manylinux-entrypoint /build_scripts/build-cpython.sh 3.10.0b1
|
||||
RUN manylinux-entrypoint /build_scripts/build-cpython.sh 3.10.0rc1
|
||||
|
||||
|
||||
FROM build_cpython AS all_cpython
|
||||
FROM build_cpython AS all_python
|
||||
COPY build_scripts/install-pypy.sh /build_scripts/install-pypy.sh
|
||||
COPY build_scripts/pypy.sha256 /build_scripts/pypy.sha256
|
||||
RUN manylinux-entrypoint /build_scripts/install-pypy.sh 3.7 7.3.5
|
||||
COPY --from=build_cpython36 /opt/_internal /opt/_internal/
|
||||
COPY --from=build_cpython37 /opt/_internal /opt/_internal/
|
||||
COPY --from=build_cpython38 /opt/_internal /opt/_internal/
|
||||
|
|
@ -160,11 +153,20 @@ RUN hardlink -cv /opt/_internal
|
|||
|
||||
FROM runtime_base
|
||||
COPY --from=build_git /manylinux-rootfs /
|
||||
COPY --from=build_cmake /manylinux-rootfs /
|
||||
COPY --from=build_swig /manylinux-rootfs /
|
||||
COPY --from=build_cpython /manylinux-rootfs /
|
||||
COPY --from=all_cpython /opt/_internal /opt/_internal/
|
||||
COPY build_scripts/finalize.sh build_scripts/update-system-packages.sh build_scripts/python-tag-abi-tag.py build_scripts/requirements.txt build_scripts/requirements-tools.txt /build_scripts/
|
||||
COPY --from=all_python /opt/_internal /opt/_internal/
|
||||
COPY build_scripts/finalize.sh \
|
||||
build_scripts/update-system-packages.sh \
|
||||
build_scripts/python-tag-abi-tag.py \
|
||||
build_scripts/requirements3.6.txt \
|
||||
build_scripts/requirements3.7.txt \
|
||||
build_scripts/requirements3.8.txt \
|
||||
build_scripts/requirements3.9.txt \
|
||||
build_scripts/requirements3.10.txt \
|
||||
build_scripts/requirements-base-tools.txt \
|
||||
/build_scripts/
|
||||
COPY build_scripts/requirements-tools/* /build_scripts/requirements-tools/
|
||||
RUN manylinux-entrypoint /build_scripts/finalize.sh && rm -rf /build_scripts
|
||||
|
||||
ENV SSL_CERT_FILE=/opt/_internal/certs.pem
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
All the files in this folder were copied from https://github.com/pypa/manylinux (commit id 1858a1073fd9690546a442fde8bd3c4db8df1798) with two tiny changes:
|
||||
All the files in this folder were copied from https://github.com/pypa/manylinux (commit id 92f447b951e121d4df46fbbc68982a76a0e7dc1b) with two tiny changes:
|
||||
|
||||
```diff
|
||||
diff -r /data/bt/os/manylinux/docker/build_scripts/install-entrypoint.sh ./install-entrypoint.sh
|
||||
|
|
@ -7,13 +7,22 @@ diff -r /data/bt/os/manylinux/docker/build_scripts/install-entrypoint.sh ./insta
|
|||
> yum versionlock cuda* libcudnn*
|
||||
\ No newline at end of file
|
||||
diff -r /data/bt/os/manylinux/docker/build_scripts/install-runtime-packages.sh ./install-runtime-packages.sh
|
||||
87c87,92
|
||||
< TOOLCHAIN_DEPS="devtoolset-9-binutils devtoolset-9-gcc devtoolset-9-gcc-c++ devtoolset-9-gcc-gfortran"
|
||||
87c87,95
|
||||
< TOOLCHAIN_DEPS="devtoolset-10-binutils devtoolset-10-gcc devtoolset-10-gcc-c++ devtoolset-10-gcc-gfortran"
|
||||
---
|
||||
>
|
||||
> #Added by @snnn
|
||||
> if [ ! -d "/usr/local/cuda-10.2" ]; then
|
||||
> if [ -d "/usr/local/cuda-10.2" ]; then
|
||||
> TOOLCHAIN_DEPS="devtoolset-8-binutils devtoolset-8-gcc devtoolset-8-gcc-c++ devtoolset-8-gcc-gfortran"
|
||||
> elif [ -d "/usr/local/cuda-11.1" ]; then
|
||||
> TOOLCHAIN_DEPS="devtoolset-9-binutils devtoolset-9-gcc devtoolset-9-gcc-c++ devtoolset-9-gcc-gfortran"
|
||||
> else
|
||||
> TOOLCHAIN_DEPS="devtoolset-8-binutils devtoolset-8-gcc devtoolset-8-gcc-c++ devtoolset-8-gcc-gfortran"
|
||||
> TOOLCHAIN_DEPS="devtoolset-10-binutils devtoolset-10-gcc devtoolset-10-gcc-c++ devtoolset-10-gcc-gfortran"
|
||||
> fi
|
||||
92c100,102
|
||||
< yum -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
|
||||
---
|
||||
> if ! rpm -q --quiet epel-release ; then
|
||||
> yum -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
|
||||
> fi
|
||||
```
|
||||
|
|
|
|||
|
|
@ -33,6 +33,14 @@ tar -xzf Python-${CPYTHON_VERSION}.tgz
|
|||
pushd Python-${CPYTHON_VERSION}
|
||||
PREFIX="/opt/_internal/cpython-${CPYTHON_VERSION}"
|
||||
mkdir -p ${PREFIX}/lib
|
||||
if [ "${AUDITWHEEL_POLICY}" == "manylinux2010" ]; then
|
||||
# The _ctypes stdlib module build started to fail with 3.10.0rc1
|
||||
# No clue what changed exactly yet
|
||||
# This workaround fixes the build
|
||||
LIBFFI_INCLUDEDIR=$(pkg-config --cflags-only-I libffi | tr -d '[:space:]')
|
||||
LIBFFI_INCLUDEDIR=${LIBFFI_INCLUDEDIR:2}
|
||||
cp ${LIBFFI_INCLUDEDIR}/ffi.h ${LIBFFI_INCLUDEDIR}/ffitarget.h /usr/include/
|
||||
fi
|
||||
# configure with hardening options only for the interpreter & stdlib C extensions
|
||||
# do not change the default for user built extension (yet?)
|
||||
./configure \
|
||||
|
|
@ -41,6 +49,9 @@ mkdir -p ${PREFIX}/lib
|
|||
--prefix=${PREFIX} --disable-shared --with-ensurepip=no > /dev/null
|
||||
make -j$(nproc) > /dev/null
|
||||
make install > /dev/null
|
||||
if [ "${AUDITWHEEL_POLICY}" == "manylinux2010" ]; then
|
||||
rm -f /usr/include/ffi.h /usr/include/ffitarget.h
|
||||
fi
|
||||
popd
|
||||
rm -rf Python-${CPYTHON_VERSION} Python-${CPYTHON_VERSION}.tgz Python-${CPYTHON_VERSION}.tgz.asc
|
||||
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@ fetch_source ${GIT_ROOT}.tar.gz ${GIT_DOWNLOAD_URL}
|
|||
check_sha256sum ${GIT_ROOT}.tar.gz ${GIT_HASH}
|
||||
tar -xzf ${GIT_ROOT}.tar.gz
|
||||
pushd ${GIT_ROOT}
|
||||
make -j$(getconf _NPROCESSORS_ONLN) install prefix=/usr/local NO_GETTEXT=1 NO_TCLTK=1 DESTDIR=/manylinux-rootfs CPPFLAGS="${MANYLINUX_CPPFLAGS}" CFLAGS="${MANYLINUX_CFLAGS}" CXXFLAGS="${MANYLINUX_CXXFLAGS}" LDFLAGS="${MANYLINUX_LDFLAGS}"
|
||||
make -j$(nproc) install prefix=/usr/local NO_GETTEXT=1 NO_TCLTK=1 DESTDIR=/manylinux-rootfs CPPFLAGS="${MANYLINUX_CPPFLAGS}" CFLAGS="${MANYLINUX_CFLAGS}" CXXFLAGS="${MANYLINUX_CXXFLAGS}" LDFLAGS="${MANYLINUX_LDFLAGS}"
|
||||
popd
|
||||
rm -rf ${GIT_ROOT} ${GIT_ROOT}.tar.gz
|
||||
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ MY_DIR=$(dirname "${BASH_SOURCE[0]}")
|
|||
source $MY_DIR/build_utils.sh
|
||||
|
||||
mkdir /opt/python
|
||||
for PREFIX in $(find /opt/_internal/ -mindepth 1 -maxdepth 1 -name 'cpython*'); do
|
||||
for PREFIX in $(find /opt/_internal/ -mindepth 1 -maxdepth 1 \( -name 'cpython*' -o -name 'pypy*' \)); do
|
||||
# Some python's install as bin/python3. Make them available as
|
||||
# bin/python.
|
||||
if [ -e ${PREFIX}/bin/python3 ] && [ ! -e ${PREFIX}/bin/python ]; then
|
||||
|
|
@ -20,16 +20,20 @@ for PREFIX in $(find /opt/_internal/ -mindepth 1 -maxdepth 1 -name 'cpython*');
|
|||
if [ -e ${PREFIX}/bin/pip3 ] && [ ! -e ${PREFIX}/bin/pip ]; then
|
||||
ln -s pip3 ${PREFIX}/bin/pip
|
||||
fi
|
||||
PY_VER=$(${PREFIX}/bin/python -c "import sys; print('.'.join(str(v) for v in sys.version_info[:2]))")
|
||||
# Since we fall back on a canned copy of pip, we might not have
|
||||
# the latest pip and friends. Upgrade them to make sure.
|
||||
${PREFIX}/bin/pip install -U --require-hashes -r ${MY_DIR}/requirements.txt
|
||||
${PREFIX}/bin/pip install -U --require-hashes -r ${MY_DIR}/requirements${PY_VER}.txt
|
||||
# Create a symlink to PREFIX using the ABI_TAG in /opt/python/
|
||||
ABI_TAG=$(${PREFIX}/bin/python ${MY_DIR}/python-tag-abi-tag.py)
|
||||
ln -s ${PREFIX} /opt/python/${ABI_TAG}
|
||||
# Make versioned python commands available directly in environment.
|
||||
PYVERS=$(${PREFIX}/bin/python -c "import sys; print('.'.join(map(str, sys.version_info[:2])))")
|
||||
ln -s ${PREFIX}/bin/python /usr/local/bin/python${PYVERS}
|
||||
ln -s ${PREFIX}/bin/pip /usr/local/bin/pip${PYVERS}
|
||||
if [[ "${PREFIX}" == *"/pypy"* ]]; then
|
||||
ln -s ${PREFIX}/bin/python /usr/local/bin/pypy${PYVERS}
|
||||
else
|
||||
ln -s ${PREFIX}/bin/python /usr/local/bin/python${PYVERS}
|
||||
fi
|
||||
done
|
||||
|
||||
# Create venv for auditwheel & certifi
|
||||
|
|
@ -38,15 +42,24 @@ TOOLS_PATH=/opt/_internal/tools
|
|||
source $TOOLS_PATH/bin/activate
|
||||
|
||||
# Install default packages
|
||||
pip install -U --require-hashes -r $MY_DIR/requirements.txt
|
||||
# Install certifi and auditwheel
|
||||
pip install -U --require-hashes -r $MY_DIR/requirements-tools.txt
|
||||
pip install -U --require-hashes -r $MY_DIR/requirements3.9.txt
|
||||
# Install certifi and pipx
|
||||
pip install -U --require-hashes -r $MY_DIR/requirements-base-tools.txt
|
||||
|
||||
# Make auditwheel available in PATH
|
||||
ln -s $TOOLS_PATH/bin/auditwheel /usr/local/bin/auditwheel
|
||||
# Make pipx available in PATH,
|
||||
# Make sure when root installs apps, they're also in the PATH
|
||||
cat <<EOF > /usr/local/bin/pipx
|
||||
#!/bin/bash
|
||||
|
||||
# Make pipx available in PATH
|
||||
ln -s $TOOLS_PATH/bin/pipx /usr/local/bin/pipx
|
||||
set -euo pipefail
|
||||
|
||||
if [ \$(id -u) -eq 0 ]; then
|
||||
export PIPX_HOME=/opt/_internal/pipx
|
||||
export PIPX_BIN_DIR=/usr/local/bin
|
||||
fi
|
||||
${TOOLS_PATH}/bin/pipx "\$@"
|
||||
EOF
|
||||
chmod 755 /usr/local/bin/pipx
|
||||
|
||||
# Our openssl doesn't know how to find the system CA trust store
|
||||
# (https://github.com/pypa/manylinux/issues/53)
|
||||
|
|
@ -59,6 +72,14 @@ export SSL_CERT_FILE=/opt/_internal/certs.pem
|
|||
# Deactivate the tools virtual environment
|
||||
deactivate
|
||||
|
||||
# install other tools with pipx
|
||||
pushd $MY_DIR/requirements-tools
|
||||
for TOOL_PATH in $(find . -type f); do
|
||||
TOOL=$(basename ${TOOL_PATH})
|
||||
pipx install --pip-args="--require-hashes -r" ${TOOL}
|
||||
done
|
||||
popd
|
||||
|
||||
# We do not need the precompiled .pyc and .pyo files.
|
||||
clean_pyc /opt/_internal
|
||||
|
||||
|
|
|
|||
|
|
@ -10,6 +10,25 @@ MY_DIR=$(dirname "${BASH_SOURCE[0]}")
|
|||
# Get build utilities
|
||||
source $MY_DIR/build_utils.sh
|
||||
|
||||
# We need perl 5.14+
|
||||
if ! perl -e 'use 5.14.0' &> /dev/null; then
|
||||
check_var ${PERL_ROOT}
|
||||
check_var ${PERL_HASH}
|
||||
check_var ${PERL_DOWNLOAD_URL}
|
||||
fetch_source ${PERL_ROOT}.tar.gz ${PERL_DOWNLOAD_URL}
|
||||
check_sha256sum "${PERL_ROOT}.tar.gz" "${PERL_HASH}"
|
||||
|
||||
tar -xzf ${PERL_ROOT}.tar.gz
|
||||
pushd ${PERL_ROOT}
|
||||
./Configure -des -Dprefix=/tmp/perl-libxcrypt > /dev/null
|
||||
make -j$(nproc) > /dev/null
|
||||
make install > /dev/null
|
||||
popd
|
||||
|
||||
rm -rf ${PERL_ROOT}.tar.gz ${PERL_ROOT}
|
||||
export PATH=/tmp/perl-libxcrypt/bin:${PATH}
|
||||
fi
|
||||
|
||||
# Install libcrypt.so.1 and libcrypt.so.2
|
||||
check_var ${LIBXCRYPT_VERSION}
|
||||
check_var ${LIBXCRYPT_HASH}
|
||||
|
|
@ -50,3 +69,8 @@ rm -rf /manylinux-rootfs
|
|||
rm -rf /usr/include/crypt.h
|
||||
find /lib* /usr/lib* \( -name 'libcrypt.a' -o -name 'libcrypt.so' -o -name 'libcrypt.so.*' -o -name 'libcrypt-2.*.so' \) -delete
|
||||
ldconfig
|
||||
|
||||
# Remove temp Perl
|
||||
if [ -d /tmp/perl-libxcrypt ]; then
|
||||
rm -rf /tmp/perl-libxcrypt
|
||||
fi
|
||||
|
|
|
|||
70
tools/ci_build/github/linux/docker/build_scripts/install-pypy.sh
Executable file
70
tools/ci_build/github/linux/docker/build_scripts/install-pypy.sh
Executable file
|
|
@ -0,0 +1,70 @@
|
|||
#!/bin/bash
|
||||
|
||||
# Stop at any error, show all commands
|
||||
set -exuo pipefail
|
||||
|
||||
# Get script directory
|
||||
MY_DIR=$(dirname "${BASH_SOURCE[0]}")
|
||||
|
||||
# Get build utilities
|
||||
source $MY_DIR/build_utils.sh
|
||||
|
||||
|
||||
PYTHON_VERSION=$1
|
||||
PYPY_VERSION=$2
|
||||
PYPY_DOWNLOAD_URL=https://downloads.python.org/pypy
|
||||
|
||||
|
||||
function get_shortdir {
|
||||
local exe=$1
|
||||
$exe -c 'import sys; print("pypy%d.%d-%d.%d.%d" % (sys.version_info[:2]+sys.pypy_version_info[:3]))'
|
||||
}
|
||||
|
||||
|
||||
mkdir -p /tmp
|
||||
cd /tmp
|
||||
|
||||
case ${AUDITWHEEL_ARCH} in
|
||||
x86_64) PYPY_ARCH=linux64;;
|
||||
i686) PYPY_ARCH=linux32;;
|
||||
aarch64) PYPY_ARCH=aarch64;;
|
||||
*) echo "No PyPy for ${AUDITWHEEL_ARCH}"; exit 0;;
|
||||
esac
|
||||
|
||||
TARBALL=pypy${PYTHON_VERSION}-v${PYPY_VERSION}-${PYPY_ARCH}.tar.bz2
|
||||
TMPDIR=/tmp/${TARBALL/.tar.bz2//}
|
||||
PREFIX="/opt/_internal"
|
||||
|
||||
mkdir -p ${PREFIX}
|
||||
|
||||
fetch_source ${TARBALL} ${PYPY_DOWNLOAD_URL}
|
||||
|
||||
# We only want to check the current tarball sha256sum
|
||||
grep " ${TARBALL}\$" ${MY_DIR}/pypy.sha256 > ${TARBALL}.sha256
|
||||
# then check sha256 sum
|
||||
sha256sum -c ${TARBALL}.sha256
|
||||
|
||||
tar -xf ${TARBALL}
|
||||
|
||||
# the new PyPy 3 distributions don't have pypy symlinks to pypy3
|
||||
if [ ! -f "${TMPDIR}/bin/pypy" ]; then
|
||||
ln -s pypy3 ${TMPDIR}/bin/pypy
|
||||
fi
|
||||
|
||||
# rename the directory to something shorter like pypy3.7-7.3.4
|
||||
PREFIX=${PREFIX}/$(get_shortdir ${TMPDIR}/bin/pypy)
|
||||
mv ${TMPDIR} ${PREFIX}
|
||||
|
||||
# add a generic "python" symlink
|
||||
if [ ! -f "${PREFIX}/bin/python" ]; then
|
||||
ln -s pypy ${PREFIX}/bin/python
|
||||
fi
|
||||
|
||||
# remove debug symbols
|
||||
rm ${PREFIX}/bin/*.debug
|
||||
|
||||
# We do not need the Python test suites
|
||||
find ${PREFIX} -depth \( -type d -a -name test -o -name tests \) | xargs rm -rf
|
||||
|
||||
# We do not need precompiled .pyc and .pyo files.
|
||||
clean_pyc ${PREFIX}
|
||||
|
|
@ -84,27 +84,30 @@ elif [ "${AUDITWHEEL_POLICY}" == "manylinux2014" ]; then
|
|||
yum -y update
|
||||
yum -y install yum-utils curl
|
||||
yum-config-manager --enable extras
|
||||
#Added by @snnn
|
||||
if [ ! -d "/usr/local/cuda-10.2" ]; then
|
||||
TOOLCHAIN_DEPS="devtoolset-9-binutils devtoolset-9-gcc devtoolset-9-gcc-c++ devtoolset-9-gcc-gfortran"
|
||||
else
|
||||
TOOLCHAIN_DEPS="devtoolset-8-binutils devtoolset-8-gcc devtoolset-8-gcc-c++ devtoolset-8-gcc-gfortran"
|
||||
fi
|
||||
|
||||
#Added by @snnn
|
||||
if [ -d "/usr/local/cuda-10.2" ]; then
|
||||
TOOLCHAIN_DEPS="devtoolset-8-binutils devtoolset-8-gcc devtoolset-8-gcc-c++ devtoolset-8-gcc-gfortran"
|
||||
elif [ -d "/usr/local/cuda-11.1" ]; then
|
||||
TOOLCHAIN_DEPS="devtoolset-9-binutils devtoolset-9-gcc devtoolset-9-gcc-c++ devtoolset-9-gcc-gfortran"
|
||||
else
|
||||
TOOLCHAIN_DEPS="devtoolset-10-binutils devtoolset-10-gcc devtoolset-10-gcc-c++ devtoolset-10-gcc-gfortran"
|
||||
fi
|
||||
if [ "${AUDITWHEEL_ARCH}" == "x86_64" ]; then
|
||||
# Software collection (for devtoolset-9)
|
||||
# Software collection (for devtoolset-10)
|
||||
yum -y install centos-release-scl-rh
|
||||
# EPEL support (for yasm)
|
||||
if ! rpm -q --quiet epel-release ; then
|
||||
yum -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
|
||||
fi
|
||||
if ! rpm -q --quiet epel-release ; then
|
||||
yum -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
|
||||
fi
|
||||
TOOLCHAIN_DEPS="${TOOLCHAIN_DEPS} yasm"
|
||||
elif [ "${AUDITWHEEL_ARCH}" == "aarch64" ] || [ "${AUDITWHEEL_ARCH}" == "ppc64le" ] || [ "${AUDITWHEEL_ARCH}" == "s390x" ]; then
|
||||
# Software collection (for devtoolset-9)
|
||||
# Software collection (for devtoolset-10)
|
||||
yum -y install centos-release-scl-rh
|
||||
elif [ "${AUDITWHEEL_ARCH}" == "i686" ]; then
|
||||
# No yasm on i686
|
||||
# Install mayeut/devtoolset-9 repo to get devtoolset-9
|
||||
curl -fsSLo /etc/yum.repos.d/mayeut-devtoolset-9.repo https://copr.fedorainfracloud.org/coprs/mayeut/devtoolset-9/repo/custom-1/mayeut-devtoolset-9-custom-1.repo
|
||||
# Install mayeut/devtoolset-10 repo to get devtoolset-10
|
||||
curl -fsSLo /etc/yum.repos.d/mayeut-devtoolset-10.repo https://copr.fedorainfracloud.org/coprs/mayeut/devtoolset-10/repo/custom-1/mayeut-devtoolset-10-custom-1.repo
|
||||
fi
|
||||
elif [ "${AUDITWHEEL_POLICY}" == "manylinux_2_24" ]; then
|
||||
PACKAGE_MANAGER=apt
|
||||
|
|
|
|||
|
|
@ -0,0 +1,3 @@
|
|||
85d83093b3ef5b863f641bc4073d057cc98bb821e16aa9361a5ff4898e70e8ee pypy3.7-v7.3.5-aarch64.tar.bz2
|
||||
3dd8b565203d372829e53945c599296fa961895130342ea13791b17c84ed06c4 pypy3.7-v7.3.5-linux32.tar.bz2
|
||||
9000db3e87b54638e55177e68cbeb30a30fe5d17b6be48a9eb43d65b3ebcfc26 pypy3.7-v7.3.5-linux64.tar.bz2
|
||||
|
|
@ -0,0 +1,34 @@
|
|||
#
|
||||
# This file is autogenerated by pip-compile with python 3.9
|
||||
# To update, run:
|
||||
#
|
||||
# pip-compile --generate-hashes --output-file=docker/build_scripts/requirements-base-tools.txt requirements-base-tools.in
|
||||
#
|
||||
argcomplete==1.12.3 \
|
||||
--hash=sha256:291f0beca7fd49ce285d2f10e4c1c77e9460cf823eef2de54df0c0fec88b0d81 \
|
||||
--hash=sha256:2c7dbffd8c045ea534921e63b0be6fe65e88599990d8dc408ac8c542b72a5445
|
||||
# via pipx
|
||||
certifi==2021.5.30 \
|
||||
--hash=sha256:2bbf76fd432960138b3ef6dda3dde0544f27cbf8546c458e60baf371917ba9ee \
|
||||
--hash=sha256:50b1e4f8446b06f41be7dd6338db18e0990601dce795c2b1686458aa7e8fa7d8
|
||||
# via -r requirements-base-tools.in
|
||||
click==8.0.1 \
|
||||
--hash=sha256:8c04c11192119b1ef78ea049e0a6f0463e4c48ef00a30160c704337586f3ad7a \
|
||||
--hash=sha256:fba402a4a47334742d782209a7c79bc448911afe1149d07bdabdf480b3e2f4b6
|
||||
# via userpath
|
||||
packaging==21.0 \
|
||||
--hash=sha256:7dc96269f53a4ccec5c0670940a4281106dd0bb343f47b7471f779df49c2fbe7 \
|
||||
--hash=sha256:c86254f9220d55e31cc94d69bade760f0847da8000def4dfe1c6b872fd14ff14
|
||||
# via pipx
|
||||
pipx==0.16.3 \
|
||||
--hash=sha256:51fa41281383212db3b2a6906713871edc1a7d597ae387873026402e281a0b25 \
|
||||
--hash=sha256:f8af81adaf55716a44f62197528ed3468e33ce53afa21f3b9fe812319bef851c
|
||||
# via -r requirements-base-tools.in
|
||||
pyparsing==2.4.7 \
|
||||
--hash=sha256:c203ec8783bf771a155b207279b9bccb8dea02d8f0c9e5f8ead507bc3246ecc1 \
|
||||
--hash=sha256:ef9d7589ef3c200abe66653d3f1ab1033c3c419ae9b9bdb1240a85b024efc88b
|
||||
# via packaging
|
||||
userpath==1.7.0 \
|
||||
--hash=sha256:4c3d3b611706a8b0c6309510c8b1a774c54eb491cafe7df58dc5571c0bee30e2 \
|
||||
--hash=sha256:dcd66c5fa9b1a3c12362f309bbb5bc7992bac8af86d17b4e6b1a4b166a11c43f
|
||||
# via pipx
|
||||
|
|
@ -1,34 +1,53 @@
|
|||
# pip requirements for tools
|
||||
# NOTE: certifi has GPG signatures; could download and verify independently.
|
||||
certifi==2020.12.5 \
|
||||
--hash=sha256:719a74fb9e33b9bd44cc7f3a8d94bc35e4049deebe19ba7d8e108280cfd59830 \
|
||||
--hash=sha256:1a4995114262bffbc2413b159f2a1a480c969de6e6eb13ee966d470af86af59c
|
||||
auditwheel==4.0.0 \
|
||||
--hash=sha256:96927695ddf27b4edb67291e326908d64ffe272b8a42b9504f283e7ae5ebbc14 \
|
||||
--hash=sha256:03a079fe273f42336acdb5953ff5ce7578f93ca6a832b16c835fe337a1e2bd4a
|
||||
pipx==0.16.2.1 \
|
||||
--hash=sha256:0ac30d7c1bbcd565130caa8faa08a486aed292882b12b047b80cd8abacaaa843 \
|
||||
--hash=sha256:805319eab100c0c36e349b76103bbe903445229a60ebb0010d7cf7590ff5ba20
|
||||
# this package is required for auditwheel
|
||||
pyelftools==0.27 \
|
||||
--hash=sha256:5609aa6da1123fccfae2e8431a67b4146aa7fad5b3889f808df12b110f230937 \
|
||||
--hash=sha256:cde854e662774c5457d688ca41615f6594187ba7067af101232df889a6b7a66b
|
||||
# those packages are required for pipx
|
||||
#
|
||||
# This file is autogenerated by pip-compile with python 3.9
|
||||
# To update, run:
|
||||
#
|
||||
# pip-compile --generate-hashes --output-file=docker/build_scripts/requirements-tools.txt requirements-tools.in
|
||||
#
|
||||
argcomplete==1.12.3 \
|
||||
--hash=sha256:291f0beca7fd49ce285d2f10e4c1c77e9460cf823eef2de54df0c0fec88b0d81 \
|
||||
--hash=sha256:2c7dbffd8c045ea534921e63b0be6fe65e88599990d8dc408ac8c542b72a5445
|
||||
click==8.0.0 \
|
||||
--hash=sha256:7d8c289ee437bcb0316820ccee14aefcb056e58d31830ecab8e47eda6540e136 \
|
||||
--hash=sha256:e90e62ced43dc8105fb9a26d62f0d9340b5c8db053a814e25d95c19873ae87db
|
||||
colorama==0.4.4 \
|
||||
--hash=sha256:5941b2b48a20143d2267e95b1c2a7603ce057ee39fd88e7329b0c292aa16869b \
|
||||
--hash=sha256:9f47eda37229f68eee03b24b9748937c7dc3868f906e8ba69fbcbdd3bc5dc3e2
|
||||
packaging==20.9 \
|
||||
--hash=sha256:5b327ac1320dc863dca72f4514ecc086f31186744b84a230374cc1fd776feae5 \
|
||||
--hash=sha256:67714da7f7bc052e064859c05c595155bd1ee9f69f76557e21f051443c20947a
|
||||
# via pipx
|
||||
auditwheel==4.0.0 \
|
||||
--hash=sha256:03a079fe273f42336acdb5953ff5ce7578f93ca6a832b16c835fe337a1e2bd4a \
|
||||
--hash=sha256:96927695ddf27b4edb67291e326908d64ffe272b8a42b9504f283e7ae5ebbc14
|
||||
# via -r requirements-tools.in
|
||||
certifi==2021.5.30 \
|
||||
--hash=sha256:2bbf76fd432960138b3ef6dda3dde0544f27cbf8546c458e60baf371917ba9ee \
|
||||
--hash=sha256:50b1e4f8446b06f41be7dd6338db18e0990601dce795c2b1686458aa7e8fa7d8
|
||||
# via -r requirements-tools.in
|
||||
click==8.0.1 \
|
||||
--hash=sha256:8c04c11192119b1ef78ea049e0a6f0463e4c48ef00a30160c704337586f3ad7a \
|
||||
--hash=sha256:fba402a4a47334742d782209a7c79bc448911afe1149d07bdabdf480b3e2f4b6
|
||||
# via userpath
|
||||
cmake==3.21.0 \
|
||||
--hash=sha256:0a02fb58d782f403587f119535ef0905941308494547053b97cd7cb4df181a07 \
|
||||
--hash=sha256:10247eced45fd7cd82f8f45700a764822c7a768cbb53d54169ea9a9a79252b84 \
|
||||
--hash=sha256:68889247d5f78848bb87d3dec5716169f918c04b11a900084b3259ddeee64dba \
|
||||
--hash=sha256:6e6083d95872124beea93c3abd405f353ad2d870902866f7c92cdb370621c379 \
|
||||
--hash=sha256:73be00791abbf85a482417f10cd7fd9d352b25a5fbc89ab635a571578042278c \
|
||||
--hash=sha256:76e87e27e889f57cf5a2553754b16a6f16edcb8eadaa638506842c4324bdf4eb \
|
||||
--hash=sha256:cbc1768df88daee24ecdf98f263422a6d8862bbd126084287d80017f7e7af34c \
|
||||
--hash=sha256:cd51962b6021760bc5ac2eea5eaa5a8d8bec5820d6e299dee084f133c3440bba \
|
||||
--hash=sha256:e1f96e8ef7776d413669cec93e07437e201a0b84b325974fc3563edec4f2ad20
|
||||
# via -r requirements-tools.in
|
||||
packaging==21.0 \
|
||||
--hash=sha256:7dc96269f53a4ccec5c0670940a4281106dd0bb343f47b7471f779df49c2fbe7 \
|
||||
--hash=sha256:c86254f9220d55e31cc94d69bade760f0847da8000def4dfe1c6b872fd14ff14
|
||||
# via pipx
|
||||
pipx==0.16.3 \
|
||||
--hash=sha256:51fa41281383212db3b2a6906713871edc1a7d597ae387873026402e281a0b25 \
|
||||
--hash=sha256:f8af81adaf55716a44f62197528ed3468e33ce53afa21f3b9fe812319bef851c
|
||||
# via -r requirements-tools.in
|
||||
pyelftools==0.27 \
|
||||
--hash=sha256:5609aa6da1123fccfae2e8431a67b4146aa7fad5b3889f808df12b110f230937 \
|
||||
--hash=sha256:cde854e662774c5457d688ca41615f6594187ba7067af101232df889a6b7a66b
|
||||
# via auditwheel
|
||||
pyparsing==2.4.7 \
|
||||
--hash=sha256:c203ec8783bf771a155b207279b9bccb8dea02d8f0c9e5f8ead507bc3246ecc1 \
|
||||
--hash=sha256:ef9d7589ef3c200abe66653d3f1ab1033c3c419ae9b9bdb1240a85b024efc88b
|
||||
userpath==1.5.0 \
|
||||
--hash=sha256:61f84899b7280800a8b6cc1b959a0cf250f6757e6f6c7176d7455bb693a4423a \
|
||||
--hash=sha256:c6a5b42e454f5e88d54af035fe3756de33a5318ad65a4191bb64e6b7cac03bcc
|
||||
# via packaging
|
||||
userpath==1.6.0 \
|
||||
--hash=sha256:43569129eeecec6c567bcbd47120c161a43344712417de013b754191961426db \
|
||||
--hash=sha256:b2b9a5ca1478ecfa63514b48709d650f48bf7be89f62bd236db556b85b6deff6
|
||||
# via pipx
|
||||
|
|
|
|||
|
|
@ -0,0 +1,14 @@
|
|||
#
|
||||
# This file is autogenerated by pip-compile with python 3.9
|
||||
# To update, run:
|
||||
#
|
||||
# pip-compile --generate-hashes --output-file=docker/build_scripts/requirements-tools/auditwheel .nox/tools/tmp/auditwheel.in
|
||||
#
|
||||
auditwheel==4.0.0 \
|
||||
--hash=sha256:03a079fe273f42336acdb5953ff5ce7578f93ca6a832b16c835fe337a1e2bd4a \
|
||||
--hash=sha256:96927695ddf27b4edb67291e326908d64ffe272b8a42b9504f283e7ae5ebbc14
|
||||
# via -r .nox/tools/tmp/auditwheel.in
|
||||
pyelftools==0.27 \
|
||||
--hash=sha256:5609aa6da1123fccfae2e8431a67b4146aa7fad5b3889f808df12b110f230937 \
|
||||
--hash=sha256:cde854e662774c5457d688ca41615f6594187ba7067af101232df889a6b7a66b
|
||||
# via auditwheel
|
||||
|
|
@ -0,0 +1,17 @@
|
|||
#
|
||||
# This file is autogenerated by pip-compile with python 3.9
|
||||
# To update, run:
|
||||
#
|
||||
# pip-compile --generate-hashes --output-file=docker/build_scripts/requirements-tools/cmake .nox/tools/tmp/cmake.in
|
||||
#
|
||||
cmake==3.21.1.post1 \
|
||||
--hash=sha256:1cf061e78e9a16f7f40f768f12d806483fe0eee7c1f9eeb4766610cb9122cb73 \
|
||||
--hash=sha256:1d637b7153d337c118df79aca9189f8c44d4200f0c99d2aaf021d7696a535f9a \
|
||||
--hash=sha256:2fc534f714347c2bfca7b15a0004f224f61164658130f33402341e10a5188658 \
|
||||
--hash=sha256:4b8c1810b2defc30b35b8973aec5d8055038fde1e9df984812e09a290d4b65a3 \
|
||||
--hash=sha256:9e21f75ba51b04f7fa8cbf6965bfb194db32f4b04eb7757c312a621c0a4dd847 \
|
||||
--hash=sha256:a3f32247ef6000616585ab847bcb367787606ad33ab34f64dcfc85d304dafea9 \
|
||||
--hash=sha256:aaea4911f6fccaf5a84110b2c9d4b5d99e9792112199ca25408c635bd2fd8584 \
|
||||
--hash=sha256:caa81c3f3985b552bc2e38fb339ba84c0c237441d508f4de01d44a2948eddd36 \
|
||||
--hash=sha256:e000ef5d4893ceaec852f468d6adc7698ca08ebaecb6df38d81ceed32b4ad9e3
|
||||
# via -r .nox/tools/tmp/cmake.in
|
||||
|
|
@ -0,0 +1,44 @@
|
|||
#
|
||||
# This file is autogenerated by pip-compile with python 3.10
|
||||
# To update, run:
|
||||
#
|
||||
# pip-compile --allow-unsafe --generate-hashes --output-file=docker/build_scripts/requirements3.10.txt requirements.in
|
||||
#
|
||||
build==0.5.1 \
|
||||
--hash=sha256:0281eeec2697ee43114eb4fe3ba6e54c111ee2c4ef287b5cd24f82cb24cc1bdb \
|
||||
--hash=sha256:16897cac845b50cca04f3c92cf8d3e9e0868b21b29b96b577333c14473baa916
|
||||
# via -r requirements.in
|
||||
packaging==21.0 \
|
||||
--hash=sha256:7dc96269f53a4ccec5c0670940a4281106dd0bb343f47b7471f779df49c2fbe7 \
|
||||
--hash=sha256:c86254f9220d55e31cc94d69bade760f0847da8000def4dfe1c6b872fd14ff14
|
||||
# via build
|
||||
pep517==0.11.0 \
|
||||
--hash=sha256:3fa6b85b9def7ba4de99fb7f96fe3f02e2d630df8aa2720a5cf3b183f087a738 \
|
||||
--hash=sha256:e1ba5dffa3a131387979a68ff3e391ac7d645be409216b961bc2efe6468ab0b2
|
||||
# via build
|
||||
pyparsing==2.4.7 \
|
||||
--hash=sha256:c203ec8783bf771a155b207279b9bccb8dea02d8f0c9e5f8ead507bc3246ecc1 \
|
||||
--hash=sha256:ef9d7589ef3c200abe66653d3f1ab1033c3c419ae9b9bdb1240a85b024efc88b
|
||||
# via packaging
|
||||
toml==0.10.2 \
|
||||
--hash=sha256:806143ae5bfb6a3c6e736a764057db0e6a0e05e338b5630894a5f779cabb4f9b \
|
||||
--hash=sha256:b3bda1d108d5dd99f4a20d24d9c348e91c4db7ab1b749200bded2f839ccbe68f
|
||||
# via build
|
||||
tomli==1.2.0 \
|
||||
--hash=sha256:056f0376bf5a6b182c513f9582c1e5b0487265eb6c48842b69aa9ca1cd5f640a \
|
||||
--hash=sha256:d60e681734099207a6add7a10326bc2ddd1fdc36c1b0f547d00ef73ac63739c2
|
||||
# via pep517
|
||||
wheel==0.36.2 \
|
||||
--hash=sha256:78b5b185f0e5763c26ca1e324373aadd49182ca90e825f7853f4b2509215dc0e \
|
||||
--hash=sha256:e11eefd162658ea59a60a0f6c7d493a7190ea4b9a85e335b33489d9f17e0245e
|
||||
# via -r requirements.in
|
||||
|
||||
# The following packages are considered to be unsafe in a requirements file:
|
||||
pip==21.2.2 \
|
||||
--hash=sha256:38e9250dfb0d7fa842492bede9259d4b3289a936ce454f7c58f059f28a94c01d \
|
||||
--hash=sha256:b02a9d345f913e03fde2ed41896687cc1a2053c6adbe142ec03cff6b0827233d
|
||||
# via -r requirements.in
|
||||
setuptools==57.4.0 \
|
||||
--hash=sha256:6bac238ffdf24e8806c61440e755192470352850f3419a52f26ffe0a1a64f465 \
|
||||
--hash=sha256:a49230977aa6cfb9d933614d2f7b79036e9945c4cdd7583163f4e920b83418d6
|
||||
# via -r requirements.in
|
||||
|
|
@ -0,0 +1,61 @@
|
|||
#
|
||||
# This file is autogenerated by pip-compile with python 3.6
|
||||
# To update, run:
|
||||
#
|
||||
# pip-compile --allow-unsafe --generate-hashes --output-file=docker/build_scripts/requirements3.6.txt requirements.in
|
||||
#
|
||||
build==0.5.1 \
|
||||
--hash=sha256:0281eeec2697ee43114eb4fe3ba6e54c111ee2c4ef287b5cd24f82cb24cc1bdb \
|
||||
--hash=sha256:16897cac845b50cca04f3c92cf8d3e9e0868b21b29b96b577333c14473baa916
|
||||
# via -r requirements.in
|
||||
importlib-metadata==4.6.3 \
|
||||
--hash=sha256:0645585859e9a6689c523927a5032f2ba5919f1f7d0e84bd4533312320de1ff9 \
|
||||
--hash=sha256:51c6635429c77cf1ae634c997ff9e53ca3438b495f10a55ba28594dd69764a8b
|
||||
# via
|
||||
# build
|
||||
# pep517
|
||||
packaging==21.0 \
|
||||
--hash=sha256:7dc96269f53a4ccec5c0670940a4281106dd0bb343f47b7471f779df49c2fbe7 \
|
||||
--hash=sha256:c86254f9220d55e31cc94d69bade760f0847da8000def4dfe1c6b872fd14ff14
|
||||
# via build
|
||||
pep517==0.11.0 \
|
||||
--hash=sha256:3fa6b85b9def7ba4de99fb7f96fe3f02e2d630df8aa2720a5cf3b183f087a738 \
|
||||
--hash=sha256:e1ba5dffa3a131387979a68ff3e391ac7d645be409216b961bc2efe6468ab0b2
|
||||
# via build
|
||||
pyparsing==2.4.7 \
|
||||
--hash=sha256:c203ec8783bf771a155b207279b9bccb8dea02d8f0c9e5f8ead507bc3246ecc1 \
|
||||
--hash=sha256:ef9d7589ef3c200abe66653d3f1ab1033c3c419ae9b9bdb1240a85b024efc88b
|
||||
# via packaging
|
||||
toml==0.10.2 \
|
||||
--hash=sha256:806143ae5bfb6a3c6e736a764057db0e6a0e05e338b5630894a5f779cabb4f9b \
|
||||
--hash=sha256:b3bda1d108d5dd99f4a20d24d9c348e91c4db7ab1b749200bded2f839ccbe68f
|
||||
# via build
|
||||
tomli==1.2.0 \
|
||||
--hash=sha256:056f0376bf5a6b182c513f9582c1e5b0487265eb6c48842b69aa9ca1cd5f640a \
|
||||
--hash=sha256:d60e681734099207a6add7a10326bc2ddd1fdc36c1b0f547d00ef73ac63739c2
|
||||
# via pep517
|
||||
typing-extensions==3.10.0.0 \
|
||||
--hash=sha256:0ac0f89795dd19de6b97debb0c6af1c70987fd80a2d62d1958f7e56fcc31b497 \
|
||||
--hash=sha256:50b6f157849174217d0656f99dc82fe932884fb250826c18350e159ec6cdf342 \
|
||||
--hash=sha256:779383f6086d90c99ae41cf0ff39aac8a7937a9283ce0a414e5dd782f4c94a84
|
||||
# via importlib-metadata
|
||||
wheel==0.36.2 \
|
||||
--hash=sha256:78b5b185f0e5763c26ca1e324373aadd49182ca90e825f7853f4b2509215dc0e \
|
||||
--hash=sha256:e11eefd162658ea59a60a0f6c7d493a7190ea4b9a85e335b33489d9f17e0245e
|
||||
# via -r requirements.in
|
||||
zipp==3.5.0 \
|
||||
--hash=sha256:957cfda87797e389580cb8b9e3870841ca991e2125350677b2ca83a0e99390a3 \
|
||||
--hash=sha256:f5812b1e007e48cff63449a5e9f4e7ebea716b4111f9c4f9a645f91d579bf0c4
|
||||
# via
|
||||
# importlib-metadata
|
||||
# pep517
|
||||
|
||||
# The following packages are considered to be unsafe in a requirements file:
|
||||
pip==21.2.2 \
|
||||
--hash=sha256:38e9250dfb0d7fa842492bede9259d4b3289a936ce454f7c58f059f28a94c01d \
|
||||
--hash=sha256:b02a9d345f913e03fde2ed41896687cc1a2053c6adbe142ec03cff6b0827233d
|
||||
# via -r requirements.in
|
||||
setuptools==57.4.0 \
|
||||
--hash=sha256:6bac238ffdf24e8806c61440e755192470352850f3419a52f26ffe0a1a64f465 \
|
||||
--hash=sha256:a49230977aa6cfb9d933614d2f7b79036e9945c4cdd7583163f4e920b83418d6
|
||||
# via -r requirements.in
|
||||
|
|
@ -0,0 +1,61 @@
|
|||
#
|
||||
# This file is autogenerated by pip-compile with python 3.7
|
||||
# To update, run:
|
||||
#
|
||||
# pip-compile --allow-unsafe --generate-hashes --output-file=docker/build_scripts/requirements3.7.txt requirements.in
|
||||
#
|
||||
build==0.5.1 \
|
||||
--hash=sha256:0281eeec2697ee43114eb4fe3ba6e54c111ee2c4ef287b5cd24f82cb24cc1bdb \
|
||||
--hash=sha256:16897cac845b50cca04f3c92cf8d3e9e0868b21b29b96b577333c14473baa916
|
||||
# via -r requirements.in
|
||||
importlib-metadata==4.6.3 \
|
||||
--hash=sha256:0645585859e9a6689c523927a5032f2ba5919f1f7d0e84bd4533312320de1ff9 \
|
||||
--hash=sha256:51c6635429c77cf1ae634c997ff9e53ca3438b495f10a55ba28594dd69764a8b
|
||||
# via
|
||||
# build
|
||||
# pep517
|
||||
packaging==21.0 \
|
||||
--hash=sha256:7dc96269f53a4ccec5c0670940a4281106dd0bb343f47b7471f779df49c2fbe7 \
|
||||
--hash=sha256:c86254f9220d55e31cc94d69bade760f0847da8000def4dfe1c6b872fd14ff14
|
||||
# via build
|
||||
pep517==0.11.0 \
|
||||
--hash=sha256:3fa6b85b9def7ba4de99fb7f96fe3f02e2d630df8aa2720a5cf3b183f087a738 \
|
||||
--hash=sha256:e1ba5dffa3a131387979a68ff3e391ac7d645be409216b961bc2efe6468ab0b2
|
||||
# via build
|
||||
pyparsing==2.4.7 \
|
||||
--hash=sha256:c203ec8783bf771a155b207279b9bccb8dea02d8f0c9e5f8ead507bc3246ecc1 \
|
||||
--hash=sha256:ef9d7589ef3c200abe66653d3f1ab1033c3c419ae9b9bdb1240a85b024efc88b
|
||||
# via packaging
|
||||
toml==0.10.2 \
|
||||
--hash=sha256:806143ae5bfb6a3c6e736a764057db0e6a0e05e338b5630894a5f779cabb4f9b \
|
||||
--hash=sha256:b3bda1d108d5dd99f4a20d24d9c348e91c4db7ab1b749200bded2f839ccbe68f
|
||||
# via build
|
||||
tomli==1.2.0 \
|
||||
--hash=sha256:056f0376bf5a6b182c513f9582c1e5b0487265eb6c48842b69aa9ca1cd5f640a \
|
||||
--hash=sha256:d60e681734099207a6add7a10326bc2ddd1fdc36c1b0f547d00ef73ac63739c2
|
||||
# via pep517
|
||||
typing-extensions==3.10.0.0 \
|
||||
--hash=sha256:0ac0f89795dd19de6b97debb0c6af1c70987fd80a2d62d1958f7e56fcc31b497 \
|
||||
--hash=sha256:50b6f157849174217d0656f99dc82fe932884fb250826c18350e159ec6cdf342 \
|
||||
--hash=sha256:779383f6086d90c99ae41cf0ff39aac8a7937a9283ce0a414e5dd782f4c94a84
|
||||
# via importlib-metadata
|
||||
wheel==0.36.2 \
|
||||
--hash=sha256:78b5b185f0e5763c26ca1e324373aadd49182ca90e825f7853f4b2509215dc0e \
|
||||
--hash=sha256:e11eefd162658ea59a60a0f6c7d493a7190ea4b9a85e335b33489d9f17e0245e
|
||||
# via -r requirements.in
|
||||
zipp==3.5.0 \
|
||||
--hash=sha256:957cfda87797e389580cb8b9e3870841ca991e2125350677b2ca83a0e99390a3 \
|
||||
--hash=sha256:f5812b1e007e48cff63449a5e9f4e7ebea716b4111f9c4f9a645f91d579bf0c4
|
||||
# via
|
||||
# importlib-metadata
|
||||
# pep517
|
||||
|
||||
# The following packages are considered to be unsafe in a requirements file:
|
||||
pip==21.2.2 \
|
||||
--hash=sha256:38e9250dfb0d7fa842492bede9259d4b3289a936ce454f7c58f059f28a94c01d \
|
||||
--hash=sha256:b02a9d345f913e03fde2ed41896687cc1a2053c6adbe142ec03cff6b0827233d
|
||||
# via -r requirements.in
|
||||
setuptools==57.4.0 \
|
||||
--hash=sha256:6bac238ffdf24e8806c61440e755192470352850f3419a52f26ffe0a1a64f465 \
|
||||
--hash=sha256:a49230977aa6cfb9d933614d2f7b79036e9945c4cdd7583163f4e920b83418d6
|
||||
# via -r requirements.in
|
||||
|
|
@ -0,0 +1,44 @@
|
|||
#
|
||||
# This file is autogenerated by pip-compile with python 3.8
|
||||
# To update, run:
|
||||
#
|
||||
# pip-compile --allow-unsafe --generate-hashes --output-file=docker/build_scripts/requirements3.8.txt requirements.in
|
||||
#
|
||||
build==0.5.1 \
|
||||
--hash=sha256:0281eeec2697ee43114eb4fe3ba6e54c111ee2c4ef287b5cd24f82cb24cc1bdb \
|
||||
--hash=sha256:16897cac845b50cca04f3c92cf8d3e9e0868b21b29b96b577333c14473baa916
|
||||
# via -r requirements.in
|
||||
packaging==21.0 \
|
||||
--hash=sha256:7dc96269f53a4ccec5c0670940a4281106dd0bb343f47b7471f779df49c2fbe7 \
|
||||
--hash=sha256:c86254f9220d55e31cc94d69bade760f0847da8000def4dfe1c6b872fd14ff14
|
||||
# via build
|
||||
pep517==0.11.0 \
|
||||
--hash=sha256:3fa6b85b9def7ba4de99fb7f96fe3f02e2d630df8aa2720a5cf3b183f087a738 \
|
||||
--hash=sha256:e1ba5dffa3a131387979a68ff3e391ac7d645be409216b961bc2efe6468ab0b2
|
||||
# via build
|
||||
pyparsing==2.4.7 \
|
||||
--hash=sha256:c203ec8783bf771a155b207279b9bccb8dea02d8f0c9e5f8ead507bc3246ecc1 \
|
||||
--hash=sha256:ef9d7589ef3c200abe66653d3f1ab1033c3c419ae9b9bdb1240a85b024efc88b
|
||||
# via packaging
|
||||
toml==0.10.2 \
|
||||
--hash=sha256:806143ae5bfb6a3c6e736a764057db0e6a0e05e338b5630894a5f779cabb4f9b \
|
||||
--hash=sha256:b3bda1d108d5dd99f4a20d24d9c348e91c4db7ab1b749200bded2f839ccbe68f
|
||||
# via build
|
||||
tomli==1.2.0 \
|
||||
--hash=sha256:056f0376bf5a6b182c513f9582c1e5b0487265eb6c48842b69aa9ca1cd5f640a \
|
||||
--hash=sha256:d60e681734099207a6add7a10326bc2ddd1fdc36c1b0f547d00ef73ac63739c2
|
||||
# via pep517
|
||||
wheel==0.36.2 \
|
||||
--hash=sha256:78b5b185f0e5763c26ca1e324373aadd49182ca90e825f7853f4b2509215dc0e \
|
||||
--hash=sha256:e11eefd162658ea59a60a0f6c7d493a7190ea4b9a85e335b33489d9f17e0245e
|
||||
# via -r requirements.in
|
||||
|
||||
# The following packages are considered to be unsafe in a requirements file:
|
||||
pip==21.2.2 \
|
||||
--hash=sha256:38e9250dfb0d7fa842492bede9259d4b3289a936ce454f7c58f059f28a94c01d \
|
||||
--hash=sha256:b02a9d345f913e03fde2ed41896687cc1a2053c6adbe142ec03cff6b0827233d
|
||||
# via -r requirements.in
|
||||
setuptools==57.4.0 \
|
||||
--hash=sha256:6bac238ffdf24e8806c61440e755192470352850f3419a52f26ffe0a1a64f465 \
|
||||
--hash=sha256:a49230977aa6cfb9d933614d2f7b79036e9945c4cdd7583163f4e920b83418d6
|
||||
# via -r requirements.in
|
||||
|
|
@ -0,0 +1,44 @@
|
|||
#
|
||||
# This file is autogenerated by pip-compile with python 3.9
|
||||
# To update, run:
|
||||
#
|
||||
# pip-compile --allow-unsafe --generate-hashes --output-file=docker/build_scripts/requirements3.9.txt requirements.in
|
||||
#
|
||||
build==0.5.1 \
|
||||
--hash=sha256:0281eeec2697ee43114eb4fe3ba6e54c111ee2c4ef287b5cd24f82cb24cc1bdb \
|
||||
--hash=sha256:16897cac845b50cca04f3c92cf8d3e9e0868b21b29b96b577333c14473baa916
|
||||
# via -r requirements.in
|
||||
packaging==21.0 \
|
||||
--hash=sha256:7dc96269f53a4ccec5c0670940a4281106dd0bb343f47b7471f779df49c2fbe7 \
|
||||
--hash=sha256:c86254f9220d55e31cc94d69bade760f0847da8000def4dfe1c6b872fd14ff14
|
||||
# via build
|
||||
pep517==0.11.0 \
|
||||
--hash=sha256:3fa6b85b9def7ba4de99fb7f96fe3f02e2d630df8aa2720a5cf3b183f087a738 \
|
||||
--hash=sha256:e1ba5dffa3a131387979a68ff3e391ac7d645be409216b961bc2efe6468ab0b2
|
||||
# via build
|
||||
pyparsing==2.4.7 \
|
||||
--hash=sha256:c203ec8783bf771a155b207279b9bccb8dea02d8f0c9e5f8ead507bc3246ecc1 \
|
||||
--hash=sha256:ef9d7589ef3c200abe66653d3f1ab1033c3c419ae9b9bdb1240a85b024efc88b
|
||||
# via packaging
|
||||
toml==0.10.2 \
|
||||
--hash=sha256:806143ae5bfb6a3c6e736a764057db0e6a0e05e338b5630894a5f779cabb4f9b \
|
||||
--hash=sha256:b3bda1d108d5dd99f4a20d24d9c348e91c4db7ab1b749200bded2f839ccbe68f
|
||||
# via build
|
||||
tomli==1.2.0 \
|
||||
--hash=sha256:056f0376bf5a6b182c513f9582c1e5b0487265eb6c48842b69aa9ca1cd5f640a \
|
||||
--hash=sha256:d60e681734099207a6add7a10326bc2ddd1fdc36c1b0f547d00ef73ac63739c2
|
||||
# via pep517
|
||||
wheel==0.36.2 \
|
||||
--hash=sha256:78b5b185f0e5763c26ca1e324373aadd49182ca90e825f7853f4b2509215dc0e \
|
||||
--hash=sha256:e11eefd162658ea59a60a0f6c7d493a7190ea4b9a85e335b33489d9f17e0245e
|
||||
# via -r requirements.in
|
||||
|
||||
# The following packages are considered to be unsafe in a requirements file:
|
||||
pip==21.2.2 \
|
||||
--hash=sha256:38e9250dfb0d7fa842492bede9259d4b3289a936ce454f7c58f059f28a94c01d \
|
||||
--hash=sha256:b02a9d345f913e03fde2ed41896687cc1a2053c6adbe142ec03cff6b0827233d
|
||||
# via -r requirements.in
|
||||
setuptools==57.4.0 \
|
||||
--hash=sha256:6bac238ffdf24e8806c61440e755192470352850f3419a52f26ffe0a1a64f465 \
|
||||
--hash=sha256:a49230977aa6cfb9d933614d2f7b79036e9945c4cdd7583163f4e920b83418d6
|
||||
# via -r requirements.in
|
||||
Loading…
Reference in a new issue