Martin Kustermann
a7e6da3a93
Add support for core dump archiving on macos
...
R=vegorov@google.com
Review-Url: https://codereview.chromium.org/2815553003 .
2017-04-19 10:36:23 +02:00
Martin Kustermann
b40a9e8608
Add link to cit bug in the exception for coredumps
...
Review-Url: https://codereview.chromium.org/2769683002 .
2017-03-22 14:36:20 +01:00
Martin Kustermann
eb903b955e
Add more debugging support to coredump archiving code
...
It seems sometimes we cannot find the coredumps but we are unable to
reproduce it (even on the bots). So let's add some more debugging
information.
R=vegorov@google.com
Review-Url: https://codereview.chromium.org/2713193002 .
2017-02-24 17:06:28 +01:00
Martin Kustermann
cc45d27027
Disable usage of site_config boto file
...
R=vegorov@google.com
Review-Url: https://codereview.chromium.org/2710333004 .
2017-02-24 17:04:40 +01:00
Martin Kustermann
f3bef9983b
Convert arguments to ''.join() to strings in tools/utils.py
...
R=vegorov@google.com
Review-Url: https://codereview.chromium.org/2710333003 .
2017-02-24 12:23:26 +01:00
Martin Kustermann
affb786582
Enable support for coredump archiving on windows
...
BUG=https://github.com/dart-lang/sdk/issues/28648
R=vegorov@google.com
Review-Url: https://codereview.chromium.org/2692883002 .
2017-02-14 16:34:31 +01:00
Vyacheslav Egorov
e8f456edd5
Buildbot: Only archive core dumps from unexpected crashes.
...
Change UnexpectedCrashDumpArchiver to generate coredumps file in the current
directory. Each line of this file specifies a core and a binary to be
uploaded in the following format:
test-name,core-file,binary-file
CoreDumpArchiver reads this file and uploads the first 10 crash dumps.
R=kustermann@google.com
BUG=
Review-Url: https://codereview.chromium.org/2645963004 .
2017-01-20 17:44:51 +01:00
Vyacheslav Egorov
6c9ca0cd2b
Buildbot: Change --copy-crashdumps to do the actual archiving to CloudStorage.
...
This flag now both enables core dump collection by setting appropriate rlimits
and takes care of archiving cores and crashed binaries.
R=kustermann@google.com
Review-Url: https://codereview.chromium.org/2640093005 .
2017-01-19 17:25:39 +01:00
Vyacheslav Egorov
e9483132ed
Revert "Buildbot: Change --copy-crashdumps to do the actual archiving to CloudStorage."
...
This reverts commit dec352c1ac .
Bots are completely broken
BUG=
TBR=kustermann@google.com
Review-Url: https://codereview.chromium.org/2640823005 .
2017-01-19 16:17:23 +01:00
Vyacheslav Egorov
dec352c1ac
Buildbot: Change --copy-crashdumps to do the actual archiving to CloudStorage.
...
This flag now both enables core dump collection by setting appropriate rlimits
and takes care of archiving cores and crashed binaries.
BUG=
R=kustermann@google.com
Review-Url: https://codereview.chromium.org/2644593002 .
2017-01-19 16:13:28 +01:00
Zachary Anderson
566ed7ff55
GN: Fix armsimdbc target. Add armsimdbc64
...
R=johnmccutchan@google.com
Review-Url: https://codereview.chromium.org/2596333002 .
2016-12-22 10:24:24 -08:00
Jonas Termansen
c0172aba48
Don't store git commit in observatory version string
...
The observatory assets tarball would be different every time due to the
version string, which makes it compress to a different size. The size
changes would then move the program data around, making it much more
difficult to determine if dart builds of different revisions are
actually identical.
Google Analytics doesn't need to know the exact version numbers, it will
be fine to say they are bleeding edge builds of a particular version.
BUG=
R=whesse@google.com
Review URL: https://codereview.chromium.org/2540383003 .
2016-12-01 14:16:23 +01:00
William Hesse
e82a20b180
Change default Windows compiler to MSVS 2015 (VS version 14.0)
...
BUG=
R=zra@google.com
Review URL: https://codereview.chromium.org/2217393002 .
2016-08-06 00:12:56 +02:00
Zachary Anderson
a274332ed7
Remove Fuchsia build from the gyp build
...
This isn't used anymore. The build happens in the Fuchsia tree using GN.
R=asiva@google.com
Review URL: https://codereview.chromium.org/2194223002 .
2016-08-01 12:38:11 -07:00
Zachary Anderson
a503570e3a
Fuchsia: Initial check-in.
...
Instructions to build and run are in README.fuchsia.
R=asiva@google.com
Review URL: https://codereview.chromium.org/2117593002 .
2016-07-01 12:42:05 -07:00
Zach Anderson
44796ed02d
Move Windows build output from //build to //out
...
This is needed in order to begin migration to GN because
third-party dependencies and GN boilerplate expect GN
boilerplate to be in //build.
R=asiva@google.com , whesse@google.com
Review URL: https://codereview.chromium.org/2027063003 .
2016-06-03 08:28:48 -07:00
Vyacheslav Egorov
43dc5c223d
Introduce a new ARMSIMDBC configuration.
...
This allows us to build dart binary with SIMDBC for non-Android ARM devices.
We are going to use it to measure performance.
BUG=http://dartbug.com/26421
R=zra@google.com
Review URL: https://codereview.chromium.org/1967613002 .
2016-05-10 20:06:54 +02:00
Zachary Anderson
3d7202bad3
DBC: Adds simdbc64 target, adds arm64 arithmetic overflow logic
...
There were differences between linux gcc, android gcc,
MacOS clang, and 32 vs. 64-bit w.r.t the __builtin
functions for detecting arithmetic overflow. I couldn't get
them all working at the same time. Instead, I removed them,
and changed to always use the inline assembly. This works
in all the configurations above.
This change also adds a simdbc64 target for building simdbc
for 64-bit, and sets up the android targets. simdbc targets
arm, and simdbc64 targets arm64. You can build them with:
$ ./tools/build.py -m release -a simdbc{64} --os=android runtime
R=iposva@google.com
Review URL: https://codereview.chromium.org/1904153003 .
2016-04-25 12:48:34 -07:00
Vyacheslav Egorov
ee0f608ce4
Dart Byte Code interpreter.
...
This version is Clang/GCC only and does not support Windows because it uses computed goto's.
Only unoptimized mode is supported.
Architecture is described in constants_dbc.h and stack_frame_dbc.h.
R=fschneider@google.com , zra@google.com
Review URL: https://codereview.chromium.org/1858283002 .
2016-04-18 23:02:01 +02:00
Rico Wind
2b8c5d2450
Print git number when running tools/utils.py
...
R=whesse@google.com
BUG=
Review URL: https://codereview.chromium.org/1708993002 .
2016-02-18 11:15:18 +01:00
William Hesse
2573093c50
Switch to downloaded SDK executable, drop executables in testing/bin.
...
BUG=https://github.com/dart-lang/sdk/issues/24311
R=ricow@google.com
Review URL: https://codereview.chromium.org/1697203002 .
2016-02-15 17:10:59 +01:00
William Hesse
9ed0e9c97f
Update downloaded SDKs to version 1.14.2. Add arm64 dart binary.
...
BUG=
R=ricow@google.com
Review URL: https://codereview.chromium.org/1700823002 .
2016-02-15 16:36:01 +01:00
Ivan Posva
9c0c6cb5c2
Add product mode:
...
- Add PRODUCT define and build mode to gyp configurations.
- Add product mode to test harness.
- Start to unify list of flags.
- Allow flags to be constant for particular build configurations.
R=fschneider@google.com
Review URL: https://codereview.chromium.org/1663863002 .
2016-02-03 21:10:30 -08:00
Zachary Anderson
80f358dede
Adds targets for simarmv6 and armv6
...
related #25562
R=rmacnak@google.com
Review URL: https://codereview.chromium.org/1624593002 .
2016-01-22 13:07:48 -08:00
Ryan Macnak
642f754219
Note that R19 is a C preserved register, fixing crash returning from the first Dart entry on Linux ARM64.
...
Bug was introduced by 91bc8005fe .
- Move the Dart stack pointer from R19 (C preserved) to R15 (C volatile) so it isn't among the registers saved by the InvokeDartCode stub.
- Set a default cross compiler for ARM64.
- Use ARM32 instead of IA32 binary to build Observatory on ARM64 hosts.
R=regis@google.com
Review URL: https://codereview.chromium.org/1559223003 .
2016-01-07 09:30:17 -08:00
Ivan Posva
6d0453594a
- Prevent running of the dart_bootstrap script by default.
...
- Fix argument handling in Python: argparse does not properly handle booleans.
BUG=
R=rmacnak@google.com
Review URL: https://codereview.chromium.org/1519063004 .
2015-12-11 13:23:12 -08:00
Ryan Macnak
783ed2470b
Change default build and test architecture to x64.
...
Precompilation isn't supported on IA32 so local testing misses it.
R=srdjan@google.com
Review URL: https://codereview.chromium.org/1408783005 .
2015-10-16 10:59:08 -07:00
Rico Wind
bcfbfdfed3
Move VERSION file location into top level variable
...
This will allow for easier overwriting
R=ahe@google.com , whesse@google.com
BUG=
Review URL: https://codereview.chromium.org//1359293002 .
2015-09-23 08:45:30 +02:00
William Hesse
01a4e08809
Give environment var DART_NUMBER_OF_CORES priority over /proc/cpuinfo when choosing the number of cpus to use.
...
BUG=
R=ricow@google.com
Review URL: https://codereview.chromium.org//1356643002 .
2015-09-17 16:12:56 +02:00
William Hesse
9aeb907f9d
Observatory build should try backup method if the SDK doesn't work.
...
Fix up SDK for mips and arm processors on demand.
BUG=
R=iposva@google.com , johnmccutchan@google.com
Review URL: https://codereview.chromium.org//1343103002 .
2015-09-16 13:13:32 +02:00
John McCutchan
28a2239289
Move CheckedInSdkPath helpers to utils
...
BUG=
R=ricow@google.com
Review URL: https://codereview.chromium.org//1342493003 .
2015-09-14 07:05:51 -07:00
William Hesse
a89532d98d
Update build utils to prefer Visual Studio 2013.
...
BUG=
R=ricow@google.com
Review URL: https://codereview.chromium.org//1257013004 .
2015-08-03 10:28:34 +02:00
Rico Wind
74759d5771
Remove GetSVNRevision from tools/utils.py
...
Also change all callsites to use git.
I have a pending request to Vijay for info on what tools/dartium/deploy_aar.py is for.
BUG=
R=whesse@google.com
Review URL: https://codereview.chromium.org//1166743005
2015-06-08 14:56:58 +02:00
Rico Wind
af3b6b2b61
Add python based VERSION file generation for sdk bots
...
We used to have this file generated by the editor build
BUG=23516
R=whesse@google.com
Review URL: https://codereview.chromium.org//1153033007
2015-05-28 11:20:36 +02:00
Rico Wind
f34fae854a
Initial github commit for getting stuff working
...
Readd samples, samples-dev, tools/testing/bin, third_party removed by cleanup (no history, sorry)
Add DEPS file which will replace the old all.deps and standalone.deps
Add tools/deps/dartium.deps replacing the old dartium.deps (but now editable from a normal checkout)
Fixup tools/utils.py to use the new archiving schema (git count for be, version number for dev/stable
Fix codereview.settings
2015-05-16 15:41:58 +02:00
ricow@google.com
7ac466315e
Add utility function for getting increasing numbers in a git only world.
...
The numbers will be used for archiving purposes, so that we have a standard way of calculating a location, that will sort in increasing order of commits.
For dev/stable channel builds we will move to use the version number instead.
R=sgjesse@google.com
BUG=
Review URL: https://codereview.chromium.org//1050823006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@45327 260f80e4-7a28-3924-810f-c04153c831b5
2015-04-22 04:01:44 +00:00
zra@google.com
86bfd7cb30
Adds a simarmv5te build and test target.
...
Also:
- Removes command line flags to choose simulated arm version.
I think we should use build targets instead, like in this change,
to make building and testing more obvious.
- Skips pkg tests on all simulators.
R=regis@google.com , ricow@google.com
Review URL: https://codereview.chromium.org//1077823002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@45181 260f80e4-7a28-3924-810f-c04153c831b5
2015-04-15 20:44:43 +00:00
ricow@google.com
0379803a4a
Add annotated steps for dart_services
...
This is not done, luke will update it with the actual commands for running the stress testing
R=lukechurch@google.com
BUG=
Review URL: https://codereview.chromium.org//1086613002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@45100 260f80e4-7a28-3924-810f-c04153c831b5
2015-04-13 13:34:47 +00:00
zra@google.com
34044a4ca8
Adds armv5 build and test target.
...
R=regis@google.com
Review URL: https://codereview.chromium.org//1043263002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@44828 260f80e4-7a28-3924-810f-c04153c831b5
2015-03-31 23:11:33 +00:00
ricow@google.com
77982f1fa9
Add support for ignoring the svn revision when getting the version, use this for gn build
...
R=zra@google.com
BUG=
Review URL: https://codereview.chromium.org//884523003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43297 260f80e4-7a28-3924-810f-c04153c831b5
2015-01-29 16:55:08 +00:00
whesse@google.com
4b9def5115
Fix merge problems in r38573, a cleanup of build scripts.
...
BUG=
R=kustermann@google.com
Review URL: https://codereview.chromium.org//423483002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@38574 260f80e4-7a28-3924-810f-c04153c831b5
2014-07-25 12:47:48 +00:00
whesse@google.com
c7d5711688
Build Tools Cleanup
...
Cleans up Python Code in Build Tools
TEST: build everything and run tests
BUG: https://code.google.com/p/dart/issues/detail?id=19592
R=ricow@google.com
Review URL: https://codereview.chromium.org//350483003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@38573 260f80e4-7a28-3924-810f-c04153c831b5
2014-07-25 11:47:59 +00:00
zra@google.com
2e6e3133f0
Fixes create_sdk target for cross-builds.
...
Building an sdk requires snapshots to be generated for
pub, analyzer, dart2js, etc. using a Dart VM binary that
has been built for the host. Currently, when we cross-build,
we do not build a Dart VM binary for the host.
Rather than monkey with the gyp files to do that, this
change modifies build.py to explicitly build:
1. The create_sdk target for the host arch,
2. The runtime target for the target arch,
After which files are copied to create a dart-sdk
directory for the target archetecture.
After this change, we *should* be able to cross-build Debian
packages for arm, which I'll work on in a subsequent change.
R=iposva@google.com , whesse@google.com
Review URL: https://codereview.chromium.org//397593006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@38337 260f80e4-7a28-3924-810f-c04153c831b5
2014-07-17 18:05:42 +00:00
efortuna@google.com
b39ad299fc
Use "git log" instead of "git svn info" for revision number information, since
...
"git svn info" hangs indefinitely on pure git checkouts.
BUG=
R=blois@google.com
Review URL: https://codereview.chromium.org//327563003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@37374 260f80e4-7a28-3924-810f-c04153c831b5
2014-06-16 20:13:45 +00:00
zra@google.com
e3f564fb6c
Changes for running tests on arm64 hardware.
...
R=regis@google.com
Review URL: https://codereview.chromium.org//311413002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@37046 260f80e4-7a28-3924-810f-c04153c831b5
2014-06-05 18:43:55 +00:00
zra@google.com
9c73009ff9
Prepares for arm64 cross-build.
...
With this change, the cross-build succeeds with the Linaro arm64 toolchain.
R=regis@google.com
Review URL: https://codereview.chromium.org//303443010
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@36698 260f80e4-7a28-3924-810f-c04153c831b5
2014-05-27 18:05:20 +00:00
zra@google.com
2fe51715e5
Begins work on ARM64, first assembler test.
...
Most new code is in constants_arm64.h and
{assembler,disassembler,simulator}_arm64.{h,cc}
The rest of the CL just #def's out tests, modifies status files,
and adds UNIMPLEMENTED functions, etc.
R=regis@google.com
Review URL: https://codereview.chromium.org//221133002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34654 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-02 17:39:32 +00:00
iposva@google.com
ca9defaf17
- Redo cross-build detection.
...
Review URL: https://codereview.chromium.org//189543010
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33489 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-10 12:53:50 +00:00
iposva@google.com
5c2fe2fade
Where did the space go?
...
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33488 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-10 12:39:18 +00:00
iposva@google.com
fd1630985f
- Fix typo.
...
Review URL: https://codereview.chromium.org//189233011
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33487 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-10 12:34:41 +00:00