Header-only install?

73 views
Skip to first unread message

Kelly Thompson

unread,
Feb 12, 2017, 1:21:53 PM2/12/17
to Spack
Hi,

Some of the software I develop depends on a header-only vendor (Random123).  Would it be suitable to add such a package to spack?  Spack would only download and untar these header files into the install location.  Or, is spack specifically for managing HPC *library* installs?

-kt
-----
Kelly (KT) Thompson
k...@eklaj.org

Adam Stewart

unread,
Feb 13, 2017, 11:05:09 AM2/13/17
to Spack
Hi Kelly,

Nope, there's nothing wrong with that. In fact, if you look at how Xorg packages X11/XCB stuff, they like to have a separate package for headers, libraries, and binaries. This results in separate packages for `name-proto`, `libname`, and `name`. So you certainly wouldn't be the first to add a header-only package. Spack is for managing anything necessary for your installation, including header files.

Adam

Kelly Thompson

unread,
Feb 13, 2017, 5:42:48 PM2/13/17
to Spack
Elizabeth, Adam:

Thanks for your feedback.  I submitted PR #3141 based on what you have told me.

-kt
Reply all
Reply to author
Forward
0 new messages