Skip to content

Releases: Mu2e/Muse

ROOT_LIBRARY_PATH

05 Jul 01:07
cb0d8f2
Compare
Choose a tag to compare

remove previous method to set LD_LIBRARY_PATH for ntuples which need root dictionaries loaded. Replace it with setting ROOT_LIBRARY_PATH to include the lib subdirectory if the repo's .muse contains the flag ROOT_LIBRARY_PATH

ntuple LD_LIBRARY_PATH

29 Jun 18:19
7950061
Compare
Choose a tag to compare

In Muse with spack, we are trying to avoid setting LD_LIBRARY_PATH. However, root expects to dynamically find and load dictionaries using this path. The solution here is to look for a flag "ROOT_NTUPLE" in the repo's .muse file. If there, Muse will add the libraries for this repo to the path. If Offline is also in the environment and built with Muse, then its libs will also be added to the path. This is necessary because some objects in TrkAna are defined in Offline.

fix spack path order

16 Jun 02:21
f37afc7
Compare
Choose a tag to compare

This fixes a bug where in spack mode, locally-built bins were being post-pended instead of pre-pended. This would only be a problem if a locally-build bin had a backing to the same bin.

more spack2

27 Apr 20:01
b9eaa09
Compare
Choose a tag to compare
  • also replace dropit

more spack

27 Apr 03:35
def28c4
Compare
Choose a tag to compare
  • do not use UPS flavor
  • issue error on local artexternals in spack mode

bash function

25 Apr 22:48
5479ba8
Compare
Choose a tag to compare
  • change order of setup ops and check for work dir exists, so can be used in either order
  • added file to be sourced for function in spack

setup ops

02 Apr 15:01
8d09a57
Compare
Choose a tag to compare

As part of solving the missing UPS current mechanism with spack, I've started "muse setup ops" and "ana" You will also be able to do "muse setup ops -q o123" to get old combinations.

RPATH in spack mode

15 Mar 02:47
c321b13
Compare
Choose a tag to compare

Triggered by environmental MU2E_SPACK

  • put library paths in MUSE_LIBRARY_PATH instead of LD_LIBRARY_PATH
  • add RPATH link command with minimal relative path within local build and full path to cvmfs spack env
  • several secondary build features are untested
    building like this allows a build and run with no LD_LIBRARY_PATH

restore as-needed

09 Mar 19:32
2482652
Compare
Choose a tag to compare

11/2023 we added a few lines of code to remove as-needed when linking gsl or openblas exe's. Due to a bug, this accidentally removed as-needed for all links. This release creates the intended behavior.

spack preparations

27 Feb 16:51
73808b6
Compare
Choose a tag to compare
  • show MU2E_SPACK in status print
  • use MUSE_VIEW_INC for include path if it was set in envset