config 941 B

123456789101112131415161718192021222324252627
  1. # vim: filetype=yaml sw=2
  2. filename: '[% project %]-[% c("version") %]-[% c("var/build_id") %].tar.gz'
  3. version: 10.11-1
  4. var:
  5. container:
  6. use_container: 1
  7. setup: |
  8. mkdir -p /var/tmp/dist
  9. tar -C /var/tmp/dist -xf $rootdir/[% c("compiler_tarfile") %]
  10. export sysrootdir=/var/tmp/dist/[% project %]/SDK/
  11. export clangdir=/var/tmp/dist/[% project %]/clang
  12. export cctoolsdir=/var/tmp/dist/[% project %]/cctools/bin
  13. export PATH="$clangdir/bin:$cctoolsdir:$PATH"
  14. export LD_LIBRARY_PATH=/var/tmp/dist/[% project %]/clang/lib
  15. export CC="$clangdir/bin/clang [% c('var/FLAGS') %]"
  16. export LDFLAGS="[% c('var/LDFLAGS') %]"
  17. input_files:
  18. - project: container-image
  19. - name: llvm
  20. project: llvm
  21. - name: cctools
  22. project: cctools
  23. - name: SDK
  24. URL: https://people.torproject.org/~gk/mirrors/sources/MacOSX10.11.sdk.tar.bz2
  25. sha256sum: d11e410d757d023be66d2fe7eaa85a1d232da3ac04f177eff3d8b8275cd9ffca