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
c2778d88
Commit
c2778d88
authored
5 years ago
by
Michael Kuhn
Committed by
Adam J. Stewart
5 years ago
Browse files
Options
Downloads
Patches
Plain Diff
perl: Add 5.30.1 (and 5.31.7) (#14509)
This also fixes actually building the development releases.
parent
e6e06aa2
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/perl/package.py
+24
-1
24 additions, 1 deletion
var/spack/repos/builtin/packages/perl/package.py
with
24 additions
and
1 deletion
var/spack/repos/builtin/packages/perl/package.py
+
24
−
1
View file @
c2778d88
...
...
@@ -31,10 +31,12 @@ class Perl(Package): # Perl doesn't use Autotools, it should subclass Package
# explanation of version numbering scheme
# Development releases (odd numbers)
version
(
'
5.31.7
'
,
sha256
=
'
d05c4e72128f95ef6ffad42728ecbbd0d9437290bf0f88268b51af011f26b57d
'
)
version
(
'
5.31.4
'
,
sha256
=
'
418a7e6fe6485cc713a86d1227ef112f0bb3f80322e3b715ffe42851d97804a5
'
)
# Maintenance releases (even numbers, recommended)
version
(
'
5.30.0
'
,
sha256
=
'
851213c754d98ccff042caa40ba7a796b2cee88c5325f121be5cbb61bbf975f2
'
,
preferred
=
True
)
version
(
'
5.30.1
'
,
sha256
=
'
bf3d25571ff1ee94186177c2cdef87867fd6a14aa5a84f0b1fb7bf798f42f964
'
,
preferred
=
True
)
version
(
'
5.30.0
'
,
sha256
=
'
851213c754d98ccff042caa40ba7a796b2cee88c5325f121be5cbb61bbf975f2
'
)
# End of life releases
version
(
'
5.28.0
'
,
sha256
=
'
7e929f64d4cb0e9d1159d4a59fc89394e27fa1f7004d0836ca0d514685406ea8
'
)
...
...
@@ -137,6 +139,9 @@ def configure_args(self):
if
'
+threads
'
in
spec
:
config_args
.
append
(
'
-Dusethreads
'
)
if
spec
.
satisfies
(
'
@5.31
'
):
config_args
.
append
(
'
-Dusedevel
'
)
return
config_args
def
configure
(
self
,
spec
,
prefix
):
...
...
@@ -290,3 +295,21 @@ def deactivate(self, ext_pkg, view, **args):
# Make deactivate idempotent
if
ext_pkg
.
name
in
exts
:
del
exts
[
ext_pkg
.
name
]
@property
def
command
(
self
):
"""
Returns the Perl command, which may vary depending on the version
of Perl. In general, Perl comes with a ``perl`` command. However,
development releases have a ``perlX.Y.Z`` command.
Returns:
Executable: the Perl command
"""
for
ver
in
(
self
.
spec
.
version
,
''
):
path
=
os
.
path
.
join
(
self
.
prefix
.
bin
,
'
{0}{1}
'
.
format
(
self
.
spec
.
name
,
ver
))
if
os
.
path
.
exists
(
path
):
return
Executable
(
path
)
else
:
msg
=
'
Unable to locate {0} command in {1}
'
raise
RuntimeError
(
msg
.
format
(
self
.
spec
.
name
,
self
.
prefix
.
bin
))
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