Open GoogleCodeExporter opened 9 years ago
chromium provides a local repo:
set GYP_DEFINES=clang=1
set LLVM_REPO_URL=svn://svn.chromium.org/llvm-project
call python tools\clang\scripts\update.py
Original comment by fbarch...@google.com
on 11 Mar 2015 at 4:52
needed to uninstall mingw, and then tools\clang\scripts\update.py works.
But the build fails
[61/67] CXX obj\util\psnr.psnr.obj
..\..\util\psnr.cc(210,22) : error(clang): redefinition of '__cpuid'
static __inline void __cpuid(int cpu_info[4], int info_type) {
^
c:\src\libyuv3\trunk\third_party\llvm-build\Release+Asserts\bin\..\lib\clang\3.7
.0\include\intrin.h(908,1) : note(clang): previous definition is here
__cpuid(int __info[4], int __level) {
^
1 error generated.
Original comment by fbarch...@google.com
on 12 Mar 2015 at 9:41
Once buildable there is a performance difference
Visual C
852 tests from 1 test case ran. (855394 ms total)
ClangCL
847 tests from 1 test case ran. (2806132 ms total)
Original comment by fbarch...@chromium.org
on 15 Mar 2015 at 11:30
Visual C with assembly disabled
852 tests from 1 test case ran. (2700391 ms total)
Original comment by fbarch...@chromium.org
on 17 Mar 2015 at 11:19
Original issue reported on code.google.com by
fbarch...@google.com
on 10 Mar 2015 at 11:29