Fwd: [rtems-bsp-builder] 2020-10-13 09:15:22: Profile(s): everything

Sebastian Huber sebastian.huber at embedded-brains.de
Thu Oct 15 12:15:23 UTC 2020

On 15/10/2020 08:45, Chris Johns wrote:

>>>>>>>> It uses an item cache in pickle format. If you start with an empty cache it
>>>>>>>> needs a couple of seconds. Once the cache is set up it loads in less than
>>>>>>>> half a
>>>>>>>> second.
>>>>>>> Oh nice, that functionality is part of this code? I had (incorrectly it
>>>>>>> seems)
>>>>>>> assumed the dependency checking was being done by waf.
>>>>>> The wscript uses one pickle file for the complete build specification. The
>>>>>> rtemsspec/item uses one pickle file per directory. This allows faster
>>>>>> updates if
>>>>>> you just modify just one file of the specification.
>>>>> Could the module be exported or published from rtems-central into
>>>>> rtems-tools to
>>>>> it can used? Placing it into rtemstoolkit/rtemsspec/items.py to rtems-tools and
>>>>> the tool kit can use it?
>>>> Yes, but it is written in Python 3.6.
>>> Ah ... but waf is python 2 and 3?
>> Yes, waf works with Python 2 and 3.
> ... and it can load the spec files?
We have two independent implementations. One is in the wscript. It is 
used only for the build system. This is Python 2 and 3. The other one is 
a Python 3 module with type annotations, etc. intended to be used by 
tools working with the specification.

More information about the devel mailing list