Unverified Commit 966c55d7 authored by boklm's avatar boklm
Browse files

Merge remote-tracking branch 'gk/bug_9711_v2'

parents ef90f3c7 94b31b18
#!/bin/bash
[% c("var/set_default_env") -%]
distdir=/var/tmp/dist/[% project %]
mkdir -p /var/tmp/dist
tar -C /var/tmp/dist -xf [% c('input_files_by_name/llvm') %]
export PATH="/var/tmp/dist/llvm/bin:$PATH"
mkdir -p /var/tmp/build
tar -C /var/tmp/build -xf [% project %]-[% c('version') %].tar.gz
cd /var/tmp/build/[% project %]-[% c('version') %]/cctools
export CC=clang
export CXX=clang++
./autogen.sh
./configure --prefix=$distdir --target=x86_64-apple-darwin11 --with-llvm-config=llvm-config
export LDFLAGS=-lpthread
make -j[% c("buildconf/num_procs") %] install
cd /var/tmp/dist
[% c('tar', {
tar_src => [ project ],
tar_args => '-czf ' _ dest_dir _ '/' _ c('filename'),
}) %]
# vim: filetype=yaml sw=2
filename: '[% project %]-[% c("version") %]-[% c("var/build_id") %].tar.gz'
version: '[% c("abbrev") %]'
# This can be found in
# browser/config/tooltool-manifest/macosx64/clang.manifest
git_hash: 8e9c3f2506b51cf56725eaa60b6e90e240e249ca
git_url: https://github.com/tpoechtrager/cctools-port
var:
container:
use_container: 1
input_files:
- project: container-image
- name: llvm
project: llvm
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment