-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The 'dart2aot' tool is missing from the Dart SDK debian package #36892
Comments
I believe the tools/linux_dist_support/debian directory controls how the debian packages are produced, and the build line is The contents of out/BUILD_DIR/dart-sdk are then copied and packaged up, so if dart2aot is in that directory, it will be included. |
Yes, create_sdk is no longer sufficient, so we'll need to update the script for the debian package. dart2aot requires additional build steps: https://github.com/dart-lang/sdk/blob/master/tools/bots/test_matrix.json#L1334 Workaround is to install the SDK from the zip file, those will include the tool (chocolatey & homebrew distributions will also have the tool). apt-get will not install it, and the docker images currently will not contain it. |
Installed via apt source, same issue here. would you please fix it ? |
For those needing this tool here and now, it should be in the 64-bit .zip bundles: https://dart.dev/tools/sdk/archive |
Bug: #36892 Change-Id: I6e8b202101449b2e8ca4c780ceca1e7e0731964c Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/101960 Commit-Queue: Clement Skau <cskau@google.com> Reviewed-by: Alexander Thomas <athom@google.com> Reviewed-by: William Hesse <whesse@google.com>
@cskau-g was this resolved? |
Tested this on master, and it is resolved there. The fix will likely be in the next dev release. |
I can't use 'dart2aot' tool. I've already upgraded Dart to '2.3.1-dev' version.
Dart VM version: 2.3.1-dev.0.0 (Unknown timestamp) on "linux_x64"
dart2aot: command not found
The text was updated successfully, but these errors were encountered: