Hi,
a lot of the github stuff seem to be using a python based modular build/config environment. Is there some information how to use it?
Is there some kind of integration/comatibility with the XDE?
Thanks
Marcus
Modular Build System for the github stuff?
-
- XCore Addict
- Posts: 216
- Joined: Wed Feb 10, 2010 10:26 am
-
- Experienced Member
- Posts: 104
- Joined: Fri Dec 11, 2009 8:29 pm
The build system itself is not python based. It uses xmake, a port of GNU Make supplied with the xmos tools. Some details are available here:Interactive_Matter wrote:Hi,
a lot of the github stuff seem to be using a python based modular build/config environment. Is there some information how to use it?
Is there some kind of integration/comatibility with the XDE?
Thanks
Marcus
https://github.com/xcore/Community/wiki ... tory-usage
I'll change the xcommon readme to point to this as well.
It is compatible with the XDE. The xcore_template module (which you can adapt using the instructions in its README) includes .project and .cproject files which means you can import the module into the XDE.
Dave
-
- XCore Addict
- Posts: 216
- Joined: Wed Feb 10, 2010 10:26 am
Ok,
that was exactly the information I was looking for.
Integrating modules from different projects (=git repositories) is not supported yet?
Thanks
Marcus
that was exactly the information I was looking for.
Integrating modules from different projects (=git repositories) is not supported yet?
Thanks
Marcus
-
- XCore Addict
- Posts: 216
- Joined: Wed Feb 10, 2010 10:26 am
BTW: what is the python stuff for? Just trying to understand the multi module biuld ideadavelacey wrote: The build system itself is not python based. It uses xmake, a port of GNU Make supplied with the xmos tools. Some details are available here:
-
- Experienced Member
- Posts: 104
- Joined: Fri Dec 11, 2009 8:29 pm
It is supported. Just place the git repo cloned directories in the same working directory and you can refer to a module from one of the other repos in the USED_MODULES list of the app you are building.Interactive_Matter wrote:Ok,
that was exactly the information I was looking for.
Integrating modules from different projects (=git repositories) is not supported yet?
Thanks
Marcus
-
- Experienced Member
- Posts: 104
- Joined: Fri Dec 11, 2009 8:29 pm
Interactive_Matter wrote: BTW: what is the python stuff for? Just trying to understand the multi module biuld idea
The scripts in the testplan/ directory are to do with a formal way of writing specifications and testplans which is currently undocumented. To be honest they may get moved out of the xcommon repo while people consider different ways of doing validation.
The scripts in the util/ directory are rename_repository.py and check_repository.py. rename_repository.py is used to rename the xcore_template to a users new repository - see the xcore_template doc.
check_reposiory.py performs checks on a repository to check it is in a decent format for an XCore open source project repo. Currently it justs checks the copyright headers/license and optionally allows you to add them to your repo.
-
- XCore Addict
- Posts: 216
- Joined: Wed Feb 10, 2010 10:26 am
thanks for the explanation. I think I will need some time to understand it all
-
- Experienced Member
- Posts: 104
- Joined: Fri Dec 11, 2009 8:29 pm
No probs. I you have more problems feel free to ask and I can try and expand the docs a bit.Interactive_Matter wrote:thanks for the explanation. I think I will need some time to understand it all