summaryrefslogtreecommitdiffstats
path: root/package/clang
Commit message (Collapse)AuthorAgeFilesLines
* package/clang: bump to version 7.0.1Valentin Korenblit2018-12-272-2/+2
| | | | | Signed-off-by: Valentin Korenblit <valentinkorenblit@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* package/clang: default linker to the cross GNUMatt Weber2018-10-211-1/+2
| | | | | | | | | | | | | | | | | | | | | By default clang is assuming the system linker /usr/bin/ld. This patchset updates the default to point at the cross toolchain ld. Previously clang had been used on target only, this update is required for host clang/clang++ to be used as a frontend for cross-compiling. Example build command: output/host/bin/clang++ -mcpu=cortex-a53 \ --sysroot /<abs path>/output/staging/ \ -B /<abs path>/output/host/opt/ext-toolchain/ \ foobar.cc -o foobar Cc: Valentin Korenblit <valentinkorenblit@gmail.com> Reviewed-by: Romain Naour <romain.naour@gmail.com> Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* package/clang: bump to version 7.0.0Valentin Korenblit2018-09-302-3/+3
| | | | | | | | | LICENSE.TXT hash changed due to the Copyright date update. Signed-off-by: Valentin Korenblit <valentinkorenblit@gmail.com> Reviewed-by: Romain Naour <romain.naour@smile.fr> Tested-by: Romain Naour <romain.naour@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package: clean up remaining references to $(HOST_DIR)/usrFerdinand van Aartsen2018-09-251-3/+3
| | | | | | Signed-off-by: Ferdinand van Aartsen <ferdinand@ombud.nl> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* package/clang: bump to version 6.0.1Romain Naour2018-07-272-2/+2
| | | | | | | | | http://releases.llvm.org/6.0.1/tools/clang/docs/ReleaseNotes.html Signed-off-by: Romain Naour <romain.naour@gmail.com> Cc: Joseph Kogut <joseph.kogut@gmail.com> Cc: Valentin Korenblit <valentinkorenblit@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* clang: bump to version 6.0.0Joseph Kogut2018-06-152-2/+2
| | | | | Signed-off-by: Joseph Kogut <joseph.kogut@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* package/clang: fix host-clang binariesValentin Korenblit2018-06-011-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | This patch fixes the following error when trying to execute clang compiler (host-variant): CommandLine Error: Option 'x86-use-base-pointer' registered more than once! LLVM ERROR: inconsistency in registered CommandLine options The same happens for the other binaries, such as clang-format: ./clang-format : CommandLine Error: Option 'help-list' registered more than once! LLVM ERROR: inconsistency in registered CommandLine options Clang binaries are tools, and given that DLLVM_LINK_LLVM_DYLIB is set, they are linked against libLLVM.so. The problem is that binaries are also linking against some LLVM static libraries, resulting in the error shown above. However, it is not the same case for libclang, which is also a tool but links only against libLLVM.so. To fix this problem, add LLVM_DYLIB_COMPONENTS=all. Signed-off-by: Valentin Korenblit <valentin.korenblit@smile.fr> Tested-by: Joseph Kogut <joseph.kogut@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/clang: bump to version 5.0.2Valentin Korenblit2018-05-172-2/+2
| | | | | | | | 5.0.2 is API and ABI compatible with 5.0.0 and 5.0.1 and includes mitigations for CVE-2017-5715 (Spectre Variant 2) for X86 and MIPS. Signed-off-by: Valentin Korenblit <valentin.korenblit@smile.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* package/clang: link libclang against libLLVM.soValentin Korenblit2018-05-111-0/+4
| | | | | | | | | | libclang.so is statically linking against all LLVM static libraries instead of linking dynamically against libLLVM.so. This patch fixes this problem by setting LLVM_LINK_LLVM_DYLIB to ON. Signed-off-by: Valentin Korenblit <valentin.korenblit@smile.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* package/clang: delete unnecessary files from targetValentin Korenblit2018-05-021-4/+19
| | | | | | | | | | | | | | | | | Delete: Binaries in: /usr/bin /usr/libexec Directories: /usr/lib/clang /usr/share/clang /usr/share/opt-viewer /usr/share/scan-build /usr/share/scan-view Manual: /usr/share/man/man1/scan-build.1 Signed-off-by: Valentin Korenblit <valentin.korenblit@smile.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* package/clang: new packageValentin Korenblit2018-04-283-0/+103
This patch provides Clang tools and libraries for the host and libclang for the target. host-clang is needed to build libclc, which is provided in a follow-up patch. We need libclang for the target because it is used by most of OpenCL implementations. A later patch in this series will enable Clover, the OpenCL implementation part of Mesa3D, which requires libclang. clang-tblgen must be copied to HOST_DIR as it is not installed by default but is needed for cross-compilation: http://lists.llvm.org/pipermail/cfe-dev/2015-June/043318.html Signed-off-by: Valentin Korenblit <valentin.korenblit@smile.fr> [Thomas: - Add Config.in comment about BR2_TOOLCHAIN_HAS_GCC_BUG_64735 - Minor reformatting/rewrapping of comments in .mk file] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
OpenPOWER on IntegriCloud