Perform a Clipped Port

  1. 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.
  2. Fetch the HTCondor sources.
    git clone ssh://ingwe.cs.wisc.edu/p/condor/repository/CONDOR_SRC
  3. 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
    
    This may result in complaints. Fix them (using yum).
  4. 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:

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.