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
045e5bd4
Commit
045e5bd4
authored
8 years ago
by
Tanzima Z. Islam
Browse files
Options
Downloads
Patches
Plain Diff
Adding a new package: Kripke from the public tar ball
parent
9f212e72
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/kripke/package.py
+28
-10
28 additions, 10 deletions
var/spack/repos/builtin/packages/kripke/package.py
with
28 additions
and
10 deletions
var/spack/repos/builtin/packages/kripke/package.py
+
28
−
10
View file @
045e5bd4
# FIXME:
# This is a template package file for Spack. We've conveniently
# put "FIXME" labels next to all the things you'll want to change.
#
# Once you've edited all the FIXME's, delete this whole message,
# save this file, and test out your package like this:
#
# spack install kripke
#
# You can always get back here to change things with:
#
# spack edit kripke
#
# See the spack documentation for more information on building
# packages.
#
from
spack
import
*
class
Kripke
(
Package
):
"""
Kripke is a simple, scalable, 3D Sn deterministic particle transport code.
"""
"""
Kripke is a simple, scalable, 3D Sn deterministic particle transport proxy/mini app.
"""
homepage
=
"
https://codesign.llnl.gov/kripke.php
"
url
=
""
#version('master', git='https://lc.llnl.gov/stash/scm/kripke/kripke.git')
version
(
'
master
'
,
git
=
'
https://lc.llnl.gov/stash/scm/~islam3/kripke.git
'
)
url
=
"
https://codesign.llnl.gov/downloads/kripke-openmp-1.1.tar.gz
"
def
install
(
self
,
spec
,
prefix
):
with
working_dir
(
'
build
'
,
create
=
True
):
cmake
(
'
-DCMAKE_INSTALL_PREFIX:PATH=.
'
,
'
-DCMAKE_TOOLCHAIN_FILE=../cmake/Toolchain/chaos_5_x86_64_ib-ic15.cmake
'
,
'
-DENABLE_OPENMP=1
'
,
'
..
'
,
*
std_cmake_args
)
make
()
make
(
"
install
"
)
version
(
'
1.1
'
,
'
7fe6f2b26ed983a6ce5495ab701f85bf
'
)
#depends_on("mvapich2@1.9:")
def
install
(
self
,
spec
,
prefix
):
with
working_dir
(
'
build
'
,
create
=
True
):
cmake
(
'
-DCMAKE_INSTALL_PREFIX:PATH=.
'
,
'
-DENABLE_OPENMP=1
'
,
'
-DENABLE_MPI=1
'
,
'
..
'
,
*
std_cmake_args
)
make
()
#Kripke does not provide an install, so creating one here.
mkdirp
(
prefix
.
bin
)
install
(
'
kripke
'
,
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