Skip to content

Commit 9dcafb4

Browse files
Fix #1423 : Added 'How to use vs2019' (#1425)
1 parent be625aa commit 9dcafb4

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

src/maintainer/knowledge_base.rst

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,8 +189,37 @@ To skip building with a particular ``vc`` version, add a skip statement.
189189
requirements:
190190
build:
191191
- {{ compiler('cxx') }}
192+
193+
Using vs2019
194+
-------------
195+
196+
To use ``vs2019`` make the following changes:
197+
198+
In conda_build_config.yaml file:
199+
200+
.. code-block:: yaml
201+
202+
c_compiler:
203+
- vs2019
204+
cxx_compiler:
205+
- vs2019
206+
207+
208+
In conda-forge.yml file:
209+
210+
.. code-block:: yaml
211+
212+
azure:
213+
settings_win:
214+
pool:
215+
vmImage: windows-2019
216+
217+
192218
219+
For example see the changes made in the ``conda_build_config.yaml`` and ``conda-forge.yml`` files in `this
220+
<https://github.com/conda-forge/libignition-physics-feedstock/commit/c586d765a2f5fd0ecf6da43c53315c898c9bf6bd>`_ PR.
193221

222+
After making these changes don't forget to rerender with ``conda-smithy`` (to rerender manually use ``conda smithy rerender`` from the command line).
194223

195224
Special Dependencies and Packages
196225
=================================

0 commit comments

Comments
 (0)