Skip to content

Target sdk aliases and exclusions #3411

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

Merged

Conversation

compnerd
Copy link
Member

@compnerd compnerd commented Jul 8, 2016

What's in this pull request?

Resolved bug number: (SR-)


Before merging this pull request to apple/swift repository:

  • Test pull request on Swift continuous integration.

Triggering Swift CI

The swift-ci is triggered by writing a comment on this PR addressed to the GitHub user @swift-ci. Different tests will run depending on the specific comment that you use. The currently available comments are:

Smoke Testing

Platform Comment
All supported platforms @swift-ci Please smoke test
All supported platforms @swift-ci Please smoke test and merge
OS X platform @swift-ci Please smoke test OS X platform
Linux platform @swift-ci Please smoke test Linux platform

Validation Testing

Platform Comment
All supported platforms @swift-ci Please test
All supported platforms @swift-ci Please test and merge
OS X platform @swift-ci Please test OS X platform
OS X platform @swift-ci Please benchmark
Linux platform @swift-ci Please test Linux platform

Lint Testing

Language Comment
Python @swift-ci Please Python lint

Note: Only members of the Apple organization can trigger swift-ci.

@compnerd
Copy link
Member Author

compnerd commented Jul 8, 2016

CC: @gribozavr

@@ -3,3 +3,12 @@ function(precondition var)
message(FATAL_ERROR "Error! Variable ${var} is false or not set!")
endif()
endfunction()

macro(list_replace lst old new)
Copy link
Contributor

Choose a reason for hiding this comment

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

We are trying really hard to use functions when possible. Could you change this into a function? You can use PARENT_SCOPE to set the variable in the caller.

Copy link
Member Author

Choose a reason for hiding this comment

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

Yeah, I agree, functions are better as they don't pollute the global namespace. Ill see if I can get that changed.

@gribozavr
Copy link
Contributor

@swift-ci Please test

@gribozavr
Copy link
Contributor

@compnerd

ninja: error: '/home/buildnode/jenkins/workspace/swift-PR-Linux@2/swift/test/swiftStdlibCollectionUnittest-linux', needed by 'test/CMakeFiles/check-swift-all-linux-x86_64', missing and no known rule to make it

compnerd added 2 commits July 8, 2016 09:38
Introduce two new aliasees `ALL_POSIX_PLATFORMS` and `ALL_APPLE_PLATFORMS`.  The
latter expands to iOS, tvOS, watchOS, macOS and if relevant, the simulators.
The former expands to the same list as `ALL_APPLE_PLATFORMS` as well as Linux
and FreeBSD.
pthreads is not available on non-POSIX platforms (i.e. Windows).  Restrict the
target platforms that we build SwiftPrivatePthreadExtras and things which depend
on it.
@compnerd compnerd force-pushed the target-sdk-aliases-and-exclusions branch from eb18cb3 to 65fd24d Compare July 8, 2016 16:38
@compnerd
Copy link
Member Author

compnerd commented Jul 8, 2016

@swift-ci Please test

@compnerd
Copy link
Member Author

compnerd commented Jul 8, 2016

@gribozavr okay to merge?

@gribozavr gribozavr merged commit 1302449 into swiftlang:master Jul 8, 2016
@compnerd compnerd deleted the target-sdk-aliases-and-exclusions branch September 26, 2017 23:28
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.

2 participants