config 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738
  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 %]/MacOSX10.11.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. export MACOSX_DEPLOYMENT_TARGET=[% c("var/macosx_deployment_target") %]
  18. input_files:
  19. - project: container-image
  20. - name: clang
  21. project: clang
  22. - name: cctools
  23. project: cctools
  24. - name: cmake
  25. project: cmake
  26. - name: ninja
  27. project: ninja
  28. # Instructions on how to create the SDK tarball can be found at:
  29. # build/macosx/cross-mozconfig.common
  30. - name: SDK
  31. URL: https://people.torproject.org/~gk/mirrors/sources/MacOSX10.11.sdk.tar.bz2
  32. sha256sum: d11e410d757d023be66d2fe7eaa85a1d232da3ac04f177eff3d8b8275cd9ffca
  33. - name: clang-source
  34. project: clang-source
  35. - filename: compiler-rt-cross-compile.patch
  36. - filename: compiler-rt-no-codesign.patch