public class HalideCompile extends AbstractBuildRuleWithDeclaredAndExtraDeps
Constructor and Description |
---|
HalideCompile(BuildTarget buildTarget,
ProjectFilesystem projectFilesystem,
BuildRuleParams params,
Tool halideCompiler,
String targetPlatform,
Optional<com.google.common.collect.ImmutableList<String>> compilerInvocationFlags,
Optional<String> functionNameOverride) |
Modifier and Type | Method and Description |
---|---|
static String |
fileOutputName(BuildTarget buildTarget,
Optional<String> functionNameOverride) |
com.google.common.collect.ImmutableList<Step> |
getBuildSteps(BuildContext context,
BuildableContext buildableContext) |
SourcePath |
getSourcePathToOutput() |
static Path |
headerOutputPath(BuildTarget buildTarget,
ProjectFilesystem filesystem,
Optional<String> functionNameOverride) |
static Path |
objectOutputPath(BuildTarget buildTarget,
ProjectFilesystem filesystem,
Optional<String> functionNameOverride) |
deprecatedGetExtraDeps, getBuildDeps, getDeclaredDeps, getTargetGraphOnlyDeps
equals, getBuildTarget, getDependencies, getProjectFilesystem, getSourcePathOutputs, getType, hasBuildSteps, hashCode, injectFields, isCacheable, toString, updateBuildRuleResolver
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
compareTo, getFullyQualifiedName, outputFileCanBeCopied, shouldRespectInputSizeLimitForRemoteExecution
public HalideCompile(BuildTarget buildTarget, ProjectFilesystem projectFilesystem, BuildRuleParams params, Tool halideCompiler, String targetPlatform, Optional<com.google.common.collect.ImmutableList<String>> compilerInvocationFlags, Optional<String> functionNameOverride)
public com.google.common.collect.ImmutableList<Step> getBuildSteps(BuildContext context, BuildableContext buildableContext)
public SourcePath getSourcePathToOutput()
public static Path objectOutputPath(BuildTarget buildTarget, ProjectFilesystem filesystem, Optional<String> functionNameOverride)
public static Path headerOutputPath(BuildTarget buildTarget, ProjectFilesystem filesystem, Optional<String> functionNameOverride)
public static String fileOutputName(BuildTarget buildTarget, Optional<String> functionNameOverride)