Skip to content

drbenmorgan/artstack-spack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

artstack-spack

Spack repository for FNAL's Art stack, which comprises:

  • cetbuildtools/cetbuildtools2
    • cetbuildtools2 is a stripping down version of the upstream cetbuildtools package. It provides an identical compiler environment, but strips out hard coded dependencies on FNAL's UPS configuration management system, dependencies installed through UPS, and consequent install hierarchy.
    • Spack's packaging provides much the same functionality as UPS in terms of telling a build where to locate dependencies, but unlike cetbuildtools/UPS cetbuildtools2 has zero coupling to the package/config management system.
  • cetlib
  • fhicl-cpp
  • messagefacility
  • TODO: art

At present, forks of these packages are used which provide near full compatibility across Linux/GCC and Mac/Clang. This means that only dev versions are used, so no version tracking is present. This is because the fork follows the master branch of upstream and also that the version dependency structure isn't fully derived yet.

Using this Repository in Spack

Get spack and the repository set up like:

$ cd /somewhere
$ git clone https://github.com/LLNL/spack.git
$ git clone https://github.com/HEP-SF/hep-spack.git
$ cd spack
$ ./bin/spack compilers
$ ./bin/spack repo add $(pwd)/hep-spack

Setup the basic spack environment:

$ . share/spack/setup-env.sh

Try building something:

... On OSX with native clang ...
$ spack install fhicl-cpp %clang
... or, on Linux with gcc
$ spack install fhicl-cpp

Note that the packages don't yet fully specify compiler requirements, though the builds will fail if the Clang/GCC in use do not support the requisite features.

About

Spack repository for FNAL's Art stack

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages