Skip to content

Commit

Permalink
Reland "[SDK] Second step in removing references to dart_precompiled_…
Browse files Browse the repository at this point in the history
…runtime"

This reverts commit 630e262.

Reason for revert: Failing golem benchmarks were already failing from before this CL

TEST=ci

Original change's description:
> Revert "[SDK] Second step in removing references to dart_precompiled_runtime"
>
> This reverts commit 8576547.
>
> Reason for revert: breaks dart2wasm golem benchmarks
>
> Original change's description:
> > [SDK] Second step in removing references to dart_precompiled_runtime
> >
> > TEST=ci
> >
> > Change-Id: I7b625de2090aa31fd649f0f67055c032f5878772
> > Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/395065
> > Reviewed-by: Alexander Aprelev <aam@google.com>
> > Commit-Queue: Siva Annamalai <asiva@google.com>
>
> Change-Id: I524191ca9e26bb1d298eb56543bc0f419bfab4d3
> No-Presubmit: true
> No-Tree-Checks: true
> No-Try: true
> Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/395462
> Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
> Reviewed-by: Brian Quinlan <bquinlan@google.com>
> Commit-Queue: Siva Annamalai <asiva@google.com>

Change-Id: I2ec45bb7cad086ed66a9a41df2d19b4c1fdcb131
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/395640
Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
Commit-Queue: Siva Annamalai <asiva@google.com>
Reviewed-by: Alexander Aprelev <aam@google.com>
  • Loading branch information
a-siva authored and Commit Queue committed Nov 15, 2024
1 parent 103176d commit d87b6d5
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 29 deletions.
2 changes: 1 addition & 1 deletion pkg/dart2wasm/tool/compile_benchmark
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ BIN_DIR="$OUT_DIR/$DART_CONFIGURATION"

BINARYEN="$BIN_DIR/wasm-opt"
DART="$BIN_DIR/dart"
DART_AOT_RUNTIME="$BIN_DIR/dart_precompiled_runtime"
DART_AOT_RUNTIME="$BIN_DIR/dartaotruntime"
LIBRARIES_JSON_ARG="--libraries-spec=$SDK_DIR/sdk/lib/libraries.json"

function find_flags {
Expand Down
2 changes: 1 addition & 1 deletion pkg/vm/tool/dart_precompiled_runtime2
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@ fi
export DART_CONFIGURATION=${DART_CONFIGURATION:-ReleaseX64}
BIN_DIR="$OUT_DIR$DART_CONFIGURATION"

exec "$BIN_DIR"/dart_precompiled_runtime "$@"
exec "$BIN_DIR"/dartaotruntime "$@"
10 changes: 4 additions & 6 deletions tools/bots/test_matrix.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,6 @@
"dart2wasm_hostasserts": [
".dart_tool/package_config.json",
"out/ReleaseX64/dart",
"out/ReleaseX64/dart_precompiled_runtime",
"out/ReleaseX64/dartaotruntime",
"out/ReleaseX64/dart2js_platform.dill",
"out/ReleaseX64/dart2wasm.snapshot",
Expand Down Expand Up @@ -2771,7 +2770,7 @@
"runtime",
"dart2wasm",
"create_sdk",
"dart_precompiled_runtime"
"dartaotruntime"
]
},
{
Expand Down Expand Up @@ -2806,7 +2805,7 @@
"runtime",
"dart2wasm",
"create_sdk",
"dart_precompiled_runtime"
"dartaotruntime"
]
},
{
Expand Down Expand Up @@ -2839,7 +2838,7 @@
"runtime",
"dart2wasm",
"create_sdk",
"dart_precompiled_runtime"
"dartaotruntime"
]
},
{
Expand Down Expand Up @@ -2872,7 +2871,7 @@
"runtime",
"dart2wasm",
"create_sdk",
"dart_precompiled_runtime"
"dartaotruntime"
]
},
{
Expand Down Expand Up @@ -3372,7 +3371,6 @@
"runtime",
"gen_snapshot",
"dartaotruntime",
"dart_precompiled_runtime",
"dart2js_platform.dill",
"dart2js_platform_unsound.dill",
"kernel-service.dart.snapshot",
Expand Down
22 changes: 1 addition & 21 deletions tools/bots/try_benchmarks.sh
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ EOF
rm -rf tmp
elif [ "$command" = linux-x64-build ]; then
# NOTE: These are duplicated in tools/bots/test_matrix.json, keep in sync.
./tools/build.py --mode=release --arch=x64 create_sdk runtime gen_snapshot dartaotruntime dart_precompiled_runtime dart2js_platform.dill dart2js_platform_unsound.dill kernel-service.dart.snapshot ddc_stable_test ddc_canary_test dart2wasm_benchmark
./tools/build.py --mode=release --arch=x64 create_sdk runtime gen_snapshot dartaotruntime dart2js_platform.dill dart2js_platform_unsound.dill kernel-service.dart.snapshot ddc_stable_test ddc_canary_test dart2wasm_benchmark
elif [ "$command" = linux-x64-archive ]; then
export GZIP=-1
strip -w \
Expand Down Expand Up @@ -260,25 +260,6 @@ EOF
-K '_ZN4dart7Version4str_E' \
-K '_ZN4dart7Version7commit_E' \
-K '_ZN4dart9Bootstrap*_paths_E' out/ReleaseX64/dartaotruntime
strip -w \
-K 'kDartVmSnapshotData' \
-K 'kDartVmSnapshotInstructions' \
-K 'kDartCoreIsolateSnapshotData' \
-K 'kDartCoreIsolateSnapshotInstructions' \
-K '_ZN4dart3bin26observatory_assets_archiveE' \
-K '_ZN4dart3bin30observatory_assets_archive_lenE' \
-K '_ZN4dart3bin7Builtin22_builtin_source_paths_E' \
-K '_ZN4dart3bin7Builtin*_paths_E' \
-K '_ZN4dart3binL17vm_snapshot_data_E' \
-K '_ZN4dart3binL24isolate_snapshot_buffer_E' \
-K '_ZN4dart3binL27core_isolate_snapshot_data_E' \
-K '_ZN4dart3binL27observatory_assets_archive_E' \
-K '_ZN4dart3binL27vm_isolate_snapshot_buffer_E' \
-K '_ZN4dart3binL29core_isolate_snapshot_buffer_E' \
-K '_ZN4dart7Version14snapshot_hash_E' \
-K '_ZN4dart7Version4str_E' \
-K '_ZN4dart7Version7commit_E' \
-K '_ZN4dart9Bootstrap*_paths_E' out/ReleaseX64/dart_precompiled_runtime
tar -czf linux-x64.tar.gz \
--exclude .git \
--exclude .gitignore \
Expand All @@ -301,7 +282,6 @@ EOF
third_party/d8/linux/x64 \
third_party/firefox_jsshell/ \
out/ReleaseX64/dartaotruntime \
out/ReleaseX64/dart_precompiled_runtime \
out/ReleaseX64/gen/utils/ddc \
out/ReleaseX64/ddc_outline_unsound.dill \
out/ReleaseX64/ddc_outline.dill \
Expand Down

0 comments on commit d87b6d5

Please sign in to comment.