diff --git a/ci/build_docs.sh b/ci/build_docs.sh index 6fe7bc9..477c559 100755 --- a/ci/build_docs.sh +++ b/ci/build_docs.sh @@ -41,4 +41,6 @@ rapids-mamba-retry install \ rapids-print-env +# Force minimal resource use as auto-configure may fail with few cores. +LEGATE_CONFIG="--cpus=1 --gpus=0 --omps=0 --utility=1" \ make -C docs html diff --git a/conda/recipes/legate-boost/meta.yaml b/conda/recipes/legate-boost/meta.yaml index 1db98b4..dadc1e0 100644 --- a/conda/recipes/legate-boost/meta.yaml +++ b/conda/recipes/legate-boost/meta.yaml @@ -118,14 +118,17 @@ requirements: test: # import tests at build time do not work for the CUDA packages, # because builds happen on machines without a GPU + commands: {% if not gpu_enabled_bool %} - imports: - - legateboost - - legateboost.metrics - - legateboost.models - - legateboost.objectives + # Force minimal resource use as auto-configure may fail with few cores + # otherwise, should use `imports:` section. + - > + LEGATE_CONFIG="--cpus=1 --gpus=0 --omps=0 --utility=1" python -c " + import legateboost; + import legateboost.metrics; + import legateboost.models; + import legateboost.objectives" {% endif %} - commands: - pip show legate-boost about: