Skip to content

Commit

Permalink
add __cuda as a run-depence for GPU-build
Browse files Browse the repository at this point in the history
While the GPU build would be runnable on a CPU-only system,
it pointlessly downloads huge binaries, which we can avoid.
  • Loading branch information
h-vetinari committed Nov 22, 2021
1 parent f8e4ed8 commit b392cef
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion recipe/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,8 @@ outputs:
# XXX: actually, TF 2.7.0 still demands tb 2.6
- tensorboard >=2.6,<2.7
- keras >=2.7,<2.8
# avoid that people without GPUs needlessly download ~0.5-1GB
- __cuda # [cuda_compiler_version != "None"]
test:
files:
- test_tensorflow.py
Expand Down Expand Up @@ -290,7 +292,9 @@ outputs:
- snappy
- sqlite
- zlib

run:
# avoid that people without GPUs needlessly download ~200-300MB
- __cuda # [cuda_compiler_version != "None"]
test:
files:
- test_libtensorflow.sh
Expand Down Expand Up @@ -332,6 +336,9 @@ outputs:
- snappy
- sqlite
- zlib
run:
# avoid that people without GPUs needlessly download ~200-300MB
- __cuda # [cuda_compiler_version != "None"]
test:
files:
- test_libtensorflow_cc.sh
Expand Down

0 comments on commit b392cef

Please sign in to comment.