Building Exactly the Way We Do on Our Build Farm
- Select an appropriate build container: examine /nmi_tools/nmi-build-platforms and choose a Docker image.  The source (Dockerfiles) for containers appropriate to build HTCondor on many different distros is available in directory /build/nmi-build/
- Start the Docker container: docker run -it htcondor/nmi-zdev:x86_64_CentOS7-09010300
- Switch from root to a user account (condorauto): su - condorauto
- Fetch the sources: git clonehttps://github.com/htcondor/htcondor.git
- Select the number concurrent compilations (Default 1): export OMP_NUM_THREADS=4
- Create a work directory: mkdir work; cd work
- Build the packages: ../htcondor/build-on-linux.sh ../htcondor
- extract the tarballs: ../htcondor/nmi_tools/glue/build/make-tarball-from-rpms .