Morgan243 / python-on-a-chip

Automatically exported from code.google.com/p/python-on-a-chip
Other
0 stars 0 forks source link

Create method to conditionally build parts of src/lib/ libraries based on features #171

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Currently, I cannot add the float() function to __bi.py because it includes a 
float constant and  platforms that do not support HAVE_FLOAT would fail to 
build.

Need to create a way to conditionally compile parts of libraries in src/lib/ 
using platform configuration information from platform/<plat>/pmfeatures.py

Original issue reported on code.google.com by dwhall...@gmail.com on 16 Nov 2010 at 2:41

GoogleCodeExporter commented 8 years ago
See my proposal posted on issue 155.
In short, if you keep the conditionals inside the __NATIVE portion of the newly 
defined functions all is fine.

Original comment by lucio.di...@googlemail.com on 11 Jul 2013 at 2:07