Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
Spack
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
eic_tools
Spack
Commits
61f07b0c
Commit
61f07b0c
authored
9 years ago
by
Mike Nolta
Browse files
Options
Downloads
Patches
Plain Diff
fix a few comment typos
parent
c3aaf005
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
bin/spack
+1
-1
1 addition, 1 deletion
bin/spack
lib/spack/spack/build_environment.py
+1
-1
1 addition, 1 deletion
lib/spack/spack/build_environment.py
with
2 additions
and
2 deletions
bin/spack
+
1
−
1
View file @
61f07b0c
...
@@ -150,7 +150,7 @@ def main():
...
@@ -150,7 +150,7 @@ def main():
sys
.
stderr
.
write
(
'
\n
'
)
sys
.
stderr
.
write
(
'
\n
'
)
tty
.
die
(
"
Keyboard interrupt.
"
)
tty
.
die
(
"
Keyboard interrupt.
"
)
# Allow commands to return values if they want to exit with some o
h
ter code.
# Allow commands to return values if they want to exit with some ot
h
er code.
if
return_val
is
None
:
if
return_val
is
None
:
sys
.
exit
(
0
)
sys
.
exit
(
0
)
elif
isinstance
(
return_val
,
int
):
elif
isinstance
(
return_val
,
int
):
...
...
This diff is collapsed.
Click to expand it.
lib/spack/spack/build_environment.py
+
1
−
1
View file @
61f07b0c
...
@@ -145,7 +145,7 @@ def add_env_path(path):
...
@@ -145,7 +145,7 @@ def add_env_path(path):
# Install root prefix
# Install root prefix
os
.
environ
[
SPACK_INSTALL
]
=
spack
.
install_path
os
.
environ
[
SPACK_INSTALL
]
=
spack
.
install_path
# Remove these vars from the environment during build becaus they
# Remove these vars from the environment during build becaus
e
they
# can affect how some packages find libraries. We want to make
# can affect how some packages find libraries. We want to make
# sure that builds never pull in unintended external dependencies.
# sure that builds never pull in unintended external dependencies.
pop_keys
(
os
.
environ
,
"
LD_LIBRARY_PATH
"
,
"
LD_RUN_PATH
"
,
"
DYLD_LIBRARY_PATH
"
)
pop_keys
(
os
.
environ
,
"
LD_LIBRARY_PATH
"
,
"
LD_RUN_PATH
"
,
"
DYLD_LIBRARY_PATH
"
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment