summaryrefslogtreecommitdiff
path: root/external/bsd/llvm
AgeCommit message (Collapse)Author
2019-11-13Mark old LLVM instance as dead.joerg
2019-11-13Mark old LLVM instance as dead.joerg
2019-11-13Remove old LLVM build system.joerg
2019-10-13introduce some common variables for use in GCC warning disables:mrg
GCC_NO_FORMAT_TRUNCATION -Wno-format-truncation (GCC 7/8) GCC_NO_STRINGOP_TRUNCATION -Wno-stringop-truncation (GCC 8) GCC_NO_STRINGOP_OVERFLOW -Wno-stringop-overflow (GCC 8) GCC_NO_CAST_FUNCTION_TYPE -Wno-cast-function-type (GCC 8) use these to turn off warnings for most GCC-8 complaints. many of these are false positives, most of the real bugs are already commited, or are yet to come. we plan to introduce versions of (some?) of these that use the "-Wno-error=" form, which still displays the warnings but does not make it an error, and all of the above will be re-considered as either being "fix me" (warning still displayed) or "warning is wrong."
2019-10-04turn off various warnings for various things:mrg
- file has looks bogus maybe-uninitialized - llvm triggers an attribute violation: ScheduleDAGInstrs.cpp:1430:14: error: declaration of 'llvm::raw_ostream& llvm::operator<<(llvm::raw_ostream&, const llvm::ILPValue&)' with attribute 'noinline' follows inline declaration [-Werror=attributes] - ntp and pkg_install have obvious restrict violations, should be fixed but i'm avoiding patching upstream code in this pass - tftp has an array bounds that doesn't seem real issue - sysinst's partman.c has major problem with passing the same string as source and dest in snprintf, as a way to strcat with formatting which trip restrict violations. non trivial to fix so for now the warning is elided. - Xext's XEVI.c has similar issue as partman.c everyone and GCC 8 gets these warnings turned off for now: -Wno-format-truncation -Wno-stringop-overflow -Wno-stringop-truncation -Wno-cast-function-type as they trip a large amount of code. most of them should be investigated, but the few i looked at were not finding actually real bugs, vs instances of poor coding, so skipping for now.
2019-06-25move a .WAIT such that it helps all the target code below,mrg
not just radeon. should fix build issues reported: AArch64BaseInfo.h:297:12: fatal error: AArch64GenSystemOperands.inc: No such file or directory
2019-06-19skip the radeon bits for non x86 platforms. they build fine, butmrg
they're not linked into gallium, so avoid building them.
2019-06-07also fix up LLVM_HOST_TRIPLE.mrg
previously, this was attempting to emit x86 code on arm. thanks joerg@ for pointing me in the right place.
2019-04-10Extend LLVM link.mk to handle librt. Use it in Gallium.joerg
2019-04-04Use right definitions in src/tools/llvm.joerg
2019-04-03Add MKLLVMRT to build a subset of the LLVM stack for JIT purposes.joerg
Hook up AMDGPU backend for clang.
2019-04-03Revert MKLLVMCMDS changes.joerg
2019-03-20split MKLLVM into MKLLVM and MKLLVMCMDS, like MKGCC and MKGCCCMDS:mrg
- only build clang or clang-tblgen if MKLLVMCMDS != "no" - move HAVE_MESA_VER earlier so we can detect mesa 18 and enable MKLLVM on platforms that need it - move the clang commands and headers into llvmcmds group - only build the clang specific LLVM libraries if MKLLVMCMDS != "no" much of this work came from maya@'s github commit f90685c11d4460d3098fa35f48b58d1893e974e0, reworked for HAVE_MESA_VER and llvmcmds vs MKCLANG. build tested on several platforms and on amd64 and i386 with several different build options (clang build, gcc build, gcc build with llvm libs).
2019-03-12Correct copy-paste error. From joerg, thanks.maya
2019-03-10add most of the AMDGPU target makefiles and stuff that don'tmrg
touch the build. this comes from: commit f90685c11d4460d3098fa35f48b58d1893e974e0 Author: Maya Rashish <maya@NetBSD.org> Date: Sat Feb 23 09:46:14 2019 +0200 Separate MKCLANG from MKLLVM. build LLVM libraries as PIC. Add AMDGPU target, and adjust tools accordingly.
2019-03-03Make the includes target run the custom include targets.maya
This avoids the need for a .WAIT here, and later makes it possible for non-llvm things to not worry about llvm includes not being created yet (as includes runs before a lot of other things) suggested by mrg, build-tested by agc, thanks!
2019-01-01Revert installing llvm headers.maya
2018-12-31Install most of the llvm headers.maya
This is missing some generated files, llvm/include/IR/*.inc
2018-07-17Mark files not tagged with llvm-337282 as deadjoerg
2018-07-17Mark files not tagged with clang-337282 as deadjoerg
2018-07-17Update LLVM/Clang build system to r337282.joerg
2018-07-17Import LLVM r337282 from trunkjoerg
2018-07-17Import clang r337282 from trunkjoerg
2018-04-29Install ARM ACLE and NEON intrinsics headers on aarch64.jmcneill
2017-12-17Mark files not tagged with r319952 as dead.joerg
2017-12-17Be consistent with the revision numbers in the import-llvm command.joerg
2017-12-17Update for LLVM/Clang 5.0.1.joerg
2017-12-17Import clang r319952 from branches/release_50joerg
2017-12-17Import LLVM r319952 from branches/release_50joerg
2017-08-01Fix linking for the optional llvm-ar tool.joerg
2017-08-01Update LLVM build glue for 5.0RC1.joerg
2017-08-01Mark files not present in 309604 as dead.joerg
2017-08-01Import clang r309604 from branches/release_50joerg
2017-08-01Import LLVM r309604 from branches/release_50joerg
2017-08-01Mark files not present in 309604 as dead.joerg
2017-02-09Switch to the 4.0 release branch and update build glue for r294123.joerg
2017-02-09Mark files not in r294123 as dead.joerg
2017-02-09Import Clang 4.0RC1 r294123.joerg
2017-02-09Import LLVM 4.0RC1 r294123.joerg
2017-01-11Update LLVM build glue for pre-4.0.0 r291444.joerg
2017-01-11Add slightly cut down version of the final version of autoconf fromjoerg
before the removal, updated to match current cmake.
2017-01-11Mark files not tagged with llvm-291444 as dead.joerg
2017-01-11Mark files not tagged with clang-291444 as dead.joerg
2017-01-11Import Clang pre-4.0.0 r291444.joerg
2017-01-10Import LLVM pre-4.0.0 r291444.joerg
2016-09-03Update LLVM and Clang to 3.8.1+ r280599. The most relevant changes forjoerg
NetBSD are driver logic for PIE linkage and a number of SPARC fixes.
2016-09-03Import Clang 3.8.1+ r280599.joerg
2016-09-03Import LLVM 3.8.1+ r280599.joerg
2016-02-27Mark files without llvm-261930 symbol as dead.joerg
2016-02-27Import LLVM 3.8.0rc3 r261930.joerg