Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(302)

Side by Side Diff: tools/precompilation/test_linux.sh

Issue 1318803002: Toward precompiled snapshots. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 #!/bin/bash -ex
2
3 # Usage:
4 # cd sdk
5 # ./tools/precompilation/test_linux.sh
6
7 ./tools/build.py -mdebug -ax64 runtime
8
9 ./out/DebugX64/dart_no_snapshot --gen-precompiled-snapshot ~/hello.dart
10
11 ./out/DebugX64/dart ./tools/precompilation/create_instructions_snapshot_assembly .dart precompiled.instructions precompiled.S
12
13 gcc -m64 -c -o precompiled.o precompiled.S
14
15 gcc -m64 -shared -Wl,-soname,libprecompiled.so -o libprecompiled.so precompiled. o
16
17 LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$PWD" gdb -ex run --args ./out/DebugX64/dart - -run-precompiled-snapshot not_used.dart
OLDNEW
« no previous file with comments | « tools/precompilation/create_instructions_snapshot_assembly.dart ('k') | tools/precompilation/test_macos.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698