ls `bazel info execution_root`/bazel-out/local_darwin-fastbuild/bin
I do have it in the `baze info execution_root`/_bin/ijar but that seems to be something built-in, and not my dependency (which is actually fine, if it is in the contract of bazel that it exist).
The error I get is:
external/bazel/third_party/ijar/ijar: No such file or directory
I tried using both .path and .short_path, neither seemed to work:
https://github.com/twitter/scalding/blob/bazel-build/bazel_tools/scala.bzl#L39
I can hack it currently by using "_bin/ijar", but it would be nice not depend on details of the version of bazel installed.
--
You received this message because you are subscribed to the Google Groups "bazel-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bazel-discus...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bazel-discuss/CAFQ2z_PipCggmVD4TKCXVpcX35GpkgyYL0qF78GcZ8zY-4w%2BAA%40mail.gmail.com.
Thanks. Using bazel release 0.1.2rc2-jdk7 using @bazel_tools://tools/jdk:ijar works (I thought I had tried that on 0.1.1 and it didn't, but perhaps I made a mistake).1) Why doesn't it work to depend on a ijar from a git_repository in WORKSPACE? Is that the expected behavior?
2) Is @bazel_tools documented somewhere? Are there other built-in external repositories? Is it safe to depend on its contents (i.e. is this part of the bazel API?).
To view this discussion on the web visit https://groups.google.com/d/msgid/bazel-discuss/CAE6AC96dGuZ1Pk93Tye25LC3vMkxHxS_6KBSzv8aGGsH3cGYqQ%40mail.gmail.com.
- "_ijar": attr.label(executable=True, default=Label("@bazel_tools//tools/jdk:ijar"), single_file=True, allow_files=True),
+ "_ijar": attr.label(executable=True, default=Label("@bazel//third_party/ijar:ijar"), single_file=True, allow_files=True),
- inputs=list(jars) + ctx.files.srcs + [ctx.outputs.manifest],
+ inputs=list(jars) + ctx.files.srcs + [ctx.outputs.manifest] + [ctx.file._ijar],
with
git_repository(
name = "bazel",
remote = "https://github.com/bazelbuild/bazel.git",
tag = "0.1.1")
--
You received this message because you are subscribed to the Google Groups "bazel-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bazel-discus...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bazel-discuss/ff80f118-db8b-41b9-b840-2cb7de6cf505%40googlegroups.com.
TL;DR for Laurent: how to add an executable and its runfiles to the inputs of a SpawnAction created from Skylark? Also, is there a way to create a ":ijar" implicit attribute on Skylark rules that would obey --ijar_top?
--
You received this message because you are subscribed to the Google Groups "bazel-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bazel-discus...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bazel-discuss/CAOu%2B0LVo1GQFqFP_x-m5G7ZWJsstRBTwj--BFfeEGubK48SzNQ%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bazel-discuss/c0621ca6-83b8-42c3-976b-76c638c90ef0n%40googlegroups.com.
It works as expected in local. In sandbox execution, I get the below error:
I am working on GHS toolchain. Ccarm compiler generates “per object debug info file” by providing the flag -G and the extension of the file is .dbo. Debug info file for the archive is .dba. GCC toolchain generates per object debug info file with the extension of .dwo and .dwp (for archive) by providing the flag -gsplit-dwarf. Moreover, I am trying to produce .map file also. How to get these outputs (.dbo,.dba and .map)? Please guide me, is there any way to achieve this without using custom rules?