Closed
Bug 656806
Opened 13 years ago
Closed 13 years ago
Install a clang-3.0 snapshot on Linux, OSX build machines
Categories
(Release Engineering :: General, defect, P2)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: ehsan.akhgari, Assigned: catlee)
Details
Attachments
(3 files, 3 obsolete files)
1.62 KB,
patch
|
Details | Diff | Splinter Review | |
1.77 KB,
patch
|
rail
:
review+
catlee
:
checked-in+
|
Details | Diff | Splinter Review |
3.70 KB,
patch
|
dustin
:
review+
catlee
:
checked-in+
|
Details | Diff | Splinter Review |
We need clang builds on Linux as well. Rafael told me that we need to use a clang 3.0 snapshot in order to compile Firefox on Linux. I'm sure he can point us to the correct snapshot. I'm not sure if I need to file another bug in order to set up the clang builds or if this bug can cover both tasks.
Assignee | ||
Comment 1•13 years ago
|
||
Need instructions for which snapshot to use, where to get it, how to build it, etc.
Assignee: nobody → respindola
I can give instructions now, but the existing bots on OS X already found some issues I am working on. Would you mind if I fixed those first? I should have something this week, with that we can deploy a single version on all platforms.
The following should do it. Is it too much work to also install this on OS X 10.5 and 10.6? I have fixed the initial issues that were found and it would be really nice to try the same version on the 3 platforms. If this is automated, I would be happy to write the CLs if you point me to the documentation. ------------------- REPO_REV=131621 svn co -r $REPO_REV http://llvm.org/svn/llvm-project/llvm/trunk svn co -r $REPO_REV http://llvm.org/svn/llvm-project/cfe/trunk cd llvm/tools/clang ln -s ../../clang cd ../../.. mkdir build mkdir inst DIR=$(pwd) cd build ../llvm/configure --enable-optimized --prefix="$DIR/inst" make -j8 make install ------------ Thanks!
Assignee | ||
Comment 4•13 years ago
|
||
hopefully I can get to this tomorrow.
Assignee: respindola → catlee
Priority: -- → P2
Assignee | ||
Comment 5•13 years ago
|
||
/tools/clang-3.0 has this build on the following slaves: linux64-ix-slave02, moz2-linux-slave10, moz2-darwin10-slave02, moz2-darwin9-slave68 I don't think I'll have time to package this up into dmgs/rpms, test and deploy it. Back into the pool!
Assignee: catlee → nobody
Assignee | ||
Comment 6•13 years ago
|
||
it's important to include svn revision in the package version somewhere, since I imagine we'll be updating this in the future.
Assignee | ||
Comment 7•13 years ago
|
||
dmgs for mac are on staging-puppet:/N/staging/darwin{9,10}-i386/build/DMGs
Assignee | ||
Comment 8•13 years ago
|
||
works on darwin9,darwin10
Attachment #534089 -
Attachment is obsolete: true
Assignee | ||
Updated•13 years ago
|
Assignee: nobody → catlee
Summary: Install a clang-3.0 snapshot on Linux build machines → Install a clang-3.0 snapshot on Linux, OSX build machines
Assignee | ||
Comment 9•13 years ago
|
||
Attachment #536423 -
Flags: review?(dustin)
Assignee | ||
Comment 10•13 years ago
|
||
Attachment #536424 -
Flags: review?(rail)
Comment 11•13 years ago
|
||
Comment on attachment 536424 [details] [diff] [review] rpm spec for clang >+%define toplevel_dir clang-3.0-r132336 What about %define toplevel_dir %{name}-%{version}-%{release} >+%define install_dir /tools/%{toplevel_dir} Do you really want to install it to /tools/%{toplevel_dir}? I think, that /tools/%{name}-%{version} would be cleaner and you won't need to update symlinks in the future after every revision update. >+%define REPO_REV 132336 Move it to the top and use for Revision: Revision: r%{REPO_REV} Otherwise good.
Attachment #536424 -
Flags: review?(rail) → review-
Assignee | ||
Updated•13 years ago
|
Attachment #536423 -
Flags: review?(dustin)
Assignee | ||
Comment 12•13 years ago
|
||
Attachment #536424 -
Attachment is obsolete: true
Attachment #536590 -
Flags: review?(rail)
Updated•13 years ago
|
Attachment #536590 -
Flags: review?(rail) → review+
Assignee | ||
Comment 13•13 years ago
|
||
Attachment #536423 -
Attachment is obsolete: true
Attachment #536622 -
Flags: review?(dustin)
Comment 14•13 years ago
|
||
Comment on attachment 536622 [details] [diff] [review] clang snapshot puppet manifests I don't think you meant to include this hunk: +node "linux64-slave02.build.sjc1.mozilla.com" inherits "centos5-x86_64-build" { + include staging-buildslave, vm +} since the box is both dead and mis-named :( Without that hunk, r+
Attachment #536622 -
Flags: review?(dustin) → review+
Assignee | ||
Updated•13 years ago
|
Attachment #536590 -
Flags: checked-in+
Assignee | ||
Updated•13 years ago
|
Attachment #536622 -
Flags: checked-in+
Assignee | ||
Comment 15•13 years ago
|
||
This is now being deployed to the build machines. It is available at /tools/clang-3.0/bin/clang
Assignee | ||
Updated•13 years ago
|
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Updated•11 years ago
|
Product: mozilla.org → Release Engineering
You need to log in
before you can comment on or make changes to this bug.
Description
•