…ement that there be an empty repo under my personal git account
Because felix-software is actually composed of code downloaded from a set of repos where the downloading has all been placed in the install step, there's not a natural git repository or URL for Spack's fetch function to go to. As a hack last year, I made an empty repository under my own DUNE-DAQ account and set that as the original repo for the fetch command as essentially a "null" operation to allow the installation of felix-software to proceed.
A better solution is to set the has_code variable to False, which is what I've done in this PR. For more on this, look at the do_fetch function of the PackageBase superclass in $SPACK_ROOT/lib/spack/spack/package.py file.
…ement that there be an empty repo under my personal git account
Because felix-software is actually composed of code downloaded from a set of repos where the downloading has all been placed in the install step, there's not a natural git repository or URL for Spack's fetch function to go to. As a hack last year, I made an empty repository under my own DUNE-DAQ account and set that as the original repo for the fetch command as essentially a "null" operation to allow the installation of felix-software to proceed.
A better solution is to set the
has_code
variable toFalse
, which is what I've done in this PR. For more on this, look at thedo_fetch
function of thePackageBase
superclass in$SPACK_ROOT/lib/spack/spack/package.py
file.