Mike Hommey
75c5611cb1
Bug 1481989 - Copy 32-bits libraries from gcc to clang. r=froydnj
...
We already copy the 64-bits libraries, but don't copy the 32-bits
libraries, which prevents building for linux32 by default.
Incidentally, this also makes the clang build system build the 32-bits
compiler-rt libraries, allowing e.g. 32-bits PGO.
2018-08-10 05:54:07 +09:00
Daniel Varga
ea0989b193
Backed out 3 changesets (bug 1480631) for failure at /home/cltbld/workspace/build/tests/talos/talos/run_tests.py
...
Backed out changeset ed7dba433629 (bug 1480631)
Backed out changeset dd64a5e6d4df (bug 1480631)
Backed out changeset 910a805c960d (bug 1480631)
2018-08-09 01:46:40 +03:00
Mike Hommey
20db58ec38
Fix up clang-tidy after bug 1480631. r=bustage
2018-08-09 06:37:11 +09:00
Mike Hommey
dfeaa4752e
Bug 1480631 - Copy 32-bits libraries from gcc to clang. r=froydnj
...
We already copy the 64-bits libraries, but don't copy the 32-bits
libraries, which prevents building for linux32 by default.
Incidentally, this also makes the clang build system build the 32-bits
compiler-rt libraries, allowing e.g. 32-bits PGO.
2018-08-09 06:08:12 +09:00
Christian Holler
924b3c7658
Bug 1426176 - Add symbols file for Clang ASan runtime on Windows. r=ted
...
MozReview-Commit-ID: 4P3mwZNP8cY
2018-07-26 11:16:50 +02:00
Cosmin Sabou
5e57ad14db
Backed out changeset df39b3369446 (bug 1426176) for causing toolchains clang bustages. CLOSED TREE
2018-07-31 00:48:47 +03:00
Christian Holler
0010c130f3
Bug 1426176 - Add symbols file for Clang ASan runtime on Windows. r=ted
...
MozReview-Commit-ID: 4P3mwZNP8cY
2018-07-26 11:16:50 +02:00
Tom Ritter
3a08e75d1e
Bug 1467897 Allow local runs of build-clang by providing a --base-dir option r=glandium
...
MozReview-Commit-ID: Gd9W1DV5g1x
2018-06-05 14:01:59 -05:00
Nathan Froyd
5a9b972ebc
Bug 1470449 - silence some warnings during clang bootstrap; r=chmanchester
...
This change makes interactive usage slightly nicer and logs somewhat shorter.
2018-06-26 12:02:36 -04:00
Sylvestre Ledru
b2210f87b1
bug 1463425 - Fix flake8/pep8 issue by hand in build/ r=gps
...
MozReview-Commit-ID: AZdcEWyVV6e
2018-05-21 23:58:19 +02:00
Tom Ritter
b1612a4df5
Bug 1458897 Fix svn revert in build-clang so one can re-run it successfully r=glandium
...
svn revert requires a path, and does not take a revision. This isn't an
issue on build machines because we do a fresh checkout every time.
But if you're trying to run build-clang locally, with existing checkouts,
it will:
1) successfully svn update
2) run svn revert, saying "Skipped <rev>"
(except you don't see it because of -q)
3) svn revert returns a successfull eror code
4) patch fails because the file was never reverted and it attempts
to re-apply the patch
Also I think the revert command needs to come first.
MozReview-Commit-ID: 4OfrJNZwJNU
2018-05-03 09:14:12 -05:00
Ryan VanderMeulen
39911debab
Bug 1424281 - Use Visual Studio 2017 15.6.0 for Windows builds. r=froydnj
2018-03-12 19:24:44 -04:00
Jesse Schwartzentruber
855f59b761
Bug 1425406 - Add a linux64 clang 6 (pre) toolchain with the macosx64 native sanitizer dylibs. r=froydnj
...
MozReview-Commit-ID: Ig9xpBDcjNu
2018-02-08 16:58:12 -05:00
Nathan Froyd
246d18bd6f
Bug 1435502 - add AArch64 support to clang builds; r=chmanchester
2018-02-05 14:25:43 -05:00
Andi-Bogdan Postelnicu
4dc16add91
Bug 1429015 - Add clang-format-diff to the clang-tidy build generated by toolchains. r=sylvestre
...
MozReview-Commit-ID: FjJqef78wa3
2018-01-09 13:27:39 +02:00
David Major
56e77b52b9
Bug 1421404: Add lld to the build-clang task. r=glandium
2017-12-01 11:12:07 -05:00
Marco Castelluccio
4776d5d851
Bug 1415568 - Support applying patches to Windows clang. r=froydnj
2017-11-08 17:23:12 +01:00
Gregory Szorc
40d0844f17
Bug 1414558 - Build Clang toolchain on a Docker volume; r=froydnj
...
Before, the build root was not in a Docker cache or volume. With
current Docker works, that meant AUFS. We know AUFS is slow under
I/O load and can cause random failures due to missing data after
writes.
This commit changes the build root to a known Docker volume, which
will be backed by EXT4 and won't have the problems of AUFS.
MozReview-Commit-ID: 6WOH0yednAv
2017-11-06 11:45:17 -08:00
David Major
57a32db44f
Bug 1412952 - Build clang-cl itself with VS2017. r=froydnj
2017-11-03 12:29:58 -04:00
Sylvestre Ledru
69d68b3c4f
Bug 1406650 - Make build/*.py and a few other files flake8 compatible and add them to the list of files to check r=chmanchester
...
MozReview-Commit-ID: icmFJtbWdN
2017-10-07 16:45:22 +02:00
Sylvestre Ledru
70ed5b7f7c
Bug 1406310 - Also ship clang-format in the clang-tidy build job r=glandium
...
MozReview-Commit-ID: 4C992sYlMo2
2017-10-06 09:50:48 +02:00
Boris Zbarsky
6dab2eb63c
Bug 1406140 followup. Fix the formatting so the CLOSED TREE is less red.
...
MozReview-Commit-ID: LAskse3XmLN
2017-10-06 09:54:31 -04:00
Sylvestre Ledru
bfef6b987a
Bug 1406140 - build-clang.py: flake8 consitency r=andi
...
MozReview-Commit-ID: 6w1QesvVyyc
2017-10-05 21:03:19 +02:00
Sylvestre Ledru
711d48de35
Bug 1406140 - Simplify a bit the code to have a single call to build_tar_package r=andi
...
MozReview-Commit-ID: 9yGw8bJhQwR
2017-10-05 21:00:25 +02:00
Andi-Bogdan Postelnicu
3506ac4a96
Bug 1405602 - Add clang-apply-replacements to the clang-tidy build generated by toolchains. r=ehsan
...
MozReview-Commit-ID: 1BT2ukzLoC3
2017-10-04 18:27:02 +03:00
Ting-Yu Chou
b26dd7ab45
Bug 1385743 - Use copy_tree() to copy directory recursively instead. r=Ehsan
...
shutil.copy2() will fail if the destination directory doesn't exist.
Switch to copy_tree() instead so we don't need to worry about the
error cases of copy2() and copytree().
MozReview-Commit-ID: 3kHfgL57KfX
2017-08-17 10:36:15 +08:00
Mike Hommey
f55cec3f74
Bug 1386588 - Always print out the commands run by the clang build job. r=gps,a=KWierso
...
Not doing so makes debugging harder, for no added value.
2017-08-03 08:14:02 +09:00
Ehsan Akhgari
a4864c05d9
Bug 1336149 - Clean up the patches section in build-clang.py config files; r=froydnj
...
These config files don't need to declare patches for other platforms.
Therefore, this patch makes "patches" a simple array of patches to be
applied.
2017-02-03 10:21:25 -05:00
Ehsan Akhgari
777a5c5252
Bug 1331957 - Part 11: Specify the path to the cross-compiler toolchain libtool for OS X static analysis builds; r=froydnj
2017-02-03 10:19:44 -05:00
Ehsan Akhgari
6e00601f68
Bug 1331957 - Part 9: Upgrade cctools used for building clang on OS X for ld 264.3.102; r=froydnj
2017-02-03 10:19:33 -05:00
Ehsan Akhgari
9e439365dc
Bug 1331957 - Part 4: Allow specifying a custom assembler and pass the right flags to it when cross-compiling; r=froydnj
2017-02-03 10:19:06 -05:00
Iris Hsiao
1f83a308ef
Backed out 14 changesets (bug 1331957, bug 1336149) for OS X 10.7 debug static analysis build bustage
...
Backed out changeset a01bead75258 (bug 1336149)
Backed out changeset 9a64d3102f6b (bug 1331957)
Backed out changeset a10f7732a754 (bug 1331957)
Backed out changeset 82c98214febe (bug 1331957)
Backed out changeset f74c7a543525 (bug 1331957)
Backed out changeset 6631f3582920 (bug 1331957)
Backed out changeset ccefeba51cf6 (bug 1331957)
Backed out changeset a84b26a07369 (bug 1331957)
Backed out changeset fc0b3a0ad1e5 (bug 1331957)
Backed out changeset bbcae89fd7c2 (bug 1331957)
Backed out changeset ffd70d960b9f (bug 1331957)
Backed out changeset a53ecc295eae (bug 1331957)
Backed out changeset d44a0be29686 (bug 1331957)
Backed out changeset a01a373da6a8 (bug 1331957)
2017-02-03 11:16:08 +08:00
Ehsan Akhgari
ee94032ecd
Bug 1336149 - Clean up the patches section in build-clang.py config files; r=froydnj
...
These config files don't need to declare patches for other platforms.
Therefore, this patch makes "patches" a simple array of patches to be
applied.
2017-02-02 20:21:02 -05:00
Ehsan Akhgari
e76ca01a99
Bug 1331957 - Part 11: Specify the path to the cross-compiler toolchain libtool for OS X static analysis builds; r=froydnj
2017-02-02 20:20:58 -05:00
Ehsan Akhgari
5eeda759b8
Bug 1331957 - Part 9: Upgrade cctools used for building clang on OS X for ld 264.3.102; r=froydnj
2017-02-02 20:20:56 -05:00
Ehsan Akhgari
b6761ec9b3
Bug 1331957 - Part 4: Allow specifying a custom assembler and pass the right flags to it when cross-compiling; r=froydnj
2017-02-02 20:20:49 -05:00
Nathan Froyd
a6bc6c6c50
Bug 1330082 - factor out a checkout_or_update function for build-clang.py; r=ehsan
...
It's just silly to have the same code repeated multiple times; this is
the sort of thing functions were invented for.
2017-01-20 12:54:56 -05:00
Ehsan Akhgari
b5474aa66c
Bug 1332022 - Part 1: Use the libc++ headers from the libc++ project being built; r=mystor
...
LLVM relies on new libc++ features that may not be present in
the system headers.
2017-01-18 23:04:10 -05:00
Ehsan Akhgari
717965ad0c
Bug 1329307 - Only package the clang-tidy binaries for the clang-tidy builds; r=mystor
2017-01-06 16:02:23 -05:00
Ehsan Akhgari
f6ed9f6b09
Bug 1329306 - Also clobber the CMakeFiles directory; r=mystor
...
This directory can include variables for the toolchain path names,
for example, which are different from run to run on Windows TaskCluster
workers.
2017-01-06 16:02:23 -05:00
Ehsan Akhgari
cba6da1fea
Bug 1328184 follow-up: Fix a typo
2017-01-05 00:51:47 -05:00
Ehsan Akhgari
62e8d9c7d8
Bug 1328199 - Part 1: Add support for cross-compiling clang for OS X on Linux; r=mystor
2017-01-04 16:50:08 -05:00
Ehsan Akhgari
c9d300d301
Bug 1328457 - Link clang statically against the MSVCRT on Windows; r=mystor
2017-01-04 12:25:57 -05:00
Ehsan Akhgari
2cefae9df6
Bug 1328184 - Part 2: Deal better with an existing build directory being found; r=mystor
...
Instead of relying on the assumption that a previous run of CMake was
using the same arguments, remove the CMake cache file and re-run it.
This way the script is robust no matter what kind of build directory
existed from before.
2017-01-03 16:59:56 -05:00
Ehsan Akhgari
f3ad7e62b2
Bug 1328184 - Part 1: Deal better with an existing source checkout; r=mystor
...
Since individual config files have different source repos declared,
it's better to deal with each individual source directory separately.
Also make sure to revert any of the existing changes in each directory
so that attempts to apply patches to the source directory or import
our static analysis checks into clang-tidy are guaranteed to always
succeed.
2017-01-03 16:59:56 -05:00
Ehsan Akhgari
2b5ff49d23
Bug 1324315 - Add support for building clang-tidy with Mozilla static analysis checks to build-clang.py; r=mystor
2016-12-28 20:47:49 -05:00
Ryan VanderMeulen
f9c05d1a2b
Bug 1319901 - Enforce Visual Studio 2015 Update 3 as the minimum supported compiler version for Windows builds. r=ted
2016-12-15 19:27:03 -05:00
Ting-Yu Chou
96002b3fba
Bug 1316545 part 7 - Install also the import library of clang.exe. r=ehsan
2016-12-09 17:02:06 +08:00
Ting-Yu Chou
df1d8087a5
Bug 1316545 part 2 - Enable LLVM_EXPORT_SYMBOLS_FOR_PLUGINS for linking clang plugin on windows. r=ehsan
...
MozReview-Commit-ID: 5p5oFAlQyri
2016-11-16 14:00:06 +08:00
Ting-Yu Chou
c1d5bad414
Bug 1316537 part 3 - Fix tar package path conversion for local build. r=Ehsan
...
MozReview-Commit-ID: 6btpeTxouB
2016-11-15 12:22:44 +08:00