//ll:args.bzl#

Convenience function for setting compile arguments.

compile_object_args#

compile_object_args(ctx, in_file, out_file, cdf, headers, defines, includes, angled_includes,
                    interfaces, local_interfaces)

PARAMETERS

Name

Description

Default Value

ctx

-

none

in_file

-

none

out_file

-

none

cdf

-

none

headers

-

none

defines

-

none

includes

-

none

angled_includes

-

none

interfaces

-

none

local_interfaces

-

none

create_archive_library_args#

create_archive_library_args(ctx, in_files, out_file)

PARAMETERS

Name

Description

Default Value

ctx

-

none

in_files

-

none

out_file

-

none

expose_headers_args#

expose_headers_args(ctx, in_file, out_file)

PARAMETERS

Name

Description

Default Value

ctx

-

none

in_file

-

none

out_file

-

none

llvm_bindir_path#

llvm_bindir_path(ctx)

PARAMETERS

Name

Description

Default Value

ctx

-

none

llvm_gendir_path#

llvm_gendir_path(ctx)

PARAMETERS

Name

Description

Default Value

ctx

-

none

llvm_target_directory_path#

llvm_target_directory_path(ctx)

Returns the path to the llvm-project build output directory.

The path looks like bazel-out/{cpu}-{mode}/bin/external/llvm-project.

PARAMETERS

Name

Description

Default Value

ctx

The rule context.

none

RETURNS

A string.