Skip to content

swiftMSVCRT: build with -Xcc -D_USE_MATH_DEFINES #29054

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 1 commit into from
Jan 13, 2020

Conversation

compnerd
Copy link
Member

@compnerd compnerd commented Jan 7, 2020

This enables the use of the math defines when building tgmath.swift.
Although not used in the normal branch, this define is necessary to
build the swiftMSVCRT module for TensorFlow which uses the math
constants.

Replace this paragraph with a description of your changes and rationale. Provide links to external references/discussions if appropriate.

Resolves SR-NNNN.

This enables the use of the math defines when building tgmath.swift.
Although not used in the normal branch, this define is necessary to
build the swiftMSVCRT module for TensorFlow which uses the math
constants.
@compnerd
Copy link
Member Author

compnerd commented Jan 7, 2020

@swift-ci please smoke test

@compnerd
Copy link
Member Author

compnerd commented Jan 7, 2020

@swift-ci please test Windows platform

@compnerd compnerd changed the title swiftMSVCRT: build with -Xcc -D_USE_MATH_DEFINES [DNM] swiftMSVCRT: build with -Xcc -D_USE_MATH_DEFINES Jan 8, 2020
@compnerd
Copy link
Member Author

@swift-ci please clean test Windows platform

@compnerd compnerd changed the title [DNM] swiftMSVCRT: build with -Xcc -D_USE_MATH_DEFINES swiftMSVCRT: build with -Xcc -D_USE_MATH_DEFINES Jan 13, 2020
@compnerd compnerd merged commit ecdaf17 into swiftlang:master Jan 13, 2020
@compnerd compnerd deleted the defines branch January 13, 2020 21:40
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.

1 participant