Dimitry Andric
b40b48b876
Merge llvm, clang, lld, lldb, compiler-rt and libc++ r308421, and update
...
build glue.
2017-07-19 19:41:41 +00:00
Dimitry Andric
c439438675
Merge llvm, clang, lld, lldb, compiler-rt and libc++ r307894, and update
...
build glue.
2017-07-13 21:58:45 +00:00
Dimitry Andric
a580b01494
Merge llvm, clang, lld, lldb, compiler-rt and libc++ r306956, and update
...
build glue.
2017-07-02 11:41:15 +00:00
Dimitry Andric
edd7eaddc8
Merge llvm, clang, lld, lldb, compiler-rt and libc++ r306325, and update
...
build glue.
2017-06-27 06:40:39 +00:00
Dimitry Andric
24d58133b7
Merge llvm, clang, lld, lldb, compiler-rt and libc++ r305575, and update
...
build glue.
2017-06-17 00:09:34 +00:00
Dimitry Andric
db17bf38c5
Merge llvm, clang, lld, lldb, compiler-rt and libc++ r305145, and update
...
build glue.
2017-06-10 19:17:14 +00:00
Dimitry Andric
6d97bb297c
Merge llvm, clang, lld, lldb, compiler-rt and libc++ r304659, and update
...
build glue.
2017-06-03 18:18:34 +00:00
Dimitry Andric
f9448bf33f
Merge llvm, clang, lld, lldb, compiler-rt and libc++ r304460, and update
...
build glue.
2017-06-01 22:47:02 +00:00
Dimitry Andric
89cb50c933
Merge llvm, clang, lld, lldb, compiler-rt and libc++ r304222, and update
...
build glue.
2017-05-30 19:24:09 +00:00
Dimitry Andric
302affcb04
Merge llvm, clang, lld, lldb, compiler-rt and libc++ r304149, and update
...
build glue.
2017-05-29 22:09:23 +00:00
Dimitry Andric
d8866befb8
Merge llvm, clang, lld, lldb, compiler-rt and libc++ r303571, and update
...
build glue.
2017-05-22 21:17:44 +00:00
Dimitry Andric
60ff8e32a5
Merge llvm, clang, lld, lldb, compiler-rt and libc++ r303291, and update
...
build glue.
2017-05-18 18:33:33 +00:00
Dimitry Andric
5517e702c0
Merge llvm, clang, lld, lldb, compiler-rt and libc++ r303197, and update
...
build glue.
2017-05-16 21:50:29 +00:00
Dimitry Andric
0f5676f432
Merge llvm, clang, lld, lldb, compiler-rt and libc++ r302418, and update
...
build glue.
2017-05-08 19:20:55 +00:00
Dimitry Andric
7d9e99b671
Regenerate llvm's config.h file.
2017-05-05 20:45:55 +00:00
Dimitry Andric
f37b6182a5
Merge llvm, clang, lld, lldb, compiler-rt and libc++ r302069, and update
...
build glue (preliminary, not all option combinations work yet).
2017-05-03 21:54:55 +00:00
Dimitry Andric
51690af2a4
Merge llvm, clang, lld, lldb, compiler-rt and libc++ r301441, and update
...
build glue.
2017-04-26 22:33:09 +00:00
Dimitry Andric
6bc11b1414
Merge llvm, clang, lld and lldb trunk r300890, and update build glue.
2017-04-20 21:48:54 +00:00
Dimitry Andric
5897d2f01b
Initial update of clang/llvm build glue, for building just a minimal
...
clang executable.
2017-04-17 11:21:42 +00:00
Dimitry Andric
f1a29dd344
Merge llvm, clang, lld and lldb release_40 branch r292009. Also update
...
build glue.
2017-01-14 22:12:13 +00:00
Dimitry Andric
09bfd04318
Initial updates to llvm/clang build glue.
2017-01-03 20:28:09 +00:00
Dimitry Andric
5b41a5b675
Update build glue for llvm/clang 3.9.1.
2016-11-26 01:13:53 +00:00
Dimitry Andric
986e05bc2a
Completely revamp the way llvm, clang and lldb are built.
...
* Bootstrap llvm-tblgen and clang-tblgen with a minimal llvm static
library, that has no other dependencies.
* Roll up all separate llvm libraries into one big static libllvm.
* Similar for all separate clang and lldb static libraries.
* For all these libraries, generate their .inc files only once.
* Link all llvm tools (including extra) against the big libllvm.
* Link clang and clang-format against the big libllvm and libclang.
* Link lldb against the big libllvm, libclang and liblldb.
N.B.: This is work in progress, some details may still be missing.
It also heavily depends on bsd.*.mk's support for SRCS and DPSRCS with
relative pathnames, which apparently does not always work as expected.
For building llvm, clang and lldb though, it seems to work just fine.
The main idea behind this restructuring is maintainability and build
peformance. The previous large number of very small libraries, each
with their own generated files and dependencies was slow to traverse
and hard to understand.
Possible future improvements:
* Only build certain targets, e.g. for most regular users having just
one target will be fine. This will shave off some build time.
* Building the big llvm, clang and lldb libraries as shared (private)
libraries.
* Adding other components from the LLVM project, such as lld.
2016-08-26 22:44:22 +00:00
Dimitry Andric
fe73cb29ea
Update generated llvm DataTypes.h header.
2016-08-23 19:57:37 +00:00
Dimitry Andric
7fff4413af
Update build glue for clang and the llvm/clang extras.
2016-08-19 17:55:34 +00:00
Dimitry Andric
42d8074a70
Update llvm/clang build glue.
2016-01-16 17:49:29 +00:00
Dimitry Andric
34cdd77646
First part of updating llvm/clang build glue: getting llvm-tblgen,
...
clang-tblgen and clang itself built.
2015-12-31 14:39:45 +00:00
Dimitry Andric
250e909a40
Update clang's Version.inc file, and regenerate various generated
...
configuration headers (these used to be generated by autoconf, but
upstream has deprecated autoconf in favor of CMake).
2015-12-30 18:23:01 +00:00
Dimitry Andric
9a4b31181f
Upgrade our copies of clang and llvm to 3.7.1 release. This is a
...
bugfix-only release, with no new features.
Please note that from 3.5.0 onwards, clang and llvm require C++11
support to build; see UPDATING for more information.
2015-12-25 21:39:45 +00:00
Dimitry Andric
e9ae01703c
Switch the default OpenMP runtime for clang to libomp (from the LLVM
...
project), as libgomp is not supported anyway. You can use the
devel/llvm-devel port to install a recent copy of the OpenMP runtime.
2015-10-18 17:18:19 +00:00
Dimitry Andric
b6c25e0ef3
Update llvm, clang and lldb to 3.7.0 release.
2015-09-06 19:58:48 +00:00
Dimitry Andric
cc38b6408e
Update llvm/clang build glue.
2015-06-23 18:46:29 +00:00
Dimitry Andric
97bc6c731e
Update Makefiles and other build glue for llvm/clang 3.7.0, as of trunk
...
r239412.
2015-06-10 19:12:52 +00:00
Dimitry Andric
ebeff3f9b4
Update Makefiles and other build glue for llvm/clang 3.7.0, as of trunk
...
r238337.
2015-05-30 15:39:49 +00:00
Dimitry Andric
ef6fa9e26d
Upgrade our copy of clang and llvm to 3.6.1 release.
...
This release contains the following cherry-picked revisions from
upstream trunk:
226124 226151 226164 226165 226166 226407 226408 226409 226652
226905 226983 227084 227087 227089 227208 227209 227210 227211
227212 227213 227214 227269 227430 227482 227503 227519 227574
227822 227986 227987 227988 227989 227990 228037 228038 228039
228040 228188 228189 228190 228273 228372 228373 228374 228403
228765 228848 228918 229223 229225 229226 229227 229228 229230
229234 229235 229236 229238 229239 229413 229507 229680 229750
229751 229752 229911 230146 230147 230235 230253 230255 230469
230500 230564 230603 230657 230742 230748 230956 231219 231237
231245 231259 231280 231451 231563 231601 231658 231659 231662
231984 231986 232046 232085 232142 232176 232179 232189 232382
232386 232389 232425 232438 232443 232675 232786 232797 232943
232957 233075 233080 233351 233353 233409 233410 233508 233584
233819 233904 234629 234636 234891 234975 234977 235524 235641
235662 235931 236099 236306 236307
Please note that from 3.5.0 onwards, clang and llvm require C++11
support to build; see UPDATING for more information.
2015-05-25 13:43:03 +00:00
Dimitry Andric
4104449570
Update generated include/llvm/Support/DataTypes.h.
2015-02-28 00:31:01 +00:00
Dimitry Andric
09de9530e4
Minor updates to llvm's pregenerated config headers.
2015-02-26 22:46:01 +00:00
Dimitry Andric
44f7b0dcc5
Merge llvm 3.6.0rc3 from ^/vendor/llvm/dist, merge clang 3.6.0rc3 from
...
^/vendor/clang/dist, resolve conflicts, and update patches README.
2015-02-14 14:13:00 +00:00
Dimitry Andric
1ae6788e51
Update llvm and clang library and binary Makefiles for 3.6.0 rc1.
2015-01-26 18:48:27 +00:00
Dimitry Andric
9cac79b378
Upgrade our copy of clang and llvm to 3.5.1 release. This is a bugfix
...
only release, no new features have been added.
Please note that this version requires C++11 support to build; see
UPDATING for more information.
Release notes for llvm and clang can be found here:
<http://llvm.org/releases/3.5.1/docs/ReleaseNotes.html >
<http://llvm.org/releases/3.5.1/tools/clang/docs/ReleaseNotes.html >
MFC after: 1 month
X-MFC-With: 276479
2015-01-18 14:14:47 +00:00
Dimitry Andric
47a80b9264
Add the AArch64 llvm backend to the build to allow for early testing and
...
to ease any rework of how clang is built to take arm64 in to account.
Submitted by: andrew
Reviewed by: andrew, emaste
Differential Revision: https://reviews.freebsd.org/D1446
2015-01-07 19:06:27 +00:00
Dimitry Andric
268335d002
Update llvm and clang include files.
2014-11-24 19:37:11 +00:00
Dimitry Andric
e60e641729
Stop telling people to directly report llvm or clang bugs upstream,
...
point them to the FreeBSD bug tracker instead, since we use our own
patches.
MFC after: 3 days
2014-08-13 21:38:29 +00:00
Dimitry Andric
85d60e68ac
Upgrade our copy of llvm/clang to 3.4.1 release. This release contains
...
mostly fixes, for the following upstream bugs:
http://llvm.org/PR16365 http://llvm.org/PR17473 http://llvm.org/PR18000
http://llvm.org/PR18068 http://llvm.org/PR18102 http://llvm.org/PR18165
http://llvm.org/PR18260 http://llvm.org/PR18290 http://llvm.org/PR18316
http://llvm.org/PR18460 http://llvm.org/PR18473 http://llvm.org/PR18515
http://llvm.org/PR18526 http://llvm.org/PR18600 http://llvm.org/PR18762
http://llvm.org/PR18773 http://llvm.org/PR18860 http://llvm.org/PR18994
http://llvm.org/PR19007 http://llvm.org/PR19010 http://llvm.org/PR19033
http://llvm.org/PR19059 http://llvm.org/PR19144 http://llvm.org/PR19326
MFC after: 2 weeks
2014-05-12 18:45:56 +00:00
Dimitry Andric
137470fbfb
Add Makefile glue to build the Sparc backend libraries and link them
...
into the clang executable.
2014-02-20 22:22:39 +00:00
Dimitry Andric
f785676f2a
Upgrade our copy of llvm/clang to 3.4 release. This version supports
...
all of the features in the current working draft of the upcoming C++
standard, provisionally named C++1y.
The code generator's performance is greatly increased, and the loop
auto-vectorizer is now enabled at -Os and -O2 in addition to -O3. The
PowerPC backend has made several major improvements to code generation
quality and compile time, and the X86, SPARC, ARM32, Aarch64 and SystemZ
backends have all seen major feature work.
Release notes for llvm and clang can be found here:
<http://llvm.org/releases/3.4/docs/ReleaseNotes.html >
<http://llvm.org/releases/3.4/tools/clang/docs/ReleaseNotes.html >
MFC after: 1 month
2014-02-16 19:44:07 +00:00
Dimitry Andric
840f097103
Enable llvm's integrated assembler for PowerPC, since it should now be
...
good enough for typical usage.
Requested by: rdivacky
MFC after: 1 week
2013-12-16 18:45:21 +00:00
Dimitry Andric
284c197886
Upgrade our copy of llvm/clang to 3.3 release.
...
Release notes are still in the works, these will follow soon.
MFC after: 1 month
2013-06-12 18:48:53 +00:00
Dimitry Andric
4b6b67b08e
Allow building clang on older FreeBSD releases, where log2() does not
...
exist yet. With this change, I have verified that building head on
8.1-RELEASE works.
Noticed by: Ryan Stone <rysto32@gmail.com>
2013-05-03 16:29:51 +00:00
Dimitry Andric
139f7f9bf5
Upgrade our copy of llvm/clang to trunk r178860, in preparation of the
...
upcoming 3.3 release (branching and freezing expected in a few weeks).
Preliminary release notes can be found at the usual location:
<http://llvm.org/docs/ReleaseNotes.html >
An MFC is planned once the actual 3.3 release is finished.
2013-04-12 17:57:40 +00:00