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
893b2e4f
Commit
893b2e4f
authored
8 years ago
by
Adam J. Stewart
Committed by
Todd Gamblin
8 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Update license directory for intel-paralel-studio (#2163)
parent
23683c65
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
var/spack/repos/builtin/packages/intel-parallel-studio/package.py
+15
-6
15 additions, 6 deletions
...k/repos/builtin/packages/intel-parallel-studio/package.py
with
15 additions
and
6 deletions
var/spack/repos/builtin/packages/intel-parallel-studio/package.py
+
15
−
6
View file @
893b2e4f
...
@@ -184,15 +184,24 @@ def install(self, spec, prefix):
...
@@ -184,15 +184,24 @@ def install(self, spec, prefix):
"
license.lic
"
))
"
license.lic
"
))
if
spec
.
satisfies
(
'
+tools
'
)
and
(
spec
.
satisfies
(
'
@cluster
'
)
or
if
spec
.
satisfies
(
'
+tools
'
)
and
(
spec
.
satisfies
(
'
@cluster
'
)
or
spec
.
satisfies
(
'
@professional
'
)):
spec
.
satisfies
(
'
@professional
'
)):
os
.
mkdir
(
os
.
path
.
join
(
self
.
prefix
,
"
inspector_xe/licenses
"
))
inspector_dir
=
"
inspector_xe/licenses
"
advisor_dir
=
"
advisor_xe/licenses
"
vtune_amplifier_dir
=
"
vtune_amplifier_xe/licenses
"
year
=
int
(
str
(
self
.
version
).
split
(
'
.
'
)[
1
])
if
year
>=
2017
:
inspector_dir
=
"
inspector/licenses
"
advisor_dir
=
"
advisor/licenses
"
os
.
mkdir
(
os
.
path
.
join
(
self
.
prefix
,
inspector_dir
))
os
.
symlink
(
self
.
global_license_file
,
os
.
path
.
join
(
os
.
symlink
(
self
.
global_license_file
,
os
.
path
.
join
(
self
.
prefix
,
"
inspector_
xe/licenses
"
,
"
license.lic
"
))
self
.
prefix
,
inspector_
dir
,
"
license.lic
"
))
os
.
mkdir
(
os
.
path
.
join
(
self
.
prefix
,
"
advisor_
xe/licenses
"
))
os
.
mkdir
(
os
.
path
.
join
(
self
.
prefix
,
advisor_
dir
))
os
.
symlink
(
self
.
global_license_file
,
os
.
path
.
join
(
os
.
symlink
(
self
.
global_license_file
,
os
.
path
.
join
(
self
.
prefix
,
"
advisor_
xe/licenses
"
,
"
license.lic
"
))
self
.
prefix
,
advisor_
dir
,
"
license.lic
"
))
os
.
mkdir
(
os
.
path
.
join
(
self
.
prefix
,
"
vtune_amplifier_
xe/licenses
"
))
os
.
mkdir
(
os
.
path
.
join
(
self
.
prefix
,
vtune_amplifier_
dir
))
os
.
symlink
(
self
.
global_license_file
,
os
.
path
.
join
(
os
.
symlink
(
self
.
global_license_file
,
os
.
path
.
join
(
self
.
prefix
,
"
vtune_amplifier_
xe/licenses
"
,
"
license.lic
"
))
self
.
prefix
,
vtune_amplifier_
dir
,
"
license.lic
"
))
if
(
spec
.
satisfies
(
'
+all
'
)
or
spec
.
satisfies
(
'
+mpi
'
))
and
\
if
(
spec
.
satisfies
(
'
+all
'
)
or
spec
.
satisfies
(
'
+mpi
'
))
and
\
spec
.
satisfies
(
'
@cluster
'
):
spec
.
satisfies
(
'
@cluster
'
):
...
...
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