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

Fix detection of supported targets for mbed 2 builds #10347

Merged
merged 2 commits into from
Apr 10, 2019

Conversation

bridadan
Copy link
Contributor

@bridadan bridadan commented Apr 8, 2019

Description

Fix #10107.

This should get Mbed 2 builds going again with ARMC6. The uARM logic doesn't seem to be 100%, but honestly I'm not really sure what the expected behavior is for it.

Pull request type

[x] Fix
[ ] Refactor
[ ] Target update
[ ] Functionality change
[ ] Docs update
[ ] Test update
[ ] Breaking change

Reviewers

Release Notes

@jeromecoutant

@ciarmcom ciarmcom requested review from a team April 8, 2019 17:00
@ciarmcom
Copy link
Member

ciarmcom commented Apr 8, 2019

@bridadan, thank you for your changes.
@ARMmbed/mbed-os-tools @ARMmbed/mbed-os-maintainers please review.

@cmonr
Copy link
Contributor

cmonr commented Apr 8, 2019

CI started

@mbed-ci
Copy link

mbed-ci commented Apr 8, 2019

Test run: FAILED

Summary: 1 of 9 test jobs failed
Build number : 1
Build artifacts

Failed test jobs:

  • jenkins-ci/mbed-os-ci_mbed2-build-ARMC5

@0xc0170
Copy link
Contributor

0xc0170 commented Apr 9, 2019

Looking at the build failures, only SAM targets failed Mbed 2 ARMC5 build. Please review

@bridadan
Copy link
Contributor Author

bridadan commented Apr 9, 2019

Looks like those targets aren't compatible with ARMC6, so I moved them to ARMC5 only.

@cmonr
Copy link
Contributor

cmonr commented Apr 9, 2019

CI started

@mbed-ci
Copy link

mbed-ci commented Apr 9, 2019

Test run: FAILED

Summary: 1 of 7 test jobs failed
Build number : 2
Build artifacts

Failed test jobs:

  • jenkins-ci/mbed-os-ci_mbed2-build-ARM

The hal code for this target uses "const volatile" types inside of
structs, which are non-trivially copyable in clang (used by ARMC6). This
causes the build to fail.

Here's the commit that changed this in clang:
llvm-mirror/clang@a3d727b

It seems this was reverteed some time ago in clang, but ARMC6 may not
be up to date.
@bridadan
Copy link
Contributor Author

bridadan commented Apr 9, 2019

Oh jeez, I missed one. Pushed a fix.

@cmonr
Copy link
Contributor

cmonr commented Apr 9, 2019

Oh jeez, I missed one. Pushed a fix.

rabble rabble rabble

@cmonr
Copy link
Contributor

cmonr commented Apr 9, 2019

CI started

@mbed-ci
Copy link

mbed-ci commented Apr 9, 2019

Test run: SUCCESS

Summary: 11 of 11 test jobs passed
Build number : 3
Build artifacts

@cmonr cmonr removed the needs: CI label Apr 10, 2019
@cmonr
Copy link
Contributor

cmonr commented Apr 10, 2019

@jeromecoutant Mind taking a look at this?

@0xc0170 0xc0170 merged commit bb0baee into ARMmbed:master Apr 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants