Skip to content

build-script: Enable module builds by default #4779

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
Sep 15, 2016

Conversation

vedantk
Copy link
Contributor

@vedantk vedantk commented Sep 14, 2016

We added build-script support for building llvm with modules a while ago. We deferred turning this on by default because we were concerned it would break the Linux bots, or builds of swift-compiler-rt. Try again, now that we've done another stable merge.

@vedantk
Copy link
Contributor Author

vedantk commented Sep 14, 2016

@swift-ci Please test

@swift-ci
Copy link
Contributor

Build failed
Jenkins build - Swift Test Linux Platform
Git Commit - 30c2169
Test requested by - @vedantk

@vedantk
Copy link
Contributor Author

vedantk commented Sep 14, 2016

The failing tests on Linux are:

Failing Tests (2):
Swift(linux-x86_64) :: Reflection/typeref_lowering.swift
Swift(linux-x86_64) :: stdlib/Dictionary.swift

Based on the output, I'm really not sure that this has anything to do with --llvm-enable-modules...

Edit: These tests are failing on the ubuntu/master bot as well.

@vedantk vedantk self-assigned this Sep 15, 2016
@vedantk
Copy link
Contributor Author

vedantk commented Sep 15, 2016

@swift-ci Please test Linux platform

@vedantk
Copy link
Contributor Author

vedantk commented Sep 15, 2016

@swift-ci Please smoke test Linux platform

@vedantk
Copy link
Contributor Author

vedantk commented Sep 15, 2016

@adrian-prantl All checks pass, here we go!

@vedantk vedantk merged commit 208e82f into swiftlang:master Sep 15, 2016
@adrian-prantl
Copy link
Contributor

Awesome!

@vedantk vedantk deleted the modules branch September 15, 2016 20:33
@jrose-apple
Copy link
Contributor

Turns out this broke the ASan build, because sanitizers being on or off isn't properly encoded in the module hash. Can we turn this off automatically for now when ASan is enabled?

@vedantk
Copy link
Contributor Author

vedantk commented Sep 19, 2016

Yikes, yes I'll work up a patch.

@vedantk
Copy link
Contributor Author

vedantk commented Sep 19, 2016

Done in PR 4861.

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.

4 participants