Skip to content

Commit 12d5133

Browse files
committed
Document compiler('clang*')
Signed-off-by: Michał Górny <[email protected]>
1 parent 14a771a commit 12d5133

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

docs/maintainer/infrastructure.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -637,9 +637,15 @@ The `clang` compiler package installs two frontends, and conda-forge
637637
provides separate activation scripts for Windows, for each of them. Therefore,
638638
the following arguments can be used in `recipe/conda_build_config.yaml`:
639639

640-
- `clang` to use the `clang` frontend using GCC argument syntax
640+
- `clang` to use the `clang` frontend with GCC argument syntax
641641
- `clang-cl` to use the `clang-cl` frontend with MSVC argument syntax
642642

643+
To use the `clang-cl` frontend on Windows, and the `clang` frontend on other
644+
systems, the following dependencies can be used:
645+
646+
- `{{ compiler('clang') }}` for the C compiler
647+
- `{{ compiler('clangxx') }}` for the C++ compiler
648+
643649
#### MinGW-based compiler stack for Windows
644650

645651
There exists an alternative, MinGW-based, compiler stack on Windows. To use it,

0 commit comments

Comments
 (0)