You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: mcpp.toml
+38-6Lines changed: 38 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
[package]
2
2
name = "plugins"
3
3
namespace = "mcpp"
4
-
version = "0.9.3"
4
+
version = "0.10.0"
5
5
description = "Official mcpp build plugins: rule packages under mcpp.rules.*, build-time utilities under mcpp.tools.*, each member selected by a feature"
6
6
license = "Apache-2.0"
7
7
authors = ["mcpp-community"]
@@ -84,6 +84,16 @@ implies = ["surface"]
84
84
rule_module = "mcpp.rules.cuda"
85
85
device_extensions = [".cu"]
86
86
87
+
# `.metal` shaders become Metal libraries through `xcrun metal` and `xcrun
88
+
# metallib`, the toolchain Xcode carries. No payload is declared, for the reason
89
+
# `dist-apple` gives for `codesign`: Xcode is not redistributable, so the rule
90
+
# locates the toolchain and refuses naming the command that found nothing.
91
+
[features.rules-metal]
92
+
sources = ["rules/metal.cppm"]
93
+
implies = ["surface"]
94
+
rule_module = "mcpp.rules.metal"
95
+
device_extensions = [".metal"]
96
+
87
97
[features.rules-hip]
88
98
sources = ["rules/hip.cppm"]
89
99
implies = ["surface"]
@@ -388,12 +398,28 @@ implies = ["surface"]
388
398
# The per-host table stays the right shape only at the top level, where
389
399
# platform keys select the HOST rather than restating a predicate the
390
400
# section has already applied.
401
+
#
402
+
# 5.0.2-1, NOT 5.0.2, BECAUSE `--format setup` NEEDS THE EXTENSION. The recipe
403
+
# revision adds `WixToolset.BootstrapperApplications.wixext` beside the tool,
404
+
# and a bundle with WiX's stock bootstrapper application is refused without it
405
+
# (WIX0200). An installation made under 5.0.2 keeps the payloads it fetched,
406
+
# because xlings does not re-run the install hook of an installed version, so
407
+
# the pin names the revision rather than the release.
391
408
[target.windows.feature-xlings.dist-wix]
392
-
"xim:wix" = "5.0.2"
409
+
"xim:wix" = "5.0.2-1"
393
410
394
-
# `dist-apple` declares no payload for `codesign`: it is part of Xcode, which is
395
-
# not redistributable, so the member locates it and says where it looked. The
396
-
# open-source `rcodesign` is the package that would replace that lookup.
411
+
# `dist-apple` declares no payload for `codesign`, `ditto` or `hdiutil`: they are
412
+
# part of macOS and Xcode, which are not redistributable, so the member runs the
413
+
# system's. The open-source `rcodesign` is the package that would replace the
414
+
# `codesign` lookup.
415
+
#
416
+
# THE RUNNER IS A PAYLOAD, AND ONLY `mcpp run` NEEDS IT. `mcpp run --format app`
417
+
# on macOS reaches the bundle through the runner named `app` this member
418
+
# supplies, `macapp-run`, which executes the bundle's executable in the
419
+
# foreground so that its output and exit status are the program's. `when =
420
+
# "run"` keeps a build or a pack from installing it.
0 commit comments