Skip to content

[cmake]: Second try at making swift-api-digester work correctly. #5512

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
merged 2 commits into from
Oct 29, 2016

Conversation

erg
Copy link
Contributor

@erg erg commented Oct 28, 2016

Running ninja check-swift didn't rebuild swift-api-digester.

Previous: #5505
and: #5509

rdar://problem/28953348

@erg
Copy link
Contributor Author

erg commented Oct 28, 2016

@swift-ci Please smoke test

@jrose-apple
Copy link
Contributor

The problem is that swift-api-digester is only built on Apple platforms.

(I mean, maybe we want to change that—cc @nkcsgexi—but for now I don't think we can just turn it on and expect things to work.)

@nkcsgexi
Copy link
Contributor

Can we exclusively build swift-api-digester on Apple platforms for now?

@nkcsgexi
Copy link
Contributor

@swift-ci Please smoke test

1 similar comment
@nkcsgexi
Copy link
Contributor

@swift-ci Please smoke test

@nkcsgexi
Copy link
Contributor

swift-api-digester now builds on linux but the smoke test failed for other reasons. Try again..
@swift-ci please smoke test

@@ -6,6 +6,7 @@ add_swift_tool_subdirectory(swift-demangle)
add_swift_tool_subdirectory(lldb-moduleimport-test)
add_swift_tool_subdirectory(sil-extract)
add_swift_tool_subdirectory(swift-llvm-opt)
add_swift_tool_subdirectory(swift-api-digester)

if(SWIFT_HOST_VARIANT STREQUAL "macosx")
# Only build Darwin-specific tools when deploying to OS X.
Copy link
Contributor

Choose a reason for hiding this comment

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

If we are trying to build swift-api-digester for all platforms, please remove this section.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Sorry, I missed this section. I see how my patch could be fixed for just OSX support, but is this something we want for Linux too?

Doug Coleman and others added 2 commits October 28, 2016 16:35
Note: I ran into an issue compiling on Linux with STL 4.8 headers where
STL vector needs an iterator instead of a ``const_iterator``. Hopefully this will
not show on the CI machines.

http://stackoverflow.com/questions/19559235/missing-const-iterator-overload-of-stdvectorerase-with-g-4-8
@erg erg force-pushed the fix-swift-api-digester2 branch from 92e88ad to fd36b92 Compare October 28, 2016 22:35
@erg
Copy link
Contributor Author

erg commented Oct 28, 2016

Cleaned up the OSX special casing for swift-api-digester.

@erg
Copy link
Contributor Author

erg commented Oct 28, 2016

@swift-ci Please smoke test

@erg erg merged commit f3404f3 into swiftlang:master Oct 29, 2016
MaxDesiatov pushed a commit that referenced this pull request Sep 7, 2023
…am/driver-wasm-toolchain

Cherry-pick static-stdlib changes
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