DUNE-DAQ / daq-release

Scripts and configuration files for the DUNE DAQ release
https://dune-daq-sw.readthedocs.io/en/latest/packages/daq-release/
2 stars 0 forks source link

JCF: in felix-software's package.py, remove awkward/unreliable requir… #203

Closed jcfreeman2 closed 2 years ago

jcfreeman2 commented 2 years ago

…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.