mirror of
https://github.com/namecoin/ncdns-repro
synced 2024-11-13 19:12:01 +00:00
740bea972f
This aligns us better with upstream Tor conventions
36 lines
1.0 KiB
Plaintext
36 lines
1.0 KiB
Plaintext
version: '[% c("abbrev") %]'
|
|
git_url: https://github.com/hlandau/buildinfo.git
|
|
git_hash: 337a29b5499734e584d4630ce535af64c5fe7813
|
|
filename: '[% project %]-[% c("version") %]-[% c("var/osname") %]-[% c("var/build_id") %].tar.gz'
|
|
|
|
build: '[% c("projects/go/var/build_go_lib") %]'
|
|
|
|
var:
|
|
container:
|
|
use_container: 1
|
|
go_lib: github.com/hlandau/buildinfo
|
|
go_lib_deps:
|
|
- goeasyconfig
|
|
build_go_lib_pre: |
|
|
[% IF c("var/linux") %]
|
|
[% pc(c('var/compiler'), 'var/setup', { compiler_tarfile => c('input_files_by_name/' _ c('var/compiler')) }) %]
|
|
|
|
tar -C /var/tmp/dist -xf $rootdir/[% c('input_files_by_name/binutils') %]
|
|
export PATH="/var/tmp/dist/binutils/bin:$PATH"
|
|
|
|
export CGO_ENABLED=1
|
|
[% END -%]
|
|
|
|
input_files:
|
|
- project: container-image
|
|
- name: go
|
|
project: go
|
|
- name: '[% c("var/compiler") %]'
|
|
project: '[% c("var/compiler") %]'
|
|
enable: '[% c("var/linux") %]'
|
|
- name: binutils
|
|
project: binutils
|
|
enable: '[% c("var/linux") %]'
|
|
- name: goeasyconfig
|
|
project: goeasyconfig
|