Skip to content

[build-script] Fix --enable-tsan-runtime option #13088

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
Nov 27, 2017

Conversation

Rostepher
Copy link
Contributor

Changed the --enable-tsan-runtime option to use the enable action like the surrounding tsan options.

@Rostepher
Copy link
Contributor Author

@swift-ci please smoke test

@Rostepher Rostepher requested a review from zisko November 27, 2017 22:26
@@ -972,10 +972,6 @@ def create_argument_parser():
help="the absolute path to libtool. Default is auto detected.",
type=arguments.type.executable,
metavar="PATH")
parser.add_argument(
"--distcc",
Copy link
Contributor

Choose a reason for hiding this comment

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

What is this change?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I was testing something out locally and mistakenly removed this option. I've added it back.

@Rostepher Rostepher force-pushed the fix-borked-arguments branch from 96c368d to 660bc30 Compare November 27, 2017 22:38
@Rostepher
Copy link
Contributor Author

@swift-ci please smoke test

@@ -990,7 +989,8 @@ def create_argument_parser():
action=arguments.action.enable)
parser.add_argument(
"--enable-tsan-runtime",
help="enable Thread Sanitizer on the swift runtime")
help="enable Thread Sanitizer on the swift runtime",
action=arguments.action.enable)
Copy link
Contributor

Choose a reason for hiding this comment

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

please put help at the last argument here

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'm not going to do this at the moment. I have that change in a follow-up PR to #12873

@Rostepher Rostepher merged commit a6796e0 into swiftlang:master Nov 27, 2017
@Rostepher Rostepher deleted the fix-borked-arguments branch November 27, 2017 23:43
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