summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-smartsim/ss-0-5-0-remove-cli-build-fns.patch
blob: 4dbb0f42733fef28fac656ac0e118568c5cb11ac (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
diff --git a/smartsim/_core/_cli/cli.py b/smartsim/_core/_cli/cli.py
index 7dbb144..93da137 100644
--- a/smartsim/_core/_cli/cli.py
+++ b/smartsim/_core/_cli/cli.py
@@ -68,14 +68,17 @@ class SmartCli:
         getattr(self, args.command)()
 
     def build(self) -> None:
+        raise RuntimeError("`smart build` not supported through spack install")
         Build()
         sys.exit(0)
 
     def clean(self) -> None:
+        raise RuntimeError("`smart clean` not supported through spack install")
         Clean()
         sys.exit(0)
 
     def clobber(self) -> None:
+        raise RuntimeError("`smart clobber` not supported through spack install")
         Clean(clean_all=True)
         sys.exit(0)