Taskcluster script for building cctools for Mac cross-compilation

RESOLVED FIXED

Status

Release Engineering
General Automation
RESOLVED FIXED
2 years ago
2 years ago

People

(Reporter: ted, Assigned: ted)

Tracking

unspecified
Dependency tree / graph

Firefox Tracking Flags

(firefox42 fixed)

Details

MozReview Requests

Submitter Diff Changes Open Issues Last Updated
Loading...
Error loading review requests:

Attachments

(1 attachment)

(Assignee)

Description

2 years ago
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.
(Assignee)

Comment 1

2 years ago
Created attachment 8624849 [details]
MozReview Request: bug 1176229 - build script for building cctools with crosstool-ng. r?mshal

bug 1176229 - build script for building cctools with crosstool-ng. r?mshal
Attachment #8624849 - Flags: review?(mshal)
(Assignee)

Comment 2

2 years ago
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+
(Assignee)

Comment 4

2 years ago
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`?
(Assignee)

Comment 6

2 years ago
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
(Assignee)

Comment 7

2 years ago
(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.
https://hg.mozilla.org/mozilla-central/rev/5ff1786019f0
Status: NEW → RESOLVED
Last Resolved: 2 years ago
status-firefox42: --- → fixed
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.