summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorTanzima Z. Islam <islam3@llnl.gov>2016-05-06 13:50:34 -0700
committerTanzima Z. Islam <islam3@llnl.gov>2016-05-06 13:50:34 -0700
commit9f212e72014e6397215bf7695695c59c710b516d (patch)
treeb06c95a153c73ee00b241e5e859bdc7c45c6d443 /var
parent13e52962ee59b6e88535d8e38acf25f462e5ec74 (diff)
downloadspack-9f212e72014e6397215bf7695695c59c710b516d.tar.gz
spack-9f212e72014e6397215bf7695695c59c710b516d.tar.bz2
spack-9f212e72014e6397215bf7695695c59c710b516d.tar.xz
spack-9f212e72014e6397215bf7695695c59c710b516d.zip
Adding a new package file for Kripke
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/kripke/package.py16
1 files changed, 16 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/kripke/package.py b/var/spack/repos/builtin/packages/kripke/package.py
new file mode 100644
index 0000000000..68ccc4cb6c
--- /dev/null
+++ b/var/spack/repos/builtin/packages/kripke/package.py
@@ -0,0 +1,16 @@
+from spack import *
+
+class Kripke(Package):
+ """Kripke is a simple, scalable, 3D Sn deterministic particle transport code."""
+
+ 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')
+
+ 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")
+