build(ivy): remove the remains of ivy-jit mode (#27278)
This stuff is obsolete and shouldn't be here because we removed the JIT mode on CI. PR Close #27278
This commit is contained in:
parent
04f902fca5
commit
572fd7a79a
2
.bazelrc
2
.bazelrc
|
@ -61,6 +61,6 @@ test --experimental_ui
|
|||
################################
|
||||
# Temporary Settings for Ivy #
|
||||
################################
|
||||
# to determine if the compiler used should be Ivy or ViewEngine one can use `--define=compile=local` on
|
||||
# to determine if the compiler used should be Ivy or ViewEngine one can use `--define=compile=aot` on
|
||||
# any bazel target. This is a temporary flag until codebase is permanently switched to Ivy.
|
||||
build --define=compile=legacy
|
||||
|
|
|
@ -321,7 +321,6 @@ jobs:
|
|||
root: dist
|
||||
paths:
|
||||
- packages-dist
|
||||
- packages-dist-ivy-jit
|
||||
- packages-dist-ivy-aot
|
||||
|
||||
# We run the integration tests outside of Bazel for now.
|
||||
|
|
|
@ -65,14 +65,11 @@ See also: [`//.bazelrc`](https://github.com/angular/angular/blob/master/.bazelrc
|
|||
- `--test_arg=--node_options=--inspect=9228`: change the inspector port.
|
||||
- `--define=compile=<option>` Controls if ivy or legacy mode is enabled. This switches which compiler is used (ngc, ngtsc, or a tsc pass-through mode).
|
||||
- `legacy`: (default behavior) compile against View Engine, e.g. `--define=compile=legacy`
|
||||
- `jit`: Compile in ivy JIT mode, e.g. `--define=compile=jit`
|
||||
- `aot`: Compile in ivy AOT move, e.g. `--define=compile=aot`
|
||||
- `--test_tag_filters=<tag>`: filter tests down to tags defined in the `tag` config of your rules in any given `BUILD.bazel`.
|
||||
- `no-ivy-aot`: Useful for excluding build and test targets that are not meant to be executed in Ivy AOT mode (`--define=compile=aot`).
|
||||
- `no-ivy-jit`: Useful for excluding build and test targets that are not meant to be executed in Ivy JIT mode (`--define=compile=jit`).
|
||||
- `ivy-only`: Useful for excluding all Ivy build and tests targets with `--define=compile=legacy`.
|
||||
- `fixme-ivy-aot`: Useful for including/excluding build and test targets that are currently broken in Ivy AOT mode (`--define=compile=aot`).
|
||||
- `fixme-ivy-jit`: Useful for including/excluding build and test targets that are currently broken in Ivy JIT mode (`--define=compile=jit`).
|
||||
|
||||
|
||||
### Debugging a Node Test
|
||||
|
|
|
@ -4,7 +4,6 @@ ng_module(
|
|||
name = "aot_routing_module",
|
||||
testonly = True,
|
||||
srcs = ["aot_router_module.ts"],
|
||||
tags = ["no-ivy-jit"],
|
||||
deps = [
|
||||
"//packages/core",
|
||||
"//packages/router",
|
||||
|
|
|
@ -28,6 +28,5 @@ def generate_targets(golden_files):
|
|||
golden = "angular/tools/public_api_guard/%s" % golden_file,
|
||||
tags = [
|
||||
"fixme-ivy-aot", # ivy no longer emits generated index file
|
||||
"no-ivy-jit", # we will not ship JIT compiled packages to npm
|
||||
],
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue