Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Redundant spack load #130

Open
kutschke opened this issue Jun 14, 2024 · 1 comment
Open

Redundant spack load #130

kutschke opened this issue Jun 14, 2024 · 1 comment

Comments

@kutschke
Copy link
Contributor

I believe that this line may unnecessary:

HH=$(spack find --format "{version} {hash:7}" codetools | sort -rn | head -1 | awk '{print $2}' )

The bin is already in our path. See:
https://buildmaster.fnal.gov/buildmaster/view/mu2e/job/GitHubPRTests/job/mu2e-offline-build-test/configure

in the Repository URL line of the Git stanza, plus the line

PATH=$WORKSPACE/codetools/bin:$PATH

at the start of the script in the "Execute shell" section.

Are there any env variables etc that spack load defines that are not covered by the above?

@rlcee
Copy link
Collaborator

rlcee commented Jun 14, 2024

There are overall settings which ask all package bin to be added to PATH. The one for libs and LD_LIBRARY_PATH is turned off. env's unique to the package would be set in the recipe.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants