Skip to content

Commit 865fa69

Browse files
committed
add docs for extended cuda build matrices
1 parent 123e1c7 commit 865fa69

File tree

1 file changed

+19
-1
lines changed

1 file changed

+19
-1
lines changed

src/maintainer/knowledge_base.rst

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -467,7 +467,7 @@ shouldn't be, because some packages built with mpi don't preclude other packages
467467
from using the no-mpi variant of the library (e.g. for a long time, fenics used mpi with no-mpi hdf5 since there was no
468468
parallel hdf5 yet. This works fine, though some features may not be available).
469469

470-
Typically, if there is a preference it will be for the serial build, such that installers/requirers of the package
470+
Typically, if there is a preference it will be for the serial build, such that installers/requirers of the package
471471
only get the mpi build if explicitly requested. We use a higher build number for the ``nompi`` variant in this case.
472472

473473
Here is an example build section:
@@ -1179,6 +1179,24 @@ For now, you will have to add ``nvcuda.dll`` to the ``missing_dso_whitelist``::
11791179
- "*/nvcuda.dll" # [win]
11801180

11811181

1182+
My feedstock is not building old CUDA versions anymore
1183+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1184+
1185+
With the `addition of CUDA 11.1 and 11.2 <https://github.com/conda-forge/conda-forge-pinning-feedstock/pull/1162>`_,
1186+
the default build matrix for CUDA versions was trimmed down to versions 10.2, 11.0, 11.1, 11.2. If you want to
1187+
re-add support for 9.2, 10.0 and 10.1, you need to follow these steps below:
1188+
1189+
1. Rename the file ``.ci_support/migrations/cuda111_112.yaml`` to ``.ci_support/migrations/cuda111_112.disabled``.
1190+
2. Add the contents of `this file <https://github.com/conda-forge/nvcc-feedstock/blob/master/recipe/conda_build_config.yaml>`_
1191+
to your ``recipe/conda_build_config.yaml``. Create it if it didn't exist yet.
1192+
3. Re-render the feedstock.
1193+
1194+
Note that by following this procedure you are opting out of the migration process for CUDA builds and you will have to
1195+
update the contents of ``conda_build_config.yaml`` by hand. If you experience re-rendering errors, check that the contents
1196+
of this file match the one present in the `nvcc-feedstock <https://github.com/conda-forge/nvcc-feedstock>`_. When in doubt,
1197+
remove ``conda_build_config.yaml``, rename back the migrator file (step 1) and re-render.
1198+
1199+
11821200
Adding support for a new CUDA version
11831201
-------------------------------------
11841202

0 commit comments

Comments
 (0)