Support out-of-source builds #309

Open
kintel opened this Issue Mar 14, 2013 · 2 comments

Comments

Projects
None yet
3 participants
@kintel
Owner

kintel commented Mar 14, 2013

When testing multiple configurations, it sucks having to check out new source code for every time as it makes it hard to quickly test against e.g. debug vs. release and old versions of libraries.

Out of source build works fine, but things like finding MCAD doesn't as it assumes that the library path is relative to the executable. This would need to be configured compile-time instead. There are probably other issues, but this would be a start.

Next step could be to write scripts to compile against misc. permutations of library dependencies and build settings. It would be cool to have something which would be trivial to set up on the misc. linux build services, gcc compile farm, as well as personal infrastructure. Basically light-weight distributed continuous integration using whatever is out there of resources.

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

@kintel

This comment has been minimized.

Show comment Hide comment
@kintel

kintel Mar 14, 2013

Owner

This is related to #306

Owner

kintel commented Mar 14, 2013

This is related to #306

@donbright

This comment has been minimized.

Show comment Hide comment
@donbright

donbright Mar 14, 2013

Member

to fix the MCAD in out-of-source test build runs, i have been setting the OPENSCADPATH environment variable

i have worked on various parts of scripts to select build versions etc, but never actually got a polished 'finished' setup going.

i have always wondered if the VTK people would be willing to help us get test-uploads from the gcc farm to work with their CDash system... i have never asked though. i am not sure when they start charging money for access either.

we can auto-upload test results to sourceforge's website without to much trouble from the gcc compile farm, the main problem i have is how do you secure the ssh passphrase key? use 'screen' & detach? i know some people use keys without passphrases for this sort of thing but that doesnt feel good to me. but i know other people do things differently.

Member

donbright commented Mar 14, 2013

to fix the MCAD in out-of-source test build runs, i have been setting the OPENSCADPATH environment variable

i have worked on various parts of scripts to select build versions etc, but never actually got a polished 'finished' setup going.

i have always wondered if the VTK people would be willing to help us get test-uploads from the gcc farm to work with their CDash system... i have never asked though. i am not sure when they start charging money for access either.

we can auto-upload test results to sourceforge's website without to much trouble from the gcc compile farm, the main problem i have is how do you secure the ssh passphrase key? use 'screen' & detach? i know some people use keys without passphrases for this sort of thing but that doesnt feel good to me. but i know other people do things differently.

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