Skip to content

Commit d621792

Browse files
committed
Move openmp deps to host section
Signed-off-by: Michał Górny <mgorny@quansight.com>
1 parent 1dfd374 commit d621792

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/maintainer/knowledge_base.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1170,13 +1170,13 @@ a different runtime through their build system configuration.
11701170
On Linux, building against `libgomp` is recommended as the other OpenMP providers are backwards compatible with it.
11711171
When packages are built against `libgomp`, it is possible to use both `libgomp` and `llvm-openmp` provider at runtime.
11721172

1173-
Dependencies on OpenMP providers belong in the `build` section of recipe dependencies. The following snippet corresponds
1173+
Dependencies on OpenMP providers belong in the `host` section of recipe dependencies. The following snippet corresponds
11741174
to the defaults, though individual packages may require a different set:
11751175

11761176
```yaml
11771177
# meta.yaml
11781178
requirements:
1179-
build:
1179+
host:
11801180
- llvm-openmp # [osx]
11811181
- libgomp # [linux]
11821182
```

0 commit comments

Comments
 (0)