summaryrefslogtreecommitdiffstats
path: root/recipes-devtools/clang/libclc_git.bb
Commit message (Collapse)AuthorAgeFilesLines
* libclc: Add toolchain component pathsHEADmasterKhem Raj2 days1-4/+11
| | | | | | | cmake complains otherwise toolchain incomplete! Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libclc: Fix build errorsKhem Raj4 days1-12/+4
| | | | | | | Use LIBCLC_CUSTOM_LLVM_TOOLS_BINARY_DIR to define location of all llvm tools needed for build Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libclc: Define llvm tools needed during buildKhem Raj2023-03-121-0/+5
| | | | | | | | | It pokes at target llvm.cmake and gets the path LLVM_TOOLS_BINARY_DIR pointing to target sysroot however during cross builds it should be looking for tools for cross building in native sysroot Signed-off-by: Khem Raj <raj.khem@gmail.com>
* runtime: Enable PIC for static archives with clang runtime libsKhem Raj2023-02-061-0/+1
| | | | | | | This helps in compling shared libraries which may use e.g. static libc++.a during link Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang, llvm-rutime: Turn per target runtime off and use RelWithDebInfo for buildKhem Raj2022-09-121-0/+2
| | | | | | | | | | | clang can now build multiarch runtimes like debian's setup, but not all arches work equally well, e.g. arm32 bit can not handle arm and armhf case, so lets disable it for now. Use DCMAKE_BUILD_TYPE=RelWithDebInfo as it is needed to set DCMAKE_BUILD_TYPE in 15.x Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libclc: Export YOCTO_ALTERNATE_EXE_PATH and YOCTO_ALTERNATE_LIBDIRKhem Raj2022-04-101-0/+3
| | | | | | They need to be explicitly exported Signed-off-by: Khem Raj <raj.khem@gmail.com>
* meta-clang: Convert to new override syntaxSigned-off-by: Martin Jansa2021-08-031-2/+2
| | | | | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libclc: Drop using -cl-no-stdincKhem Raj2021-07-181-1/+0
| | | | | | This flag is no longer needed with latest clang-13 Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libclc: Pass -cl-no-stdinc to compiler and assemblerKhem Raj2021-06-081-0/+1
| | | | | | | | | | | | libclc uses clang CLC preprocessor on .ll files, llvm/clang-13 started including clc declarations by default (clang cf3ef15a6ec5e5b45c6c54e8fbe3769255e815ce), thus corrupting any .ll assembly files that are used by libclc. Inclusion of the default declarations can be turned off using a cmdline switch but that remains to be implemented in the libclc build system. manually adding '-cl-no-stdinc' should work as a workaround. Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libclc: Add dependency on spirv-llvm-translatorKhem Raj2021-03-011-3/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libclc: Remove C++ language level overrideZoltán Böszörményi2021-02-181-2/+0
| | | | Signed-off-by: Zoltán Böszörményi <zboszor@pr.hu>
* libclc: Depend on spirv-tools if LLVM version is 12 or newerZoltán Böszörményi2021-02-141-1/+3
| | | | Signed-off-by: Zoltán Böszörményi <zboszor@pr.hu>
* libclc: Add BBCLASSEXTEND = "native nativesdk"Zoltán Böszörményi2021-02-141-0/+2
| | | | Signed-off-by: Zoltán Böszörményi <zboszor@pr.hu>
* libclc: Don't override cmake specific compiler and linker optionsZoltán Böszörményi2021-02-141-3/+2
| | | | Signed-off-by: Zoltán Böszörményi <zboszor@pr.hu>
* libclc: Add recipeZoltán Böszörményi2021-02-131-0/+38
This is a pre-requisite to enable OpenCL in Mesa. Signed-off-by: Zoltán Böszörményi <zboszor@pr.hu>