Skip to content
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

[build-script] When building with asan, mangle asan into the build subdirectory name. #8169

Merged
merged 1 commit into from Mar 18, 2017

Conversation

gottesmm
Copy link
Member

[build-script] When building with asan, mangle asan into the build subdirectory name.

Today, when you enable ASAN, build-script just reconfigures your normal build
directory to use ASAN. This forces you to recompile LLVM and Swift with ASAN
enabled and then (once you have finished using ASAN) to recompile LLVm/Swift
without ASAN.

By using a different build-directory, one still has to (potentially) recompile
LLVM/Swift, but one's original directory has not become invalidated. Thus when
you switch back to a normal build, one does not have to recompile LLVM and
(potentially) Swift!

@gottesmm
Copy link
Member Author

@swift-ci Please python lint

@gottesmm
Copy link
Member Author

@swift-ci smoke test and merge

…bdirectory name.

Today, when you enable ASAN, build-script just reconfigures your normal build
directory to use ASAN. This forces you to recompile LLVM and Swift with ASAN
enabled and then (once you have finished using ASAN) to recompile LLVm/Swift
without ASAN.

By using a different build-directory, one still has to (potentially) recompile
LLVM/Swift, but one's original directory has not become invalidated. Thus when
you switch back to a normal build, one does not have to recompile LLVM and
(potentially) Swift!
@gottesmm
Copy link
Member Author

@swift-ci smoke test and merge

1 similar comment
@gottesmm
Copy link
Member Author

@swift-ci smoke test and merge

@swift-ci swift-ci merged commit 3525f78 into apple:master Mar 18, 2017
@gottesmm gottesmm deleted the asan_build_subdir branch March 18, 2017 02:05
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.

None yet

2 participants