Skip to content
This repository was archived by the owner on Aug 5, 2022. It is now read-only.

Conversation

@krocard
Copy link
Contributor

@krocard krocard commented Jun 3, 2015

Fixes and workarounds for darwin, mostly related to android. Closes #39. Took ownership of #124.

Sebastien Gonzalve added 4 commits June 3, 2015 14:54
The code was using a hack to export headers only through a empty lib. This
trick does not work on darwin hosts.

This patch remove this hack and use the standard export C include dir.

Change-Id: I34a69a6f66479b3a499efc4a648c43f022e1c472
Signed-off-by: Sebastien Gonzalve <sebastien.gonzalve@intel.com>
Pathes were hardcoded to linux which make compilation fail on MacOs.

This patch gets the correct host build arch to fix compilation under MacOSx.

Change-Id: Ie49d179cf1e7a54fa862f8b2f0996d7945884b96
Signed-off-by: Sebastien Gonzalve <sebastien.gonzalve@intel.com>
Those signals are useless and causes problems on darwin (BSD) compilation.
Actually on recv, the flag is ignored on Linux, and on send, it should not be
necessary if we do not write on a closed socket.

Thus patch thus removes the flags and close the socket on error.
The lib in prebuild/darwin-x86 is in fact a 64bit lib and link fails.

This patch make the host binary use the host python to link (this is quite
wrong as the version may not be compatible with the android swig version

Change-Id: Ic6ed36a498904e082c1c60f05cc54827ca6ea705
Signed-off-by: Sebastien Gonzalve <sebastien.gonzalve@intel.com>
@krocard
Copy link
Contributor Author

krocard commented Jun 3, 2015

@dawagner @OznOg please review. Correction of the pull request #124

@dawagner dawagner added this to the Version 3 milestone Jun 3, 2015
@coveralls
Copy link

Coverage Status

Coverage increased (+0.15%) to 70.3% when pulling df6984d on krocard:android-darwin into 7ba789f on 01org:master.

@krocard krocard closed this Jun 9, 2015
@krocard krocard deleted the android-darwin branch June 9, 2015 18:40
@krocard
Copy link
Contributor Author

krocard commented Jun 11, 2015

Patches merged with #133.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants