Home
last modified time | relevance | path

Searched full:bzlmod (Results 1 – 25 of 117) sorted by relevance

12345

/external/bazelbuild-rules_python/
D.bazelrc6bzlmod,examples/bzlmod_build_file_generation,examples/bzlmod_build_file_generation/other_module/ot…
7bzlmod,examples/bzlmod_build_file_generation,examples/bzlmod_build_file_generation/other_module/ot…
DCHANGELOG.md17 * Particular sub-systems are identified using parentheses, e.g. `(bzlmod)` or
24 * (bzlmod) `pip.parse` can no longer automatically use the default
30 * (docs) Update docs to use correct bzlmod APIs and clarify how and when to use
33 * (bzlmod) `pip.parse` no longer requires a call for whatever the configured
49 * (bzlmod) `@python_aliases` renamed to `@python_versions
50 * (bzlmod) `pip.parse` arg `name` renamed to `hub_name`
51 * (bzlmod) `pip.parse` arg `incompatible_generate_aliases` removed and always
56 * (bzlmod) Fixing Windows Python Interpreter symlink issues
58 * (toolchain, bzlmod) Restrict coverage tool visibility under bzlmod
66 * (bzlmod) `pip.parse` can be called multiple times with different Python
[all …]
DBZLMOD_SUPPORT.md1 # Bzlmod support
3 ## `rules_python` `bzlmod` support
14 ## What is bzlmod?
18 ….bazel system (codenamed Bzlmod, and enabled with the flag `--enable_bzlmod`). The two systems can…
23 We have two examples that demonstrate how to configure `bzlmod`.
25 The first example is in [examples/bzlmod](examples/bzlmod), and it demonstrates basic bzlmod config…
28 …eration](examples/bzlmod_build_file_generation) demonstrates the use of `bzlmod` to configure `gaz…
43 Under bzlmod, the default toolchain is no longer based on the locally installed
DREADME.md28 ## Bzlmod support
33 See [Bzlmod support](BZLMOD_SUPPORT.md) for more details.
37 The following two sections cover using `rules_python` with bzlmod and
40 ### Using bzlmod
42 **IMPORTANT: bzlmod support is still in Beta; APIs are subject to change.**
44 The first step to using rules_python with bzlmod is to add the dependency to
65 #### Toolchain registration with bzlmod argument
126 For more documentation, see the bzlmod examples under the [examples](examples) folder. Look for th…
223 #### Using bzlmod
225 …. Include in the `MODULE.bazel` the toolchain extension as shown in the first bzlmod example above.
[all …]
D.bazelignore9 examples/bzlmod/bazel-bzlmod
/external/bazelbuild-rules_python/.bazelci/
Dpresubmit.yml26 bazel: 6.0.0 # test minimum supported version of bazel for bzlmod tests
81 name: Test the Gazelle extension under bzlmod
167 name: bzlmod integration tests on Ubuntu using minimum supported Bazel version
168 working_directory: examples/bzlmod
173 name: bzlmod integration tests on Ubuntu
174 working_directory: examples/bzlmod
179 name: bzlmod integration tests on Debian
180 working_directory: examples/bzlmod
185 name: bzlmod integration tests on macOS
186 working_directory: examples/bzlmod
[all …]
/external/bazelbuild-rules_python/tools/bazel_integration_test/
Dbazel_integration_test.bzl36 "bzlmod": attr.bool(
38 doc = """Whether the test uses bzlmod.""",
66 "bzlmod": {TMPL_bzlmod}
72 TMPL_bzlmod = str(ctx.attr.bzlmod).lower(),
87 def bazel_integration_test(name, override_bazel_version = None, bzlmod = False, dirname = None, **k…
93 bzlmod: whether the test uses bzlmod
114 bzlmod = bzlmod,
/external/bazelbuild-rules_rust/proto/prost/
Drepositories.bzl7 def rust_prost_dependencies(bzlmod = False):
11 bzlmod (bool): Whether bzlmod is enabled.
21 if bzlmod:
22 # Without bzlmod, this function is normally called by the
25 # reason to keep two rust_prost_dependencies functions with bzlmod.
/external/bazelbuild-rules_python/examples/bzlmod_build_file_generation/
DREADME.md1 # Bzlmod build file generation example
3 This example demostrates how to use `rules_python` and gazelle with `bzlmod` enabled.
4 [Bzlmod](https://bazel.build/external/overview#bzlmod), the new external dependency
26 This example uses a `MODULE.bazel` file that configures the bzlmod dependency
/external/google-benchmark/.github/workflows/
Dbazel.yml9 name: bazel.${{ matrix.os }}.${{ matrix.bzlmod && 'bzlmod' || 'no_bzlmod' }}
15 bzlmod: [false, true]
31 …bazel build ${{ matrix.bzlmod && '--enable_bzlmod' || '--noenable_bzlmod' }} //:benchmark //:bench…
35 …bazel test ${{ matrix.bzlmod && '--enable_bzlmod' || '--noenable_bzlmod' }} --test_output=all //te…
/external/bazelbuild-rules_java/.bazelci/
Dpresubmit.yml12 …# TODO(pcloudy): pkg_tar doesn't work with Bzlmod due to https://github.com/bazelbuild/bazel/issue…
42 - "--config=bzlmod"
48 - "--config=bzlmod"
54 - "--config=bzlmod"
/external/bazelbuild-rules_testing/.bcr/
Dpresubmit.yml1 # We recommend included a bcr test workspace that exercises your ruleset with bzlmod.
2 # For an example, see https://github.com/aspect-build/bazel-lib/tree/main/e2e/bzlmod.
4 module_path: "e2e/bzlmod"
/external/bazelbuild-rules_testing/.bazelci/
Dpresubmit.yml14 name: Bzlmod
19 - "--test_tag_filters=-skip-bzlmod,-docs"
35 working_directory: e2e/bzlmod
/external/angle/third_party/abseil-cpp/
DWORKSPACE.bzlmod15 # https://bazel.build/external/migration#workspace.bzlmod
17 # This file is intentionally empty. When bzlmod is enabled and this
19 # bzlmod builds from unintentionally depending on the WORKSPACE file.
/external/bazelbuild-rules_android/.bazelci/
Dpresubmit.yml32 name: Bzlmod ubuntu2004
38 name: Bzlmod macos
44 name: Bzlmod macos_arm64
/external/bazelbuild-rules_python/gazelle/
DREADME.md12 The following instructions are for when you use [bzlmod](https://docs.bazel.build/versions/5.0.0/bz…
14 without using bzlmod as your dependency manager.
18 …e with Python located [here](https://github.com/bazelbuild/rules_python/tree/main/examples/bzlmod).
19 A fully-working example without using bzlmod is in [`examples/build_file_generation`](../examples/b…
21 The following documentation covers using bzlmod.
120 # bzlmod.
/external/bazel-skylib/distribution/
DBUILD50 # directory. For distribution, use the minimal WORSKPACE.bzlmod instead.
53 srcs = ["@bazel_skylib_gazelle_plugin//:WORKSPACE.bzlmod"],
54 renames = {"@bazel_skylib_gazelle_plugin//:WORKSPACE.bzlmod": "WORKSPACE"},
/external/bazelbuild-rules_rust/.bazelci/
Dpresubmit.yml183 name: With bzlmod
186 # When WORKSPACE.bzlmod is provided, the workspace file is ignored.
188 - "touch WORKSPACE.bzlmod"
653 name: bzlmod BCR presubmit
655 working_directory: examples/bzlmod/hello_world
662 name: bzlmod BCR presubmit
664 working_directory: examples/bzlmod/hello_world
671 name: bzlmod BCR presubmit
673 working_directory: examples/bzlmod/hello_world
/external/bazelbuild-platforms/
DWORKSPACE.bzlmod3 # Even if this is empty, you need it with bzlmod enable to prevent
4 # bzlmod from bringing in WORKSPACE too.
/external/bazelbuild-rules_rust/examples/bzlmod/cross_compile/
DREADME.md1 # bzlmod cross-compile example
3 This example shows how to use `rules_rust` through bzlmod to invoke Rust cross-compilation.
/external/bazelbuild-rules_python/python/runfiles/
Drunfiles.py148 # - not using Bzlmod, so the repository mapping is empty and
187 https://bazel.build/build/bzlmod#repository-names
224 # With Bzlmod, the runfiles directory of the main repository is always
225 # named "_main". Without Bzlmod, the value returned by this function is
226 # never used, so we just assume Bzlmod is enabled.
253 # might be running without Bzlmod enabled or there may not be any runfiles.
/external/bazelbuild-rules_python/python/private/
Dbzlmod_enabled.bzl14 """Variable to check if bzlmod is enabled"""
16 # When bzlmod is enabled, canonical repos names have @@ in them, while under
/external/bazelbuild-rules_rust/.bcr/
Dpresubmit.yml8 working_directory: examples/bzlmod/hello_world
24 working_directory: examples/bzlmod/hello_world
/external/bazelbuild-rules_python/python/extensions/
Dpip.bzl15 "pip module extension for use with bzlmod"
114 # Create the repository where users load the `requirement` macro. Under bzlmod
235 This implementation reuses elements of non-bzlmod code and also reuses the first implementation
236 of pip bzlmod, but adds the capability to have multiple pip.parse calls.
370 # incompatible_generate_aliases is always True in bzlmod
459 for the user and the alias arg is always True in bzlmod.
467 create different modifications based on the type of attribute. Previously to bzlmod these
/external/bazelbuild-rules_testing/docs/source/
Dindex.md11 to depend on rules_testing. We recommend using bzlmod because it's simpler.
13 For bzlmod, add this to your `MODULE.bazel`:

12345