Skip to content

make: add BOARD_INSUFFICIENT_RAM blacklisting#1039

Merged
OlegHahm merged 3 commits intoRIOT-OS:masterfrom
Kijewski:buildtest-insufficient-ram
May 24, 2014
Merged

make: add BOARD_INSUFFICIENT_RAM blacklisting#1039
OlegHahm merged 3 commits intoRIOT-OS:masterfrom
Kijewski:buildtest-insufficient-ram

Conversation

@Kijewski
Copy link
Copy Markdown
Contributor

Currently most blacklistings for examples and tests are done because the
board provides too little RAM or ROM. Besides of the actual linking all
the compiling should nevertheless work just fine.

This PR adds the variable BOARD_INSUFFICIENT_RAM to tell the
buildtest to compile the code for a board, but omit the linking step.

@Kijewski Kijewski added this to the Release 2014.04 milestone Apr 22, 2014
@Kijewski Kijewski assigned LudwigKnuepfer and unassigned mehlis Apr 22, 2014
Makefile Outdated
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

unreleated change

@LudwigKnuepfer
Copy link
Copy Markdown
Member

Maybe I overlooked some more of the unrelated changes, but those we definitely want, so please split all of those - does not have to be a separate PR.
Then I'd like you to split the example changes if it's not too much trouble.

@Kijewski
Copy link
Copy Markdown
Contributor Author

Made it 4 commits.

@LudwigKnuepfer
Copy link
Copy Markdown
Member

ACK for 'unrelated changes :)' except for the commit message ;-)

@Kijewski
Copy link
Copy Markdown
Contributor Author

It's not the unrelated changes that I want you ACK for, you know. 👅

@LudwigKnuepfer
Copy link
Copy Markdown
Member

I had a little trouble parsing the emoticon .. I first thought it was a bottom with pointy ears =)

@LudwigKnuepfer
Copy link
Copy Markdown
Member

And yes, I know.

@Kijewski
Copy link
Copy Markdown
Contributor Author

Okay, okay, now with a proper commit message. :)

@LudwigKnuepfer
Copy link
Copy Markdown
Member

Greatness =)

Makefile.include Outdated
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

these ::

@LudwigKnuepfer
Copy link
Copy Markdown
Member

ACK for 'Use BOARD_INSUFFICIENT_RAM in examples and tests'.

@LudwigKnuepfer
Copy link
Copy Markdown
Member

ACK for 'make: parallelize creation of board and base code'.

@LudwigKnuepfer
Copy link
Copy Markdown
Member

ACK for make: addBOARD_INSUFFICIENT_RAMblacklisting

==> ACK for the whole PR as it is now.

@LudwigKnuepfer
Copy link
Copy Markdown
Member

Needs update if #1033 is merged first

@Kijewski
Copy link
Copy Markdown
Contributor Author

Can I merge or does this PR need another pair of eyes?

@LudwigKnuepfer
Copy link
Copy Markdown
Member

Looks like a core change to me.

@Kijewski
Copy link
Copy Markdown
Contributor Author

I tend to agree.

@Kijewski
Copy link
Copy Markdown
Contributor Author

Second ACK, anyone?

@Kijewski
Copy link
Copy Markdown
Contributor Author

Please see #1073 which fixes the bug in ccn-lite-client.

@OlegHahm
Copy link
Copy Markdown
Member

I don't understand the purpose of 71f515c .

@LudwigKnuepfer
Copy link
Copy Markdown
Member

@OlegHahm Does this persist if you read the commit message?

@Kijewski
Copy link
Copy Markdown
Contributor Author

Kijewski commented May 3, 2014

Rebased on master. 71f515c is now 1eb75f9.

@Kijewski
Copy link
Copy Markdown
Contributor Author

Kijewski commented May 3, 2014

@OlegHahm 1eb75f9 just exploits parallelization with make -j a little bit more, less sequential building, more parallel building. Without -j there should be no change at all.

@Kijewski
Copy link
Copy Markdown
Contributor Author

Kijewski commented May 6, 2014

@OlegHahm do you have open questions?

Makefile.include Outdated
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Please don't remove this output. It's very helpful to if you're building what you've intended to build.

@OlegHahm
Copy link
Copy Markdown
Member

Apart from my comments and the fact that it needs to be rebases, this seems to be fine.

@Kijewski
Copy link
Copy Markdown
Contributor Author

Rebased, @echo lines undeleted.
But "Building application hello-world for native w/ MCU native." will now occur at the end, not at the start. I cannot help that.

@OlegHahm
Copy link
Copy Markdown
Member

But "Building application hello-world for native w/ MCU native." will now occur at the end, not at the start. I cannot help that.

Hm, that's quite unfortunate, since one only notices that one's building the wrong application or for the wrong board at the end. Is there no other target where to put it?

Apart, Travis is unhappy.

@Kijewski
Copy link
Copy Markdown
Contributor Author

Darn, that's the calloc problem. Gonna blacklist.

@Kijewski
Copy link
Copy Markdown
Contributor Author

Rebased Depends on #1182.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

remove comments about insufficient ram

@Kijewski
Copy link
Copy Markdown
Contributor Author

The "We can’t automatically merge this pull request." is because this commit is rebased on #1182, instead of master. I don't know why the commits of #1182 don't show up here.

@miri64
Copy link
Copy Markdown
Member

miri64 commented May 21, 2014

Is there a reason why it depends on the #1182? It does not seem related.

@Kijewski
Copy link
Copy Markdown
Contributor Author

@authmillenon otherwise I cannot un-blacklist the MSP boards for the ccnl examples.

@OlegHahm
Copy link
Copy Markdown
Member

Is https://github.com/Kijewski/RIOT/commit/cd04499e3f087922123aaa6fbaf5a6b6bb3ab335 the reason that the "Building..." info output isn't shown at the start any more? In this case I'd vote for removing that Commit from the PR and ACKing it.

Kijewski added 3 commits May 23, 2014 14:28
Remove some outdated example code.
Currently most blacklistings for examples and tests are done because the
board provides too little RAM or ROM. Besides of the actual linking all
the compiling should nevertheless work just fine.

This PR adds the variable `BOARD_INSUFFICIENT_RAM` to tell the
`buildtest` to compile the code for a board, but omit the linking step.
@Kijewski
Copy link
Copy Markdown
Contributor Author

@OlegHahm
Copy link
Copy Markdown
Member

ACK and go!

OlegHahm added a commit that referenced this pull request May 24, 2014
make: add `BOARD_INSUFFICIENT_RAM` blacklisting
@OlegHahm OlegHahm merged commit f2ee98c into RIOT-OS:master May 24, 2014
@Kijewski Kijewski deleted the buildtest-insufficient-ram branch May 24, 2014 14:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area: build system Area: Build system Area: tests Area: tests and testing framework Type: enhancement The issue suggests enhanceable parts / The PR enhances parts of the codebase / documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants