Skip to content

Instantly share code, notes, and snippets.

@mattip
Last active March 10, 2024 08:48
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mattip/1cb3c04fe1c285f62dfb4884cc1c5f22 to your computer and use it in GitHub Desktop.
Save mattip/1cb3c04fe1c285f62dfb4884cc1c5f22 to your computer and use it in GitHub Desktop.
Build aarch64, ppc pypy feedstock
Build aarch64, ppc pypy feedstock
for each machine aarch64 (for instance gcc185.fsffrance.org), 140.211.169.173 (ppc64le)
1a. Mambaforge is preferred.
1b. screen
2a. conda create -n build python=3.11
2b. conda activate build
2c. conda install -y git conda-build conda-smithy anaconda-client boa patch
3a. git clone https://github.com/conda-forge/pypy3.6-feedstock.git
3b. cd pypy3.6-feedstock
3c. export ARCH=aarch64 or export ARCH=ppc64le
4a. echo "provider:" >> conda-forge.yml
4b. echo " linux_$ARCH: default" >> conda-forge.yml
5a. start screen if you haven't already
5b. conda-smithy rerender
If there is more than 1 files starting with `.ci_support/linux_$ARCH`
6. rm logs.txt; for f in .ci_support/linux_${ARCH}_name_suffix3.*; do conda mambabuild recipe -m $f | tee -a logs.txt; conda build purge; done
Otherwise (only one current pypy version)
6. conda mambabuild recipe -m .ci_support/linux_$ARCH* | tee logs.txt
7. Upload the package(s) to anaconda.org and label them with "copy"
`anaconda upload /home/matti/miniconda3/envs/builder/conda-bld/linux*`
8. Attach logs.txt to the PR
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment