config.ini.example 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. # This is a reference for the cbuild configuration file.
  2. # Every value specified here is the system's default.
  3. # options related to your host apk
  4. [apk]
  5. # the apk command to use
  6. # must not be a static binary
  7. # also overridden by environment variable CBUILD_APK_PATH
  8. command = apk
  9. # options related to building packages
  10. [build]
  11. # whether -dbg packages will be generated
  12. build_dbg = yes
  13. # default build root path (absolute or relative to cports)
  14. build_root = bldroot
  15. # default builddir path inside bldroot (absolute or relative to cports)
  16. # will be the default inside bldroot if empty (no separate directory)
  17. build_dir =
  18. # whether ccache will be used in the build
  19. ccache = no
  20. # default path where all caches are stored (absolute or relative to cports)
  21. cbuild_cache_path = cbuild_cache
  22. # whether to run check phase
  23. check = yes
  24. # whether checks are allowed to fail (by default they will abort build)
  25. check_fail = no
  26. # number of jobs to use when building; all available threads by default
  27. jobs = 0
  28. # number of linker threads to use; jobs by default
  29. link_threads = 0
  30. # default local repository path for packages (absolute or relative to cports)
  31. repository = packages
  32. # packages will be staged to this directory (before being migrated)
  33. stage_repository = pkgstage
  34. # alternative repository path, will be used instead of repository but deps
  35. # will be found in both the main repository and the alternative repo path
  36. #alt_repository = testpkgs
  37. # default source distfiles path (absolute or relative to cports)
  38. sources = sources
  39. # if set to yes, you will always have to explicitly unstage the repos
  40. keep_stage = no
  41. # whether to attempt using remote repositories (if available)
  42. remote = yes
  43. # flags passed to tools
  44. [flags]
  45. # default user C compiler flags
  46. CFLAGS = -O2
  47. # default user C++ compiler flags
  48. CXXFLAGS = -O2
  49. # default user Fortran compiler flags
  50. FFLAGS = -O2
  51. # default user linker flags
  52. LDFLAGS =
  53. # options related to signing packages
  54. [signing]
  55. # signing key name (in etc/keys) or path (absolute or relative to cports)
  56. key = your_private_key.rsa