Closed Bug 1347474 Opened 7 years ago Closed 7 years ago

Update mach to download clang-format 5.0 r297730

Categories

(Developer Infrastructure :: Source Code Analysis, enhancement)

enhancement
Not set
normal

Tracking

(firefox55 fixed)

RESOLVED FIXED
mozilla55
Tracking Status
firefox55 --- fixed

People

(Reporter: Sylvestre, Assigned: Sylvestre)

References

Details

Attachments

(1 file)

We landed a few changes upstream, let's update clang-format to r297730

Build done with llvm & clang svn:
$ mkdir build
$ cd build 
$ gmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release ../
$ make
I forgot two things:
* The declaration should be:
  parser.add_argument('-binary', default=os.path.expanduser("~") + '/.mozbuild/clang-format-5.0~svn297730',
in clang-format-diff
* import os is also needed then
Assignee: nobody → sledru
Comment on attachment 8847555 [details]
Bug 1347474 - Update mach to download clang-format 5.0 r297730

https://reviewboard.mozilla.org/r/120516/#review122514

thnak you!
Attachment #8847555 - Flags: review?(bpostelnicu) → review+
Pushed by sledru@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/a654b91969e4
Update mach to download clang-format 5.0 r297730 r=andi
This will also work on mac and win
https://hg.mozilla.org/mozilla-central/rev/a654b91969e4
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla55
Product: Core → Firefox Build System
Product: Firefox Build System → Developer Infrastructure
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: