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

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

Issue 1552313002: Refs #25328 Use a portable shebang (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 11 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
« no previous file with comments | « tools/precompilation/test_linux.sh ('k') | tools/precompilation/test_macos.sh » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/bin/bash -ex 1 #!/usr/bin/env bash
2 2
3 set -ex
4
3 # Usage: 5 # Usage:
4 # cd sdk 6 # cd sdk
5 # ./tools/precompilation/test_linux.sh <dart-script-file> 7 # ./tools/precompilation/test_linux.sh <dart-script-file>
6 8
7 ./tools/build.py -mdebug -asimarm runtime 9 ./tools/build.py -mdebug -asimarm runtime
8 10
9 ./out/DebugSIMARM/dart_no_snapshot --gen-precompiled-snapshot --package-root=out /DebugX64/packages/ "$1" 11 ./out/DebugSIMARM/dart_no_snapshot --gen-precompiled-snapshot --package-root=out /DebugX64/packages/ "$1"
10 12
11 gcc -m32 -shared -Wl,-soname,libprecompiled.so -o libprecompiled.so precompiled. S 13 gcc -m32 -shared -Wl,-soname,libprecompiled.so -o libprecompiled.so precompiled. S
12 14
13 LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$PWD" gdb -ex run --args ./out/DebugSIMARM/dar t_precompiled --run-precompiled-snapshot not_used.dart 15 LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$PWD" gdb -ex run --args ./out/DebugSIMARM/dar t_precompiled --run-precompiled-snapshot not_used.dart
OLDNEW
« no previous file with comments | « tools/precompilation/test_linux.sh ('k') | tools/precompilation/test_macos.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698