Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
compile [2020/02/19 09:05]
milhouse
compile [2020/04/10 14:15]
jernej [for current Github master]
Line 124: Line 124:
   PROJECT=Allwinner ARCH=arm DEVICE=H3 UBOOT_SYSTEM=orangepi-plus2e make image   PROJECT=Allwinner ARCH=arm DEVICE=H3 UBOOT_SYSTEM=orangepi-plus2e make image
   PROJECT=Allwinner ARCH=arm DEVICE=H3 UBOOT_SYSTEM=orangepi-plus make image   PROJECT=Allwinner ARCH=arm DEVICE=H3 UBOOT_SYSTEM=orangepi-plus make image
 +\\
 +Allwinner H5
 +  PROJECT=Allwinner ARCH=arm DEVICE=H5 make image
 +  PROJECT=Allwinner ARCH=arm DEVICE=H5 UBOOT_SYSTEM=orangepi-pc2 make image
 \\ \\
 Allwinner H6 Allwinner H6
Line 129: Line 133:
   PROJECT=Allwinner ARCH=arm DEVICE=H6 UBOOT_SYSTEM=beelink-gs1 make image   PROJECT=Allwinner ARCH=arm DEVICE=H6 UBOOT_SYSTEM=beelink-gs1 make image
   PROJECT=Allwinner ARCH=arm DEVICE=H6 UBOOT_SYSTEM=orangepi-3 make image   PROJECT=Allwinner ARCH=arm DEVICE=H6 UBOOT_SYSTEM=orangepi-3 make image
 +  PROJECT=Allwinner ARCH=arm DEVICE=H6 UBOOT_SYSTEM=orangepi-lite2 make image
   PROJECT=Allwinner ARCH=arm DEVICE=H6 UBOOT_SYSTEM=orangepi-one-plus make image   PROJECT=Allwinner ARCH=arm DEVICE=H6 UBOOT_SYSTEM=orangepi-one-plus make image
   PROJECT=Allwinner ARCH=arm DEVICE=H6 UBOOT_SYSTEM=pine-h64 make image   PROJECT=Allwinner ARCH=arm DEVICE=H6 UBOOT_SYSTEM=pine-h64 make image
Line 218: Line 223:
 ====== Additional compile options (master/​LibreELEC 10.0+) ====== ====== Additional compile options (master/​LibreELEC 10.0+) ======
  
-The following options can be used to alter the build experience:+The following options can be used to customise ​the build experience:
  
-''​THREADCOUNT=[#|#%]'' ​Default: ​100%Maximum number of packages to build concurrently. On an 8-core system, ''​50%''​ would build up to 4 packages at a time.+^ Name             ^ Values ​    ^ Default ​   ^ Description ^ 
 +|''​THREADCOUNT'' ​   ​|''#'',''​#​%'' ​  | ''​100%''​ |Maximum number of packages to build concurrently. On an 8-core system, ''​50%''​ would build up to 4 packages at a time. 
 +|''​ONELOG'' ​        ​|''​yes'',''​no''​ | ''​no'' ​  |If ''​yes'',​ packages will not create individual logs in ''​${THREAD_CONTROL}/​logs''​. If ''​THREADCOUNT''​ is 1 the default becomes ''​ONELOG=yes''​ in which case use ''​ONELOG=no''​ to ensure individual logs are created for each package. | 
 +|''​LOGCOMBINE'' ​    ​|''​always'',''​never'',''​fail''​ | ''​always'' ​  ​|Determine under what circumstances package logs are written to ''​stdout''​. Using ''​never''​ and ''​fail''​ can slightly reduce IO. | 
 +|''​MTBOOKENDS'' ​    ​|''​yes'',''​no''​ | ''​yes'' ​ |Adds ''<<<''​ and ''>>>''​ tags to the combined log output (to facilitate searching). | 
 +|''​DISABLE_COLORS''​ |''​yes'',''​no''​ | ''​no'' ​  ​|Control whether build system output is colored or not. | 
 +|''​MTCOLORS'' ​      ​|''​always'',''​never'',''​auto''​ | ''​auto'' ​  |If ''​DISABLE_COLORS=yes'',​ this option controls how ''​scripts/​pkgbuilder.py''​ progress and status information is colored. ''​auto''​ will disable colors when output is being redirected to a file (ie. not a terminal). | 
 +|''​MTVERBOSE'' ​     |''​yes'',''​no''​ | ''​no'' ​  ​|Output additional job state information to ''​stderr''​ during the build. | 
 +|''​MTPROGRESS'' ​    ​|''​yes'',''​no''​ | ''​no'' ​  ​|Output real-time load, memory and in-progress job information to ''​stderr''​ at 1-second intervals | 
 +|''​MTDEBUG'' ​       |''​yes'',''​no''​ | ''​no'' ​  ​|Output detailed debug information to ''​${THREAD_CONTROL}/​debug.log''​ | 
 +|''​MTADDONBUILD'' ​  ​|''​yes'',''​no''​ | ''​no'' ​  |If ''​no'',​ the build will end after the first failure. When building add-ons, we typically ignore individual package failures and continue building until all packages have been built (or failed). | 
 +|''​MTIMMEDIATE'' ​   |''​yes'',''​no''​ | ''​no'' ​  |When ''​MTADDONBUILD=no''​ and a package fails, the build can finish after all currently building packages have completed, or it can terminate those packages immediately. Allowing packages that are currently building to finish building can save time when restarting the build. | 
 +|''​MTINTERVAL'' ​    ​|''#'' ​         | ''​60'' ​  ​|System load information is captured at regular intervals in ''​${THREAD_CONTROL}/​loadstats''​. | 
 +|''​AUTOREMOVE'' ​    ​|''​yes'',''​no''​ | ''​no'' ​  ​|Remove source code directories during the build once the source code directory is not required. |
  
-''​ONELOG=[yes|no]''​ Default: ''​no''​ (unless ''​THREADCOUNT''​ is 1). If ''​yes'',​ packages will not create individual logs. If ''​THREADCOUNT''​ is 1, use ''​ONELOG=no''​ to ensure individual logs are created for each package. +Options ​can be specified on the command lineor added to ''​${HOME}/.libreelec/​options''​. ​For exampleadding ​the following ​to ''​${HOME}/​.libreelec/​options''​ would give a fairly clean and comprehensive output by default, while still allowing command line overrides:
- +
-''​LOGCOMBINE=[always|never|fail]''​ Default ''​always''​. Determine under what circumstances package logs are written to ''​stdout''​. Using ''​never''​ and ''​fail'' ​can slightly reduce IO. +
- +
-''​MTBOOKENDS=[yes|no]''​ Default: ''​yes''​ +
- +
-''​DISABLE_COLORS=[yes|no]''​ Default ''​no''​. Control whether build system output is colored or not. +
- +
-''​MTCOLORS=[always,​never,​auto]''​ Default: ''​auto''​. If ''​DISABLE_COLORS=yes'',​ this option controls how pkgbuilder.py progress and status information is colored. ''​auto''​ will disable colors when output is being redirected to a file (ie. not a terminal). +
- +
-''​MTVERBOSE=[yes|no]''​ Default: ''​no''​. Output additional job state information to ''​stderr''​ during ​the build. +
- +
-''​MTPROGRESS=[yes|no]''​ Default: ''​no''​ Output real-time loadmemory and in-progress job information at 1-second intervals +
- +
-''​MTDEBUG=[yes|no]''​ Default: ''​no''​. Output detailed debug information ​to ''​${THREAD_CONTROL}/debug.log''​ +
- +
-''​MTADDONBUILD=[yes|no]''​ Default: ''​no''​. ​If ''​no''​, the build will end after the first failure. When building add-ons, we typically ignore individual package failures and continue building until all packages have been built (or failed). +
- +
-''​MTIMMEDIATE=[yes|no]''​ Default: ''​no''​ When ''​MTADDONBUILD=no''​ and a package fails, the build can finish after all currently building packages have completed, or it can terminate those packages immediately. Allowing packages that are currently building to finish building can save time when restarting the build. +
- +
-''​MTINTERVAL=[#​]''​ Default: ''​60''​. System load information is captured at regular intervals in ''​${THREAD_CONTROL}/​loadstats''​. +
- +
-''​AUTOREMOVE=[yes|no]''​ Default: ''​no''​. Remove source code directories during the build once the source code directory is not required. +
- +
-These options can be specified on the command line, or added to ''​${HOME}/​.libreelec/​options''​. The following ​would be one suggestion:+
  
   LOGCOMBINE=${LOGCOMBINE:​-never}   LOGCOMBINE=${LOGCOMBINE:​-never}