[skip ci] [ci skip] Update README on how to use new compilers
@@ -131,3 +131,25 @@ All apologies in advance if your recipe PR does not recieve prompt attention.
This is a high volume repository and issues can easily be missed. We are always
looking for more staged-recipe reviewers. If you are interested in volunteering,
please contact a member of @conda-forge/core. We'd love to have the help!
+
+### 13. How to build with new compilers on staged-recipes?
+
+Add a `conda_build_config.yaml` file inside the recipe folder with the contents
+
+```yaml
+channel_sources:
+- conda-forge/label/gcc7,defaults # [unix]
+- conda-forge,defaults # [win]
+channel_targets:
+- conda-forge gcc7 # [unix]
+- conda-forge main # [win]
+c_compiler: # [unix]
+- gcc # [linux]
+- clang # [osx]
+cxx_compiler: # [unix]
+- gxx # [linux]
+- clangxx # [osx]
+fortran_compiler: # [unix]
+- gfortran # [unix]
+```
+
