Closed Bug 1176229 Opened 5 years ago Closed 5 years ago

Taskcluster script for building cctools for Mac cross-compilation

Categories

(Release Engineering :: General, defect)

defect
Not set

Tracking

(firefox42 fixed)

RESOLVED FIXED
Tracking Status
firefox42 --- fixed

People

(Reporter: ted, Assigned: ted)

References

Details

Attachments

(1 file)

We need to build cctools using crosstool-ng for our cross-compiled Mac builds. I have a script to do this, I want to run it in Taskcluster so we can easily produce new builds.
bug 1176229 - build script for building cctools with crosstool-ng. r?mshal
Attachment #8624849 - Flags: review?(mshal)
I successfully built cctools using crosstool-ng in taskcluster today:
https://tools.taskcluster.net/task-inspector/#exIKxLROQP2hzUAo89xdLA
Comment on attachment 8624849 [details]
MozReview Request: bug 1176229 - build script for building cctools with crosstool-ng. r?mshal

https://reviewboard.mozilla.org/r/11741/#review10287

::: testing/taskcluster/scripts/build-cctools.sh:48
(Diff revision 1)
> +cp -Rp $CT_LLVM_DIR $CT_SRC_DIR

Do we need to copy this into crosstools-ng or would just a symlink work?
Attachment #8624849 - Flags: review?(mshal) → review+
I don't actually know, I left that line from your original script! I can try it with a symlink.
https://reviewboard.mozilla.org/r/11739/#review10781

::: testing/taskcluster/scripts/build-cctools.sh:1
(Diff revision 1)
> +#!/bin/bash

You might consider putting this in a subdirectory.  Say, `testing/taskcluster/scripts/misc`?
url:        https://hg.mozilla.org/integration/mozilla-inbound/rev/5ff1786019f038a88372f21bd9cfafd623b75771
changeset:  5ff1786019f038a88372f21bd9cfafd623b75771
user:       Ted Mielczarek <ted@mielczarek.org>
date:       Fri Jun 19 09:45:42 2015 -0400
description:
bug 1176229 - build script for building cctools with crosstool-ng. r=mshal
(In reply to Dustin J. Mitchell [:dustin] from comment #5)
> You might consider putting this in a subdirectory.  Say,
> `testing/taskcluster/scripts/misc`?

Sold. I stuck my script from bug 1181722 in there too.
Component: General Automation → General
You need to log in before you can comment on or make changes to this bug.