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

waf: enable cross-compilation support #1397

Merged
merged 5 commits into from Jul 21, 2017
Merged

Conversation

kalikiana
Copy link
Contributor

CC and CXX environment variables need to be set accordingly to cross-compile with Waf.

@sergiusens sergiusens changed the title waf: Enable cross-compilation support waf: enable cross-compilation support Jul 11, 2017
@sergiusens
Copy link
Collaborator

@cpaelzer iirc you wrote this plugin originally, mind taking a quick look?

])
return env

def enable_cross_compilation(self):
Copy link
Contributor

Choose a reason for hiding this comment

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

Something still missing - if so drop this and line 160.
Otherwise I think a comment why it is there for people like me would be very kind.

@cpaelzer
Copy link
Contributor

Other than the comment above LGTM, I have nothing around to test it.
But the code reads straight forward and I like tests being added.

@@ -14,10 +14,25 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.

import os

Copy link
Collaborator

Choose a reason for hiding this comment

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

why two spaces?

Copy link
Contributor

@come-maiz come-maiz left a comment

Choose a reason for hiding this comment

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

Thanks @kalikiana! But well, this also need the steps in manual_tests.md, so we don't forget about it.

@kalikiana kalikiana self-assigned this Jul 19, 2017
@sergiusens sergiusens merged commit 5d5d8f2 into canonical:master Jul 21, 2017
@sergiusens sergiusens added this to the 2.33 milestone Jul 21, 2017
kalikiana added a commit to kalikiana/snapcraft that referenced this pull request Aug 3, 2017
kalikiana added a commit to kalikiana/snapcraft that referenced this pull request Sep 21, 2017
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

4 participants