summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/genie/package.py
diff options
context:
space:
mode:
Diffstat (limited to 'var/spack/repos/builtin/packages/genie/package.py')
-rw-r--r--var/spack/repos/builtin/packages/genie/package.py13
1 files changed, 3 insertions, 10 deletions
diff --git a/var/spack/repos/builtin/packages/genie/package.py b/var/spack/repos/builtin/packages/genie/package.py
index f249726c84..af660362f1 100644
--- a/var/spack/repos/builtin/packages/genie/package.py
+++ b/var/spack/repos/builtin/packages/genie/package.py
@@ -12,7 +12,7 @@ from spack.util.executable import Executable
from spack.version import Version
-class Genie(Package): # Genie doesn"t use Autotools
+class Genie(Package):
"""Genie is a neutrino Monte Carlo Generator."""
homepage = "https://www.genie-mc.org"
@@ -22,7 +22,7 @@ class Genie(Package): # Genie doesn"t use Autotools
tags = ["neutrino", "hep"]
maintainers = [
- # maintainer of this recipe, not affliated with the GENIE collaboration
+ # maintainer of this recipe, not affiliated with the GENIE collaboration
"davehadley",
]
@@ -77,8 +77,6 @@ class Genie(Package): # Genie doesn"t use Autotools
variant("vleextension", default=False,
description="Enable GENIE very low energy (1 MeV - 100 MeV) extension")
- phases = ["configure", "build", "install"]
-
def url_for_version(self, version):
url = "https://github.com/GENIE-MC/Generator/archive/R-{0}.tar.gz"
if version >= Version(3):
@@ -94,16 +92,11 @@ class Genie(Package): # Genie doesn"t use Autotools
env.set("GENIE", self.prefix)
return super(Genie, self).setup_run_environment(env)
- def configure(self, spec, prefix):
+ def install(self, spec, prefix):
configure = Executable("./configure")
args = self._configure_args(spec, prefix)
configure(*args)
-
- def build(self, spec, prefix):
- # parallel build is not supported on GENIE 2
self._make(parallel=spec.satisfies("@3:"))
-
- def install(self, spec, prefix):
# GENIE make install does not support parallel jobs
self._make("install", parallel=False)
# GENIE requires these files to be present at runtime, but doesn"t install them