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
675bb234
Commit
675bb234
authored
6 years ago
by
Mark W. Krentel
Committed by
Peter Scheibel
6 years ago
Browse files
Options
Downloads
Patches
Plain Diff
intel-xed package: add versions 2019.03.01 and develop (#10987)
Also add conflicts for PPC
parent
e5b86c55
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-xed/package.py
+30
-6
30 additions, 6 deletions
var/spack/repos/builtin/packages/intel-xed/package.py
with
30 additions
and
6 deletions
var/spack/repos/builtin/packages/intel-xed/package.py
+
30
−
6
View file @
675bb234
...
...
@@ -16,17 +16,41 @@ class IntelXed(Package):
homepage
=
"
https://intelxed.github.io/
"
git
=
"
https://github.com/intelxed/xed.git
"
version
(
'
2018.02.14
'
,
commit
=
'
44d06033b69aef2c20ab01bfb518c52cd71bb537
'
)
# The version name and git commit hashes for the main xed repo and
# the mbuild resource. Xed doesn't have official releases, only
# git commits.
version_list
=
[
(
'
2019.03.01
'
,
'
b7231de4c808db821d64f4018d15412640c34113
'
,
'
176544e1fb54b6bfb40f596111368981d287e951
'
,
),
(
'
2018.02.14
'
,
'
44d06033b69aef2c20ab01bfb518c52cd71bb537
'
,
'
bb9123152a330c7fa1ff1a502950dc199c83e177
'
,
)
]
version
(
'
develop
'
,
branch
=
'
master
'
)
resource
(
name
=
'
mbuild
'
,
git
=
'
https://github.com/intelxed/mbuild.git
'
,
commit
=
'
bb9123152a330c7fa1ff1a502950dc199c83e177
'
,
destination
=
''
)
branch
=
'
master
'
,
destination
=
''
,
when
=
'
@develop
'
)
for
(
vers
,
xed_hash
,
mbuild_hash
)
in
version_list
:
version
(
vers
,
commit
=
xed_hash
)
resource
(
name
=
'
mbuild
'
,
git
=
'
https://github.com/intelxed/mbuild.git
'
,
commit
=
mbuild_hash
,
destination
=
''
,
when
=
'
@{0}
'
.
format
(
vers
))
variant
(
'
debug
'
,
default
=
False
,
description
=
'
e
nable debug symbols
'
)
variant
(
'
debug
'
,
default
=
False
,
description
=
'
E
nable debug symbols
'
)
depends_on
(
'
python@2.7:
'
,
type
=
'
build
'
)
conflicts
(
'
target=ppc64
'
,
msg
=
'
intel-xed only runs on x86
'
)
conflicts
(
'
target=ppc64le
'
,
msg
=
'
intel-xed only runs on x86
'
)
mycflags
=
[]
# Save CFLAGS for use in install.
...
...
@@ -53,7 +77,7 @@ def install(self, spec, prefix):
# If an optimization flag (-O...) is specified in CFLAGS, use
# that, else set default opt level.
for
flag
in
self
.
mycflags
:
if
len
(
flag
)
>=
2
and
flag
[
0
:
2
]
==
'
-O
'
:
if
flag
.
startswith
(
'
-O
'
)
:
break
else
:
args
.
append
(
'
--opt=2
'
)
...
...
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