Skip to content

Conversation

@nkcsgexi
Copy link
Contributor

-compile-module-from-interface action now takes arguments of -candidate-module-file.
If one of the candidate module files is up-to-date, the action emits a forwarding
module pointing to the candidate module instead of building a binary module.

…ing module

-compile-module-from-interface action now takes arguments of -candidate-module-file.
If one of the candidate module files is up-to-date, the action emits a forwarding
module pointing to the candidate module instead of building a binary module.
@nkcsgexi
Copy link
Contributor Author

@swift-ci please smoke test

@nkcsgexi nkcsgexi requested review from DougGregor and artemcm July 19, 2020 03:05
@nkcsgexi
Copy link
Contributor Author

@swift-ci Please smoke test OS X platform

@nkcsgexi nkcsgexi merged commit 0c1f9c4 into swiftlang:master Jul 19, 2020
// RUN: %empty-directory(%t)
// RUN: %empty-directory(%t/Foo.swiftmodule)
// RUN: %empty-directory(%t/ResourceDir/%target-sdk-name/prebuilt-modules/Foo.swiftmodule)
// RUN: echo "public func foo() {}" > %t/Foo.swift
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This test has broken the macOS CI:

FAIL: Swift(macosx-x86_64) :: ModuleInterface/emit-forward-modules.swift (699 of 13520)
******************** TEST 'Swift(macosx-x86_64) :: ModuleInterface/emit-forward-modules.swift' FAILED ********************
--snip commands--
Command Output (stdout):
--
swiftmodule '/Volumes/swift-ci/jenkins/workspace/swift-PR-osx/branch-master/buildbot_incremental/swift-macosx-x86_64/test-macosx-x86_64/ModuleInterface/Output/emit-forward-modules.swift.tmp/Foo.swiftmodule/x86_64-apple-macos.swiftmodule' is not a forwarding module!

--
Command Output (stderr):
--
<unknown>:0: warning: module interfaces are only supported with Swift language version 5 or later (currently using -swift-version 4)
<unknown>:0: warning: module interfaces are only supported with -enable-library-evolution

Two completely unrelated pulls fail the CI because of this one test.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I attempted to contact some people that can revert this if necessary

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants