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:
Igor Minar 2018-11-08 18:50:49 +01:00 committed by Jason Aden
parent 04f902fca5
commit 572fd7a79a
5 changed files with 1 additions and 7 deletions

View File

@ -61,6 +61,6 @@ test --experimental_ui
################################ ################################
# Temporary Settings for Ivy # # 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. # any bazel target. This is a temporary flag until codebase is permanently switched to Ivy.
build --define=compile=legacy build --define=compile=legacy

View File

@ -321,7 +321,6 @@ jobs:
root: dist root: dist
paths: paths:
- packages-dist - packages-dist
- packages-dist-ivy-jit
- packages-dist-ivy-aot - packages-dist-ivy-aot
# We run the integration tests outside of Bazel for now. # We run the integration tests outside of Bazel for now.

View File

@ -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. - `--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). - `--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` - `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` - `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`. - `--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-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`. - `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-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 ### Debugging a Node Test

View File

@ -4,7 +4,6 @@ ng_module(
name = "aot_routing_module", name = "aot_routing_module",
testonly = True, testonly = True,
srcs = ["aot_router_module.ts"], srcs = ["aot_router_module.ts"],
tags = ["no-ivy-jit"],
deps = [ deps = [
"//packages/core", "//packages/core",
"//packages/router", "//packages/router",

View File

@ -28,6 +28,5 @@ def generate_targets(golden_files):
golden = "angular/tools/public_api_guard/%s" % golden_file, golden = "angular/tools/public_api_guard/%s" % golden_file,
tags = [ tags = [
"fixme-ivy-aot", # ivy no longer emits generated index file "fixme-ivy-aot", # ivy no longer emits generated index file
"no-ivy-jit", # we will not ship JIT compiled packages to npm
], ],
) )