config 906 B

12345678910111213141516171819202122232425262728293031
  1. # vim: filetype=yaml sw=2
  2. version: 21
  3. git_url: https://github.com/coreos/go-systemd.git
  4. git_hash: d3cd4ed1dbcf5835feba465b180436db54f20228
  5. filename: '[% project %]-[% c("version") %]-[% c("var/osname") %]-[% c("var/build_id") %].tar.gz'
  6. container:
  7. use_container: 1
  8. build: '[% c("projects/go/var/build_go_lib") %]'
  9. var:
  10. go_lib: github.com/coreos/go-systemd
  11. go_lib_install:
  12. - github.com/coreos/go-systemd/journal
  13. build_go_lib_pre: |
  14. [% pc(c('var/compiler'), 'var/setup', { compiler_tarfile => c('input_files_by_name/' _ c('var/compiler')) }) %]
  15. tar -C /var/tmp/dist -xf $rootdir/[% c('input_files_by_name/binutils') %]
  16. export PATH="/var/tmp/dist/binutils/bin:$PATH"
  17. export CGO_ENABLED=1
  18. input_files:
  19. - project: container-image
  20. - name: go
  21. project: go
  22. - name: '[% c("var/compiler") %]'
  23. project: '[% c("var/compiler") %]'
  24. - name: binutils
  25. project: binutils