Merge lp:~vanvugt/mir/clang into lp:~mir-team/mir/trunk
Status: | Superseded |
---|---|
Proposed branch: | lp:~vanvugt/mir/clang |
Merge into: | lp:~mir-team/mir/trunk |
Diff against target: |
645 lines (+73/-91) 40 files modified
CMakeLists.txt (+15/-2) cmake/src/mir/mir_discover_gtest_tests.cpp (+0/-21) examples/image_renderer.cpp (+4/-0) include/server/mir/compositor/buffer.h (+1/-1) include/server/mir/compositor/buffer_allocation_strategy.h (+1/-1) include/server/mir/compositor/buffer_bundle_manager.h (+1/-1) include/server/mir/compositor/buffer_bundle_surfaces.h (+1/-1) include/server/mir/compositor/graphic_buffer_allocator.h (+1/-1) include/server/mir/compositor/swapper_factory.h (+1/-1) include/server/mir/frontend/shell.h (+1/-1) include/server/mir/graphics/platform.h (+1/-1) include/server/mir/graphics/renderable.h (+5/-0) include/server/mir/shell/session_manager.h (+1/-1) include/server/mir/shell/surface_builder.h (+1/-1) include/server/mir/surfaces/buffer_bundle_factory.h (+1/-1) include/server/mir/surfaces/surface_stack.h (+1/-1) include/server/mir/surfaces/surface_stack_model.h (+1/-1) include/shared/mir/geometry/forward.h (+3/-3) src/client/client_buffer.h (+1/-1) src/client/client_buffer_depository.h (+1/-1) src/client/client_context.h (+2/-2) src/client/mir_connection.h (+1/-1) src/client/mir_surface.h (+2/-2) src/client/mir_wait_handle.h (+1/-1) src/server/frontend/protobuf_socket_communicator.h (+2/-1) src/server/graphics/gbm/gbm_buffer_allocator.h (+1/-1) src/server/graphics/gbm/gbm_display.h (+1/-1) src/server/graphics/gbm/gbm_display_buffer.cpp (+0/-8) src/server/graphics/gbm/gbm_display_helpers.h (+1/-1) src/server/graphics/gbm/kms_display_configuration.cpp (+0/-1) src/server/graphics/gbm/kms_display_configuration.h (+0/-1) tests/CMakeLists.txt (+6/-0) tests/death-tests/test_application_manager_death.cpp (+5/-4) tests/integration-tests/test_drm_auth_magic.cpp (+1/-1) tests/integration-tests/test_surfaceloop.cpp (+1/-2) tests/mir_test_framework/testing_process_manager.cpp (+3/-19) tests/unit-tests/geometry/test-displacement.cpp (+1/-1) tests/unit-tests/geometry/test-point.cpp (+1/-1) tests/unit-tests/geometry/test-rectangle.cpp (+1/-1) tests/unit-tests/graphics/gbm/mock_gbm.h (+1/-1) |
To merge this branch: | bzr merge lp:~vanvugt/mir/clang |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Alan Griffiths | Needs Fixing | ||
Kevin DuBois (community) | Approve | ||
Alexandros Frantzis (community) | Needs Fixing | ||
PS Jenkins bot (community) | continuous-integration | Approve | |
Review via email: mp+153524@code.launchpad.net |
This proposal has been superseded by a proposal from 2013-03-19.
Commit message
Add support for compiling Mir with Clang.
Caveats:
* Clang 3.1 or later is required (raring or later).
* Input does not compile yet, due to deep problems with the boost/android-
input headers.
* Tests fail when built with clang. Fix them later...
How to build with clang:
cmake .. -DCMAKE_
This also resolves LP: #1152625.
Description of the change
If you see something strange and don't understand "why", try building with clang and undoing the change by hand. Clang will tell you "why".
PASSED: Continuous integration, rev:508 jenkins. qa.ubuntu. com/job/ mir-ci/ 93/ jenkins. qa.ubuntu. com/job/ mir-quantal- amd64-ci/ 94/console jenkins. qa.ubuntu. com/job/ mir-quantal- amd64-ci/ 94/artifact/ work/output/ *zip*/output. zip
http://
Executed test runs:
SUCCESS: http://
deb: http://
Click here to trigger a rebuild: jenkins. qa.ubuntu. com/job/ mir-ci/ 93/rebuild
http://