bazel icon indicating copy to clipboard operation
bazel copied to clipboard

exec_properties for action ObjcLink does not effect

Open Kila2 opened this issue 1 year ago • 5 comments

Description of the bug:

ios_application(
  ...
  exec_properties = {
    'key': 'value',
  }
)

for this rule. when set exec_properties. the remote execution server receive ObjcLink Action platform properties is empty CppLink platform properties is name: key value:value.

Which category does this issue belong to?

No response

What's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.

No response

Which operating system are you running Bazel on?

macos 13.6.4

What is the output of bazel info release?

bazel 7

If bazel info release returns development version or (@non-git), tell us how you built Bazel.

No response

What's the output of git remote get-url origin; git rev-parse HEAD ?

No response

Is this a regression? If yes, please try to identify the Bazel commit where the bug was introduced.

No response

Have you found anything relevant by searching the web?

No response

Any other information, logs, or outputs that you want to share?

No response

Kila2 avatar May 10 '24 12:05 Kila2

ios_application is defined in rules_apple (or rules_ios if you are using that), so this is probably best filed there.

brentleyjones avatar May 10 '24 13:05 brentleyjones

I'm sure this is a problem with Bazel. That's why I submitted it here.

Kila2 avatar May 10 '24 13:05 Kila2

cc_common.link not getExecutionInfo from the exec_properties

Kila2 avatar May 10 '24 13:05 Kila2

@Kila2 I think he meant here: https://github.com/bazelbuild/rules_apple/issues

iancha1992 avatar May 10 '24 23:05 iancha1992

I had add an option to support this feature. https://github.com/bazelbuild/bazel/pull/22339

Kila2 avatar May 13 '24 05:05 Kila2