config 1.1 KB

12345678910111213141516171819202122232425262728
  1. # vim: filetype=yaml sw=2
  2. filename: '[% project %]-[% c("version") %]-[% c("var/build_id") %].tar.gz'
  3. version: 10.7-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. URL: https://people.torproject.org/~gk/mirrors/sources/cctools.tar.gz
  23. sha256sum: e908fdebc2886ee5491ebfc7e7950af451b3c4e2439c2d7a923ed06ad05113e4
  24. - name: SDK
  25. URL: https://people.torproject.org/~mikeperry/mirrors/sources/MacOSX10.7.sdk.tar.gz
  26. sha256sum: da77bb0003fcca5ea8c4e8cb2da8828ded750c54afdcac29ec6f3b46ad5e3adf