commit | c50940b56b1ec2232e135954dc84bc223ce45348 | [log] [tgz] |
---|---|---|
author | なつき <i@ntk.me> | Wed Apr 13 07:54:02 2022 +0000 |
committer | Commit Bot <commit-bot@chromium.org> | Wed Apr 13 07:54:02 2022 +0000 |
tree | 2dfad1380bb38efe72cb6ffa29b031307a3968e1 | |
parent | 2ed65e2a131c34c9b1710b4480fd599d6a29e328 [diff] |
Fallback to uname for detecting ARM CPU architecture Currently running official dart `linux/arm/v7` container image on x86_64 with QEMU results in `Unrecognized ARM CPU architecture`. This is due to QEMU reporting host `/proc/cpuinfo` instead of the emulated architecture. Checking `uname` in addition to `/proc/cpuinfo` would make `linux/arm/v7` build work consistently regardless of whether `--use-qemu` is supplied during SDK build time. TEST=running the qemu bot TEST=ran the ffi/hardfp_test.dart locally both in AOT and JIT mode. Closes https://github.com/dart-lang/sdk/pull/48665 https://github.com/dart-lang/sdk/pull/48665 GitOrigin-RevId: d1414d747152d048f3ecaadfd0cd3356ce7a2205 Change-Id: If8b42a700d55e83fea0ee0035848308a3211ec43 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/238841 Reviewed-by: Daco Harkes <dacoharkes@google.com> Commit-Queue: Daco Harkes <dacoharkes@google.com>
Dart is:
Optimized for UI: Develop with a programming language specialized around the needs of user interface creation.
Productive: Make changes iteratively: use hot reload to see the result instantly in your running app.
Fast on all platforms: Compile to ARM & x64 machine code for mobile, desktop, and backend. Or compile to JavaScript for the web.
Dart's flexible compiler technology lets you run Dart code in different ways, depending on your target platform and goals:
Dart Native: For programs targeting devices (mobile, desktop, server, and more), Dart Native includes both a Dart VM with JIT (just-in-time) compilation and an AOT (ahead-of-time) compiler for producing machine code.
Dart Web: For programs targeting the web, Dart Web includes both a development time compiler (dartdevc) and a production time compiler (dart2js).
Dart is free and open source.
See LICENSE and PATENT_GRANT.
Visit dart.dev to learn more about the language, tools, and to find codelabs.
Browse pub.dev for more packages and libraries contributed by the community and the Dart team.
Our API reference documentation is published at api.dart.dev, based on the stable release. (We also publish docs from our beta and dev channels, as well as from the primary development branch).
If you want to build Dart yourself, here is a guide to getting the source, preparing your machine to build the SDK, and building.
There are more documents on our wiki.
The easiest way to contribute to Dart is to file issues.
You can also contribute patches, as described in Contributing.