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
c36f13e4
Commit
c36f13e4
authored
8 years ago
by
Adam J. Stewart
Browse files
Options
Downloads
Patches
Plain Diff
Added more missing dependencies
parent
fda7fcd7
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
share/spack/qa/check_dependencies
+22
-8
22 additions, 8 deletions
share/spack/qa/check_dependencies
share/spack/qa/run-doc-tests
+3
-1
3 additions, 1 deletion
share/spack/qa/run-doc-tests
share/spack/qa/run-unit-tests
+3
-1
3 additions, 1 deletion
share/spack/qa/run-unit-tests
with
28 additions
and
10 deletions
share/spack/qa/check_dependencies
+
22
−
8
View file @
c36f13e4
...
...
@@ -27,25 +27,39 @@ for dep in "$@"; do
spack_package
=
py-flake8
pip_package
=
flake8
;;
git
)
spack_package
=
git
;;
hg
)
spack_package
=
py-mercurial
pip_package
=
mercurial
;;
svn
)
spack_package
=
subversion
;;
*
)
spack_package
=
$dep
pip_package
=
$dep
;;
esac
cat
<<
EOF
ERROR:
$dep
is required to run this script.
echo
"ERROR:
$dep
is required to run this script."
echo
if
[[
$spack_package
]]
;
then
echo
"To install with Spack, run:"
echo
"
$
spack install
$spack_package
"
fi
if
[[
$pip_package
]]
;
then
echo
"To install with pip, run:"
echo
"
$
pip install
$pip_package
"
fi
if
[[
$spack_package
||
$pip_package
]]
;
then
echo
"Then add the bin directory to your PATH."
fi
To install with Spack, run:
$
spack install
$spack_package
or, to install with pip, run:
$
pip install
$pip_package
Then add the bin directory to your PATH.
EOF
exit
1
fi
done
...
...
This diff is collapsed.
Click to expand it.
share/spack/qa/run-doc-tests
+
3
−
1
View file @
c36f13e4
...
...
@@ -9,7 +9,7 @@
# run-doc-tests
#
# Notes:
# Requires sphinx
and
mercurial.
# Requires sphinx
, git,
mercurial
, and subversion
.
#
QA_DIR
=
"
$(
dirname
"
$0
"
)
"
...
...
@@ -20,7 +20,9 @@ DOC_DIR="$SPACK_ROOT/lib/spack/docs"
deps
=(
sphinx-apidoc
sphinx-build
git
hg
svn
)
# Check for dependencies
...
...
This diff is collapsed.
Click to expand it.
share/spack/qa/run-unit-tests
+
3
−
1
View file @
c36f13e4
...
...
@@ -11,7 +11,7 @@
# to only run these tests.
#
# Notes:
# Requires coverage.
# Requires coverage
, git, mercurial, and subversion
.
#
QA_DIR
=
"
$(
dirname
"
$0
"
)
"
...
...
@@ -20,7 +20,9 @@ SPACK_ROOT="$QA_DIR/../../.."
# Array of dependencies
deps
=(
coverage
git
hg
svn
)
# Check for dependencies
...
...
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