-
Notifications
You must be signed in to change notification settings - Fork 10.5k
Enable more tests for Embedded Wasm #82399
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
base: main
Are you sure you want to change the base?
Conversation
@swift-ci smoke test linux |
1 similar comment
@swift-ci smoke test linux |
@swift-ci smoke test |
1 similar comment
@swift-ci smoke test |
@swift-ci smoke test |
There's a predefined list of supported platforms that WASI should be added now that it has an official Embedded Swift SDK.
The overall change should be only localized to executable tests for now.
50f4eaf
to
2c391e4
Compare
@swift-ci smoke test |
@@ -1,6 +1,6 @@ | |||
// RUN: %empty-directory(%t) | |||
// RUN: %target-swift-frontend -enable-experimental-feature Embedded -parse-as-library %s -c -o %t/a.o | |||
// RUN: %target-clang %t/a.o -o %t/a.out -L%swift_obj_root/lib/swift/embedded/%target-cpu-apple-macos -lswift_Concurrency -lswift_ConcurrencyDefaultExecutor -dead_strip | |||
// RUN: %target-clang %target-clang-resource-dir-opt %t/a.o -o %t/a.out -L%swift_obj_root/lib/swift/embedded/%target-triple -lc++ -lswift_Concurrency -lswift_ConcurrencyDefaultExecutor -dead_strip |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does the change from %target-cpu-apple-macos
to %target-triple
still actually work and pass in CI? If yes, then great, but I think I remember that I had to use the former because for macOS, %target-triple
includes the version number and that's not in the directory name...
LGTM, and thanks! |
These tests still require a manual
lit.py
invocation for Wasm, which will be added as a separate CMake target in a future PR.