Closed Bug 748208 Opened 12 years ago Closed 12 years ago

Upgrade clang to 155417

Categories

(Release Engineering :: General, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: ehsan.akhgari, Assigned: rail)

References

Details

Attachments

(5 files, 3 obsolete files)

      No description provided.
Assignee: nobody → ehsan
Status: NEW → ASSIGNED
Attachment #617757 - Flags: review?(rail)
My local tests with this revision of clang were successful.
We normally upgrade linux and os x in lock step. Ping me on IRC if you want help with the spec file or setting up the centos 5 vms.
Comment on attachment 617757 [details] [diff] [review]
Upgrade the compiler revision

Are we going to upgrade to the same revision clang for linux?
Attachment #617757 - Flags: review?(rail) → review+
Yes.  I'm trying to figure out how to use libtool for this, I'll hopefully have more to say soon.
I'm going to prep a patch for rpms
Assignee: ehsan → rail
I will start a build in a vm and ping this bug when it is done.
Attachment #620091 - Flags: review?(rail)
Attachment #620091 - Flags: review?(rail) → review+
Summary: Upgrade clang to 155417 on OS X → Upgrade clang to 155417
Comment on attachment 620115 [details] [diff] [review]
puppet change 2: remove the old packages

Review of attachment 620115 [details] [diff] [review]:
-----------------------------------------------------------------

::: modules/packages/manifests/devtools.pp
@@ +110,5 @@
>                  default: {
>                      package {
> +                        "clang_154343_moz0":
> +                            provider  => rpm,
> +                            ensure    => absent;

Can you also add clang-3.0 here? We still have it on some slaves?

Otherwise looks good
Comment on attachment 620112 [details] [diff] [review]
puppet change 1: install the new packages

lgtm, I'll check it in when we're ready to deploy.
Attachment #620112 - Flags: review?(rail) → review+
Comment on attachment 620133 [details] [diff] [review]
puppet change 2: remove the old packages (also remove clang-3.0)

Thanks a lot!
Attachment #620133 - Flags: review?(rail) → review+
The rpm build finished fine on linux64 and the resulting toolchain was able to build  a functional debug and nightly versions of firefox.

Starting a 32 bit build.
> Starting a 32 bit build.

32 bit is also OK. Both nightly and debug configurations. Ehsan tested on OS X, so we should be good to go.
\o/

I'l try to deploy it today/tomorrow.
Clean up source directories before checkout. Prevents patch failures.
Attachment #620305 - Flags: review?(respindola)
Attachment #620305 - Flags: review?(respindola) → review+
This is the same patch, but I moved "clang" ... ensure=> absent section to the top so it removes old package for both linux and linux64. I think, this is why we had disk space issues last time.
Attachment #620112 - Attachment is obsolete: true
Attachment #620389 - Flags: review?(respindola)
Attachment #620389 - Flags: review?(respindola) → review+
almost the same patch, just moved package names to the "all linux" section.
Attachment #620133 - Attachment is obsolete: true
Attachment #620401 - Flags: review?(respindola)
Attachment #620401 - Flags: review?(respindola) → review+
Comment on attachment 620389 [details] [diff] [review]
puppet change 1: install the new packages

http://hg.mozilla.org/build/puppet-manifests/rev/9585e09020c1
Attachment #620389 - Flags: checked-in+
Hmm, it turns out that puppet removes clang-3.0-r155417.moz0.dmg somehow... probably pkgdmg provider is too smart. Maybe it uses "clang" from http://hg.mozilla.org/build/braindump/file/a1605660d9d5/mac-related/clang_create_dmg.sh#l28
The new package is working. There are one or two oranges we should look at, but it is already better than the previous one.

It is ok to check in the the second puppet change.
Comment on attachment 620401 [details] [diff] [review]
puppet change 2: remove the old packages (also remove clang-3.0)

http://hg.mozilla.org/build/puppet-manifests/rev/e17e006d4b47
Attachment #620401 - Flags: checked-in+
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Product: mozilla.org → Release Engineering
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: