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
f663d37d
Commit
f663d37d
authored
9 years ago
by
Mark Miller
Committed by
Todd Gamblin
9 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Adding zfp package.
parent
6449e8b1
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/zfp/package.py
+26
-0
26 additions, 0 deletions
var/spack/repos/builtin/packages/zfp/package.py
with
26 additions
and
0 deletions
var/spack/repos/builtin/packages/zfp/package.py
0 → 100644
+
26
−
0
View file @
f663d37d
from
spack
import
*
class
Zfp
(
Package
):
"""
zfp is an open source C library for compressed floating-point arrays that supports
very high throughput read and write random acces, target error bounds or bit rates.
Although bit-for-bit lossless compression is not always possible, zfp is usually
accurate to within machine epsilon in near-lossless mode, and is often orders of
magnitude more accurate than other lossy compressors.
"""
homepage
=
"
http://computation.llnl.gov/projects/floating-point-compression
"
url
=
"
http://computation.llnl.gov/projects/floating-point-compression/download/zfp-0.5.0.tar.gz
"
version
(
'
0.5.0
'
,
'
2ab29a852e65ad85aae38925c5003654
'
)
def
install
(
self
,
spec
,
prefix
):
make
(
"
shared
"
)
# No install provided
mkdirp
(
prefix
.
lib
)
mkdirp
(
prefix
.
include
)
install
(
'
lib/libzfp.so
'
,
prefix
.
lib
)
install
(
'
inc/zfp.h
'
,
prefix
.
include
)
install
(
'
inc/types.h
'
,
prefix
.
include
)
install
(
'
inc/bitstream.h
'
,
prefix
.
include
)
install
(
'
inc/system.h
'
,
prefix
.
include
)
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