config 1005 B

12345678910111213141516171819202122232425262728293031323334
  1. version: 21
  2. git_url: https://github.com/coreos/go-systemd.git
  3. git_hash: d3cd4ed1dbcf5835feba465b180436db54f20228
  4. filename: '[% project %]-[% c("version") %]-[% c("var/osname") %]-[% c("var/build_id") %].tar.gz'
  5. build: '[% c("projects/go/var/build_go_lib") %]'
  6. var:
  7. container:
  8. use_container: 1
  9. go_lib: github.com/coreos/go-systemd
  10. go_lib_install:
  11. - github.com/coreos/go-systemd/journal
  12. build_go_lib_pre: |
  13. [% IF c("var/linux") %]
  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. [% END -%]
  19. input_files:
  20. - project: container-image
  21. - name: go
  22. project: go
  23. - name: '[% c("var/compiler") %]'
  24. project: '[% c("var/compiler") %]'
  25. enable: '[% c("var/linux") %]'
  26. - name: binutils
  27. project: binutils
  28. enable: '[% c("var/linux") %]'