Skip to content

Commit

Permalink
Move variant definitions for py-torch from spack-ext/repos/spack-stac…
Browse files Browse the repository at this point in the history
…k/packages/ai-env/package.py to configs/common/packages.yaml
  • Loading branch information
climbfuji committed Mar 7, 2024
1 parent 59b7aa9 commit 8424f72
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions configs/common/packages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,8 @@
variants: +rust_bootstrap
py-shapely:
require: ['@1.8.0']
py-torch:
require: "+internal-protobuf ~mkldnn"
qt:
version: ['5.15.3']
scotch:
Expand Down
2 changes: 1 addition & 1 deletion spack-ext/repos/spack-stack/packages/ai-env/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@ class AiEnv(BundlePackage):
version("1.0.0")

depends_on("jedi-base-env", type="run")
depends_on("py-torch +internal-protobuf", type="run")
depends_on("py-torch", type="run")

# There is no need for install() since there is no code.

0 comments on commit 8424f72

Please sign in to comment.