Closed Bug 1397457 Opened 2 years ago Closed 2 years ago

Update mach to download clang-format 5.0


(Firefox Build System :: Source Code Analysis, enhancement)

Not set


(firefox57 fixed)

Tracking Status
firefox57 --- fixed


(Reporter: Sylvestre, Assigned: Sylvestre)


(Blocks 2 open bugs)



(5 files)

We now need version 5.0 as version 4.0 doesn't have the option SplitEmptyFunction causing:
YAML:18:23: error: unknown key 'SplitEmptyFunction'
  SplitEmptyFunction: false
See Also: → 1324382
Attached file clang-format-5.0
Built with 5.0 stable release (should be released in the next few days) using:
cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release ../ && make clang-format
Attached file
(In reply to Sylvestre Ledru [:sylvestre] from comment #3)
> Andi, could you please build Windows & Mac for me please? merci :)
> Sources:
> 5.0_5.0.orig.tar.bz2
> 5.0_5.0.orig-clang.tar.bz2
> Thanks

Sure i can build the Mac version, asap, the Win version it will take a little bit.
Flags: needinfo?(bpostelnicu)
Attached file clang-format
This is the macOS version built with release options.
Attached file clang-format.exe
Release version for Windows, the binary is 32bit to keep consistency across different windows architectures.
Thanks. Note for the future me:
python add --visibility public /tmp/clang-format /tmp/clang-format.exe 
python ~/dev/mozilla/build-tooltool/ upload "file" --authentication-file=.tooltool-token-clang-5.0 --message "Bug 1397457 - Update mach to download clang-format 5.0"
Comment on attachment 8905274 [details]
Bug 1397457 - Update mach to download clang-format 5.0
Attachment #8905274 - Flags: review?(bpostelnicu) → review+
Pushed by
Update mach to download clang-format 5.0 r=andi
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla57
Assignee: nobody → sledru
Is this comment still relevant?

# This is a temporary work around until clang 5.0 has been released with our changes.
Bug 1397457 - Update mach to download clang-format 5.0 - Remove the deprecated comment r=trivial DONTBUILD
Indeed, thanks!
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.