-
Choose which version of manylinux to build for. Versions currently available:
manylinux2014
- Builds inside CentOS 7-based Docker container. (x86_64
for HTCondor 23.0)manylinux_2_28
- Builds inside AlmaLinux 8-based Docker container. (x86_64
andARM
for HTCondor 23.x+)
-
Once in the directory for the chosen manylinux version, if not yet built, build the Docker image:
- Update
latest_tag
to a unique version number (I usually use the latest version of HTCondor that I'm building for). - Check that
build_docker_image.sh
is pointing to an appropriate Docker repository, and run it.
- Update
-
Once the Docker image is built, inspect the versions of Python available in the image under
/opt/python/cp*
and updateabi_tags.txt
. -
Make sure that the variable
docker_image
ingenerate_dag.sh
is pointing to the correct image, then run:./generate_dag.sh <HTCondor branch name> <version identifier>
- The HTCondor branch must already be pushed to the HTCondor GitHub mirror.
- The version identifier is optional and should follow PEP 440 (e.g.
a1
,rc2
,post1
). - This script, along with generating a DAG, also sets up temporary directories under
tmp/
that store the files needed for each build.
-
Submit the DAG:
condor_submit_dag <branch><version>.dag
(e.g.condor_submit_dag V1_2_3-branchrc3.dag
). -
Built wheels will end up in
wheels/
.- Inspect a few of the
out
,err
, andlog
files in thetmp/<build directories>/
for problems.
- Inspect a few of the
-
Upload the wheels. You'll want to install the Python package
twine
(perhaps in a miniconda environment):cd wheels twine upload htcondor-<htcondor version><version identifier>-*.whl
-
It's your choice to delete old
tmp/
directories and old wheel files.
-
Notifications
You must be signed in to change notification settings - Fork 2
htcondor/htcondor_manylinux_docker
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Modifications to the manylinux docker images to support building HTCondor's Python bindings.
Resources
Stars
Watchers
Forks
Packages 0
No packages published