Perform a Clipped Port
- Installed RHEL 7 (in a VM). To do a network installation, you have to supply not just the mirror URL (including 'http://'), but the path all the way down to the directory which contains the
images
directory. I chose a bunch of the development options to simplify thins for myself later. - Fetch the HTCondor sources.
git clone ssh://ingwe.cs.wisc.edu/p/condor/repository/CONDOR_SRC
- Configure.
mkdir obj cd obj cmake \ -D_DEBUG:BOOL=TRUE \ -D_VERBOSE:BOOL=TRUE \ -DBUILDID=clipped \ -DCONDOR_PACKAGE_BUILD:BOOL=ON \ -DCONDOR_STRIP_PACKAGES:BOOL=ON \ -DCMAKE_INSTALL_PREFIX:PATH=$(pwd)/../install \ ../CONDOR_SRC
- Build the RPM.
make package
Perform a Full Port
Remove and recreate obj
; the following configuration will enable standard universe and allow make install
to work, which can simplify testing immensely.
cmake \ -D_DEBUG:BOOL=TRUE \ -D_VERBOSE:BOOL=TRUE \ -DBUILDID=full \ -DUW_BUILD:BOOL=TRUE \ -DCMAKE_INSTALL_PREFIX:PATH=$(pwd)/../install \ ../CONDOR_SRC
Preparing a New glibc External
This section follows from FullPortLogRhelSixSixtyFourBit. Notes:
- You may need to install
glibc-static
to complete the reconfiguration after adding the new version of glibc to the externals. - The patch enabling static NSS didn't work for this version of glibc, so I had to rewrite it.
Building the Full Port
After the Debian 7 fixes, this was pretty straightforward. I looked for GLIBC213 references and added GLIBC217 references everywhere; this time through, I checked both for correctness, as well. (Found a few a things that were probably superfluous, but not worth the effort of tweaking the #ifdef layout to fix.) I needed to add some new code to CMake to aid in determination of the platform.