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
20d830f8
Commit
20d830f8
authored
6 years ago
by
Denis Davydov
Committed by
Peter Scheibel
6 years ago
Browse files
Options
Downloads
Patches
Plain Diff
new package: dbcsr (#9491)
Also add its dependency, py-fypp
parent
e219bc39
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
var/spack/repos/builtin/packages/dbcsr/package.py
+40
-0
40 additions, 0 deletions
var/spack/repos/builtin/packages/dbcsr/package.py
var/spack/repos/builtin/packages/py-fypp/package.py
+15
-0
15 additions, 0 deletions
var/spack/repos/builtin/packages/py-fypp/package.py
with
55 additions
and
0 deletions
var/spack/repos/builtin/packages/dbcsr/package.py
0 → 100644
+
40
−
0
View file @
20d830f8
# Copyright 2013-2018 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
from
spack
import
*
class
Dbcsr
(
CMakePackage
):
"""
Distributed Block Compressed Sparse Row matrix library.
"""
homepage
=
"
https://github.com/cp2k/dbcsr
"
url
=
"
https://github.com/cp2k/dbcsr/archive/v1.0.0-rc.0.tar.gz
"
version
(
'
develop
'
,
git
=
'
https://github.com/cp2k/dbcsr.git
'
,
branch
=
'
develop
'
)
variant
(
'
mpi
'
,
default
=
True
,
description
=
'
Compile with MPI
'
)
variant
(
'
openmp
'
,
default
=
False
,
description
=
'
Build with OpenMP support
'
)
depends_on
(
'
blas
'
)
depends_on
(
'
lapack
'
)
depends_on
(
'
mpi
'
,
when
=
'
+mpi
'
)
depends_on
(
'
py-fypp
'
)
def
cmake_args
(
self
):
spec
=
self
.
spec
args
=
[
'
-DUSE_MPI=%s
'
%
(
'
ON
'
if
'
+mpi
'
in
spec
else
'
OFF
'
),
'
-DUSE_OPENMP=%s
'
%
(
'
ON
'
if
'
+openmp
'
in
spec
else
'
OFF
'
),
'
-DWITH_C_API=ON
'
,
'
-DLAPACK_FOUND=true
'
,
'
-DLAPACK_LIBRARIES=%s
'
%
spec
[
'
lapack
'
].
libs
.
joined
(
'
;
'
),
'
-DBLAS_FOUND=true
'
,
'
-DBLAS_LIBRARIES=%s
'
%
spec
[
'
blas
'
].
libs
.
joined
(
'
;
'
),
'
-DWITH_EXAMPLES=OFF
'
,
'
-DBUILD_SHARED_LIBS=ON
'
]
return
args
This diff is collapsed.
Click to expand it.
var/spack/repos/builtin/packages/py-fypp/package.py
0 → 100644
+
15
−
0
View file @
20d830f8
# Copyright 2013-2018 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
from
spack
import
*
class
PyFypp
(
PythonPackage
):
"""
Python powered Fortran preprocessor.
"""
homepage
=
"
https://github.com/aradi/fypp
"
url
=
"
https://github.com/aradi/fypp/archive/2.1.1.zip
"
version
(
'
2.1.1
'
,
sha256
=
'
3744ad17045e91466bbb75a33ce0cab0f65bc2c377127067a932cdf15655e049
'
)
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