Skip to content

Commit

Permalink
Added comment to fancy_toys.jl should_build_platform
Browse files Browse the repository at this point in the history
`should_build_platform` returns true, e.g. for "x86_64-linux-gnu-cxx11" when ARGS = ["x86_64-linux-gnu-cxx11-cuda+10.2"].
  • Loading branch information
stemann committed Dec 1, 2024
1 parent 1c80954 commit 14acc71
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions fancy_toys.jl
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ Return whether the tarballs for the given `platform` should be built.
This is useful when the builder has different platform-dependent elements
(sources, script, products, etc...) that make it hard to have a single
`build_tarballs` call.
Note that the platform must be augmented, e.g. wrt. CUDA, if the platform
supplied in ARGS is augmented.
"""
function should_build_platform(platform)
# If you need inspiration for how to use this function, look at the builder
Expand Down

0 comments on commit 14acc71

Please sign in to comment.