Bryan Drewery
06a6cbdf5f
Add FREEBSD_CC_VERSION which will be used to define __FreeBSD_cc_version.
...
The WITH_SYSTEM_COMPILER build option will rely on this value to determine what
__FreeBSD_cc_version the source tree will produce. This value will be compared
against the /usr/bin/cc value to determine if a new compiler is needed.
Start with 1100002 which is 1 more than than the value we've had since
3.8.0 to ensure that all changes since then are present.
Reviewed by: dim
Sponsored by: EMC / Isilon Storage Division
2016-05-21 01:32:20 +00:00
Dimitry Andric
1b9b7a135c
Update llvm and clang to 3.8.0 release.
2016-03-03 22:50:52 +00:00
Dimitry Andric
09a17a1e45
Update llvm and clang to release_38 branch r261684.
2016-02-24 22:07:56 +00:00
Dimitry Andric
ce479d84f4
Update llvm and clang to release_38 branch r261369.
2016-02-21 16:23:44 +00:00
Dimitry Andric
a8bcc4d878
Update llvm, clang and lldb to release_38 branch r260756.
2016-02-13 15:58:51 +00:00
Dimitry Andric
21cf1fd41c
Update llvm, clang and lldb to release_38 branch r258968.
2016-01-27 22:48:52 +00:00
Dimitry Andric
8c24ff90c4
Update llvm and clang to release_38 branch r258549.
2016-01-22 21:50:08 +00:00
Dimitry Andric
42d8074a70
Update llvm/clang build glue.
2016-01-16 17:49:29 +00:00
Dimitry Andric
444ed5c5eb
Update llvm, clang and lldb to trunk r257626, and update build glue.
2016-01-14 17:42:46 +00:00
Dimitry Andric
db3ae65e86
Update llvm/clang svn revision.
2016-01-06 21:26:57 +00:00
Dimitry Andric
f3304b8db5
Add new pkuintrin.h intrinsics header.
2016-01-06 21:26:31 +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
802df53c82
Update various build glue files for the new llvm/clang version number.
2015-12-30 18:52:29 +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
Bryan Drewery
0383be9bae
META MODE: Fix rebuilding of lib/clang/include after clang-tblgen.host is
...
staged.
None of usr.bin/clang/clang-tblgen or its dependencies need
lib/clang/include, so there is no cyclic dependency here to worry about.
The issue came about because of workarounds to dependencies on clang
being optional.
Without this, the clang-tblgen called during the build would change
after it was staged for the host. This would cause lib/clang/include to
rebuild due to changed build commands.
Sponsored by: EMC / Isilon Storage Division
2015-12-01 05:18:59 +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
65dcb5bcb1
Merge ^/head r288197 through r288456.
2015-10-01 19:02:45 +00:00
Bryan Drewery
660d1f65bb
Add missing CLEANFILES.
...
MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division
2015-09-24 23:15:24 +00:00
Dimitry Andric
b1fa820d8b
Don't install Intrin.h, as this is an intrinsics header for Windows.
2015-09-20 21:39:55 +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
875ed54817
Update llvm/clang to r242221.
2015-08-12 18:31:11 +00:00
Dimitry Andric
3dac3a9bad
Update llvm/clang to r241361.
2015-07-05 22:34:42 +00:00
Dimitry Andric
cc38b6408e
Update llvm/clang build glue.
2015-06-23 18:46:29 +00:00
Dimitry Andric
76aeda8ad4
Merge ^/head r284188 through r284643.
2015-06-20 19:34:50 +00:00
Simon J. Gerraty
ccfb965433
Add META_MODE support.
...
Off by default, build behaves normally.
WITH_META_MODE we get auto objdir creation, the ability to
start build from anywhere in the tree.
Still need to add real targets under targets/ to build packages.
Differential Revision: D2796
Reviewed by: brooks imp
2015-06-13 19:20:56 +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
Simon J. Gerraty
44d314f704
dirdeps.mk now sets DEP_RELDIR
2015-06-08 23:35:17 +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
Simon J. Gerraty
98e0ffaefb
Merge sync of head
2015-05-27 01:19:58 +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
cef93a3d52
Merge llvm 3.6.0 final from ^/vendor/llvm/dist, merge clang 3.6.0 final
...
from ^/vendor/clang/dist, and resolve conflicts.
2015-02-25 18:50:24 +00:00
Dimitry Andric
b09980d164
Merge llvm 3.6.0rc4 from ^/vendor/llvm/dist, merge clang 3.6.0rc4 from
...
^/vendor/clang/dist, resolve conflicts, and update patches.
2015-02-19 22:20:19 +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
3de688eb16
Merge llvm 3.6.0rc2 from ^/vendor/llvm/dist, merge clang 3.6.0rc2 from
...
^/vendor/clang/dist, resolve conflicts, and cleanup patches.
2015-01-31 21:57:38 +00:00
Dimitry Andric
2c1a63f2b1
Instead of hardcoding /usr/lib, as in r277803, use ${LIBDIR} for the
...
private header location, since this Makefile (and everything under
lib/clang) is not processed for the 32-bit compat stages anyway.
Noticed by: bjk
2015-01-27 19:58:02 +00:00
Dimitry Andric
0616204eb2
Change the path to clang's private headers. Upstream has always stored
...
these in $LIBDIR/clang/$VERSION/include, instead of our previous custom
location in /usr/include/clang/$VERSION. This allows us to drop yet
another FreeBSD-specific patch.
2015-01-27 19:25:39 +00:00
Dimitry Andric
47125b4272
Add new internal clang headers, relating to AVX2 and ADX intrinsics.
2015-01-26 19:37:02 +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
Simon J. Gerraty
9268022b74
Merge from head@274682
2014-11-19 01:07:58 +00:00
Simon J. Gerraty
ee7b0571c2
Merge head from 7/28
2014-08-19 06:50:54 +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
Marcel Moolenaar
e7d939bda2
Remove ia64.
...
This includes:
o All directories named *ia64*
o All files named *ia64*
o All ia64-specific code guarded by __ia64__
o All ia64-specific makefile logic
o Mention of ia64 in comments and documentation
This excludes:
o Everything under contrib/
o Everything under crypto/
o sys/xen/interface
o sys/sys/elf_common.h
Discussed at: BSDcan
2014-07-07 00:27:09 +00:00
Simon J. Gerraty
e2b820a948
Avoid circular dependency
2014-05-16 14:54: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