Talk:Scripted Compilation on Linux Debian/Ubuntu: Difference between revisions

Jump to navigation Jump to search
No edit summary
Line 205: Line 205:
<references/>
<references/>


==proposal for Version download_and_compile==
==Options and Parameters for a new Version download_and_compile==


Revamp options and parameters.
Revamp options and parameters.
Line 212: Line 212:


{| class=wikitable
{| class=wikitable
! O/P
! value
! value
! current meaning
! meaning
! notes
|-
! proposal
| colspan="2"  |'''Development Environment'''
{-  
|-
|rowspan=19|Option|z|
| -a: [y or n]  || apt-get update
{-
|-
|s
| -p: [y or n] || download install required development packages
{-
|-
|u
| colspan="2" |'''Obtain Sources'''
{-
|-
{-
| -d: [y or n] || download sources
{-
*Update the local repository from upstream
|h
*Update sources from local repository
{-
|-
|g
| -m || Create separate local repositories for each source version (new)
{-
|-
|e
| colspan="2" |'''Configuration'''
{-
|-
{-
| -r: [y or n] || configure or reconfigure
|i
|-
{-
| -w || Verbose makefile option
|x
|-
|v
|colspan="2"|'''Compile and Build'''
|w
|-
|c:
| -c: [y or n] || do the compilation and building
{-
|-
|p:
| -j: n|| Threads for the make command
{-
|-
|a:
| -O: n|| Optimization level for g++
{-
|-
|d:
| -g|| Compile with debug| append a d or -d to any component name listed in parameters and that one will be built with debug
{-
|-
|r:
|colspan="2"|'''Script Behavior'''
{-
|-
|j:
| -h|| display help
{-
|-
|O:
| -x ||Sets -x in the script for script debugging
{-
|-
|B:
| -v ||Sets -v in the script for script debugging
{-
|-
|R:
|colspan="2"|'''Deprecated'''
{-
|-e ||Build with new event model||Is this still needed?
|G:
|-
|-
| -u || Update Mode - supress reconfigure.
*This feature is deprecated because -r n will do the same thing.
|-
| -B: ||Branch
*This feature is deprecated because branch is not specified as a parameter
|-  
| -R: ||Revision
*This feature is not needed as a separate item Revision can be specified in the parameters
|-
|-G: || version no for osg
*This feature is not needed - version of osg can be specified in the parameters
|-
| -z || Stop after one module was added to allow easier debugging by preventing the script from writing too much -x and -v output.  The extra output made errors harder to identify. 
*More robust error handling and reporting in the script would make this unnecessary.
|}
|}
*Parameters tell what things will be included and which version to build
**all
**plib
**osg
**osg-version
**events
**openrti
**simgear
**flightgear or fgfs
**stable
**2.12.1 etc
**master
**next
[[User:Callahanp|Callahanp]] ([[User talk:Callahanp|talk]]) 04:46, 17 November 2013 (UTC)
982

edits

Navigation menu