Using comp on local repo

More
25 Jul 2013 02:03 #37001 by mariusl
Hi All,
I have several local repo's of the dev system in order to test various things. My question is if I am in a specific repo and I have set the rip-environment for that repo and now in the same terminal I want to use comp to compile a component, where does it place that component?
I need it to stay with that repo somehow and not influence the main installation.

Regards
Marius


www.bluearccnc.com

Please Log in or Create an account to join the conversation.

More
25 Jul 2013 14:48 #37019 by ArcEye
Replied by ArcEye on topic Using comp on local repo
Hi

So long as you are in the environment, realtime to ...build/rtlib and userspace still goes to /usr/bin, which has cause unexpected problems for me before until I realised what was happening

regards

Please Log in or Create an account to join the conversation.

More
25 Jul 2013 15:06 #37020 by mariusl
Replied by mariusl on topic Using comp on local repo
That's what I thought. So in order not to screw up your release stuff, it is better to work on a separate machine. One for production stuff and another for development.

Regards
Marius


www.bluearccnc.com

Please Log in or Create an account to join the conversation.

More
25 Jul 2013 16:58 #37023 by ArcEye
Replied by ArcEye on topic Using comp on local repo
Not necessarily, albeit that would be ideal.

The realtime components will stay local to the RIP, it is only userspace ones that get put in /usr/bin if you use comp --install xxxx.comp.

You could simply use comp --compile xxxx.comp then copy to ../build/bin.
The rip-environment script adds that to $PATH already, so it will be found and stay local

Assuming you compile in the root of the RIP
# script compile
# usage compile componentname (no extension)
# !/bin/bash

comp --compile --userspace $1.comp
mv $1 bin/$1

regards

Please Log in or Create an account to join the conversation.

More
25 Jul 2013 17:40 #37024 by mariusl
Replied by mariusl on topic Using comp on local repo
Ahh now that makes some sense. I have long time forgotten to use scripts. I told you before it makes me feel stupid and I get upset that I cant remember all the stuff. But then again I also enjoy learning.
Thanks for your kind help I always appreciate it.

Regards
Marius


www.bluearccnc.com

Please Log in or Create an account to join the conversation.

Time to create page: 0.069 seconds
Powered by Kunena Forum