joerg
1fb1813c28
LLVM doesn't use term.h, so don't check for it when probing here either.
...
Increase robustness of checks for incremental builds by forcing a
dependency on the Makefile itself.
2020-02-21 15:00:44 +00:00
joerg
76c7fc5f6b
Update LLVM to 10.0.0git (01f3a59fb3e2542fce74c768718f594d0debd0da)
2019-11-11 22:44:56 +00:00
christos
bf7113376a
Create a new bsd.hostinit.mk file and put the build definitions for all host
...
programs there; make all Makefiles that use bsd.hostprog.mk include it.
Namely turn off MKREPRO and don't make lint, man pages, info files etc.
Remove the Makefile.inc files that contained these same settings, and
remove the settings from Makefile.host
2018-05-01 19:59:42 +00:00
joerg
501cd18a74
Sync tools build glue with LLVM pre-4.0.0.
2017-01-11 12:08:34 +00:00
joerg
f022b767bf
misc/48722: Use explicit HOST_SH in case the user insists on removing
...
permissions from the filesystem.
2015-03-05 10:22:25 +00:00
joerg
025900ca94
cleandir-llvm should not exist in the filesystem
2015-01-05 18:41:59 +00:00
matt
4783f46508
Pass HOST_CXX to llvm configure as CXX=${HOST_CXX:Q} since llvm wants c++
...
more than cc.
2014-01-16 09:00:55 +00:00
joerg
6c440ed37c
Update LLVM/Clang snapshot to r189662. This includes many improvements
...
to the new SLP vectorizer, fast codegen support for PPC and using
terminfo for the color sequences. In addition, add (optional) build
infrastructure for lld to allow easier testing. This is controlled by
MKLLD.
2013-09-02 14:34:55 +00:00
joerg
763d7bc79a
Work-around for python detection in LLVM's configure script
2013-02-20 14:13:31 +00:00
joerg
4a5bd22048
Replace NETBSDSRCDIR with .PARSEDIR based logic here. bsd.own.mk is
...
included too early in the tools build, but not including it fails for
standalaone builds.
2013-02-19 18:02:41 +00:00
joerg
6936a0d356
Explicitly include bsd.own.mk to allow building without tool make.
2013-02-18 20:30:16 +00:00
joerg
062cd24989
Fix version string returned by clang --version.
...
Integrate the in-tree config file generation with the cross-building
toolchain. Regenerate the files.
Keep version numbers all in one place.
2012-06-17 07:40:25 +00:00
joerg
c9196b81ce
Update LLVM/Clang snapshot to r158533. This brings in support for
...
stack-realignment in functions using alloca on x86. Move to
/usr/include/clang-3.2 to reflect the version.
2012-06-16 17:01:02 +00:00
joerg
2fab7c857c
Forcefully override the GNU make configure check. The build system in
...
NetBSD doesn't need it, so the configure check doesn't have to reject
a prestine NetBSD host.
2012-05-31 18:52:16 +00:00
joerg
ead2c0eee3
Update LLVM/Clang snapshot to r151411. This brings in Lambda support for
...
C++11 and a new literal format string check to catch variadic argument
functions.
2012-02-28 17:09:29 +00:00
joerg
a968e272e0
Partially revert last, keep assertions enabled (but with the correct
...
spelling of the option).
2011-07-18 19:11:28 +00:00
adam
b878485fea
Pass HOST_CC otherwise fails e.g. on Mac OS X; fixed typo in --disable-assertions
2011-07-18 18:37:15 +00:00
matt
464af93e1a
Fix cleandir-llvm (only remove config if it exists)
2011-07-07 05:41:59 +00:00
joerg
288bb96063
Hook up LLVM's MIPS target.
2011-07-05 19:37:10 +00:00
joerg
04d0160d70
Also enable toolchain build of ARM
2011-07-05 17:30:35 +00:00
joerg
b49cc14919
Hook up LLVM's SPARC target.
2011-07-05 14:15:56 +00:00
joerg
8597eac543
Hook up LLVM's PowerPC.
2011-07-04 22:37:58 +00:00
joerg
d14e81e4ad
Update to LLVM/Clang revision 131404. This includes the fix for asm labels
...
on builtins (broke longjmp usage) and a better cross-compiling support
in combination with -m32/-m64.
Update configuration to include /usr/include/clang-3.0 in the search
path.
2011-05-16 19:27:47 +00:00
joerg
97e154c924
--with-clang-resource-dir is no longer needed
2011-03-21 02:10:10 +00:00
joerg
73a4306de0
Update LLVM snapshot. This allows deriving the target from the binary
...
name, provides a proper CPP mode and fixes a number of compat issues
in the integrated assembler.
Build the toolchain compiler optimized and without assertions now.
2011-03-18 23:32:01 +00:00
joerg
48360965f3
Add LLVM and clang build system. It is enabled by MKLLVM=yes.
...
Upstream sources can be fetched by running "make checkout" in
src/external/bsd/llvm, they will be properly imported once the
integration and missing features are sorted out.
2011-02-06 01:13:42 +00:00