Open tzm-luminar opened 1 month ago
I added bazel_dep(name = "zlib", version = "1.3.1") to my MODULE.bazel then ran bazel build @zlib. The output was:
bazel_dep(name = "zlib", version = "1.3.1")
MODULE.bazel
bazel build @zlib
INFO: Analyzed target @@zlib~//:zlib (109 packages loaded, 1163 targets configured). INFO: Found 1 target... Target @@zlib~//:zlib up-to-date: bazel-bin/external/zlib~/libzlib.a bazel-bin/external/zlib~/libzlib.so
I expected the generated files to be libz.[a|so], not libzlib.[a|so]
Development (host) and target OS/architectures: Linux
Output of bazel --version: bazel 7.1.2
bazel --version
Version of relevant rules from the WORKSPACE or MODULE.bazel file: ?
WORKSPACE
Language(s) and/or frameworks involved: ?
Try to build zlib from Bazel Central Registry
No response
What happened?
I added
bazel_dep(name = "zlib", version = "1.3.1")
to myMODULE.bazel
then ranbazel build @zlib
. The output was:I expected the generated files to be libz.[a|so], not libzlib.[a|so]
Version
Development (host) and target OS/architectures: Linux
Output of
bazel --version
: bazel 7.1.2Version of relevant rules from the
WORKSPACE
orMODULE.bazel
file: ?Language(s) and/or frameworks involved: ?
How to reproduce
Any other information?
No response